Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Why won't VS2015 let me compile?

Why won't VS2015 let me compile?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
15 Posts 7 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    charlieg
    wrote on last edited by
    #1

    This should likely be in a lounge rant, but it is technical. I have a project on a system that I need to compile to fix an issue. The issue is trivial. But when I go to Build...all it gives me is "Run Code Analysis on Solution". :doh: I've reset permissions on the folder, I have made sure 2015 is up to date, but 2015 won't give me the prompts. What am I missing?

    Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

    V Greg UtasG L C 4 Replies Last reply
    0
    • C charlieg

      This should likely be in a lounge rant, but it is technical. I have a project on a system that I need to compile to fix an issue. The issue is trivial. But when I go to Build...all it gives me is "Run Code Analysis on Solution". :doh: I've reset permissions on the folder, I have made sure 2015 is up to date, but 2015 won't give me the prompts. What am I missing?

      Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      Did you try to Rebuild All (or how is it exactly called in VS2015? - I cannot recall ...)?

      C M 2 Replies Last reply
      0
      • V Victor Nijegorodov

        Did you try to Rebuild All (or how is it exactly called in VS2015? - I cannot recall ...)?

        C Offline
        C Offline
        charlieg
        wrote on last edited by
        #3

        It's not in the menu. This is maddening

        Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

        V 1 Reply Last reply
        0
        • C charlieg

          It's not in the menu. This is maddening

          Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

          V Offline
          V Offline
          Victor Nijegorodov
          wrote on last edited by
          #4

          How about: Rebuild Rebuild solution in the menu "Build"? Or just "Clear solution"?

          1 Reply Last reply
          0
          • C charlieg

            This should likely be in a lounge rant, but it is technical. I have a project on a system that I need to compile to fix an issue. The issue is trivial. But when I go to Build...all it gives me is "Run Code Analysis on Solution". :doh: I've reset permissions on the folder, I have made sure 2015 is up to date, but 2015 won't give me the prompts. What am I missing?

            Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

            Greg UtasG Offline
            Greg UtasG Offline
            Greg Utas
            wrote on last edited by
            #5

            Check that your .vcxproj files are there. If they are, check the Properties of your project(s) to see if their dependencies are correct and if they generally make sense.

            Robust Services Core | Software Techniques for Lemmings | Articles
            The fox knows many things, but the hedgehog knows one big thing.

            <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
            <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

            C 1 Reply Last reply
            0
            • C charlieg

              This should likely be in a lounge rant, but it is technical. I have a project on a system that I need to compile to fix an issue. The issue is trivial. But when I go to Build...all it gives me is "Run Code Analysis on Solution". :doh: I've reset permissions on the folder, I have made sure 2015 is up to date, but 2015 won't give me the prompts. What am I missing?

              Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              charlieg wrote:

              What am I missing?

              Presidents shouldn't be compiling software. You need a software developer. ;P

              C 1 Reply Last reply
              0
              • L Lost User

                charlieg wrote:

                What am I missing?

                Presidents shouldn't be compiling software. You need a software developer. ;P

                C Offline
                C Offline
                charlieg
                wrote on last edited by
                #7

                lol, true. I'm also the treasurer. It's oh dark thirty here and thanks for the laugh.

                Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                1 Reply Last reply
                0
                • C charlieg

                  This should likely be in a lounge rant, but it is technical. I have a project on a system that I need to compile to fix an issue. The issue is trivial. But when I go to Build...all it gives me is "Run Code Analysis on Solution". :doh: I've reset permissions on the folder, I have made sure 2015 is up to date, but 2015 won't give me the prompts. What am I missing?

                  Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                  C Offline
                  C Offline
                  charlieg
                  wrote on last edited by
                  #8

                  This is what is in the Build tab: image-2022-04-22-062801040 — ImgBB[^] This code lives on a VM that was migrated into a zero trust cloud. I can go back to the original VM, and 2015 there has the full build menu.

                  Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                  Richard Andrew x64R 1 Reply Last reply
                  0
                  • C charlieg

                    This is what is in the Build tab: image-2022-04-22-062801040 — ImgBB[^] This code lives on a VM that was migrated into a zero trust cloud. I can go back to the original VM, and 2015 there has the full build menu.

                    Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                    Richard Andrew x64R Online
                    Richard Andrew x64R Online
                    Richard Andrew x64
                    wrote on last edited by
                    #9

                    As I recall, Visual Studio has never supported working with solutions that are located on network/remote drives. Are you working with Visual Studio on the virtual machine where the solution resides?

                    The difficult we do right away... ...the impossible takes slightly longer.

                    C 1 Reply Last reply
                    0
                    • Greg UtasG Greg Utas

                      Check that your .vcxproj files are there. If they are, check the Properties of your project(s) to see if their dependencies are correct and if they generally make sense.

                      Robust Services Core | Software Techniques for Lemmings | Articles
                      The fox knows many things, but the hedgehog knows one big thing.

                      C Offline
                      C Offline
                      charlieg
                      wrote on last edited by
                      #10

                      Weird, never figured it out. Pulled the project from a zip file, and it built. Appreciate all the suggestions.

                      Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                      1 Reply Last reply
                      0
                      • Richard Andrew x64R Richard Andrew x64

                        As I recall, Visual Studio has never supported working with solutions that are located on network/remote drives. Are you working with Visual Studio on the virtual machine where the solution resides?

                        The difficult we do right away... ...the impossible takes slightly longer.

                        C Offline
                        C Offline
                        charlieg
                        wrote on last edited by
                        #11

                        No, I just RDP into it. Nothing too fancy.

                        Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                        1 Reply Last reply
                        0
                        • V Victor Nijegorodov

                          Did you try to Rebuild All (or how is it exactly called in VS2015? - I cannot recall ...)?

                          M Offline
                          M Offline
                          Masudul Herry
                          wrote on last edited by
                          #12

                          FFmpeg /* * Blackmagic DeckLink output * Copyright (c) 2013-2014 Ramiro Polla * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include using std::atomic; /* Include internal.h first to avoid conflict between winsock.h (used by * DeckLink headers) and winsock2.h (used by libavformat) in MSVC++ builds */ extern "C" { #include "libavformat/internal.h" } #include extern "C" { #include "libavformat/avformat.h" #include "libavutil/internal.h" #include "libavutil/imgutils.h" #include "avdevice.h" } #include "decklink_common.h" #include "decklink_enc.h" #if CONFIG_LIBKLVANC #include "libklvanc/vanc.h" #include "libklvanc/vanc-lines.h" #include "libklvanc/pixels.h" #endif /* DeckLink callback class declaration */ class decklink_frame : public IDeckLinkVideoFrame { public: decklink_frame(struct decklink_ctx *ctx, AVFrame *avframe, AVCodecID codec_id, int height, int width) : _ctx(ctx), _avframe(avframe), _avpacket(NULL), _codec_id(codec_id), _ancillary(NULL), _height(height), _width(width), _refs(1) { } decklink_frame(struct decklink_ctx *ctx, AVPacket *avpacket, AVCodecID codec_id, int height, int width) : _ctx(ctx), _avframe(NULL), _avpacket(avpacket), _codec_id(codec_id), _ancillary(NULL), _height(height), _width(width), _refs(1) { } virtual long STDMETHODCALLTYPE GetWidth (void) { return _width; } virtual long STDMETHODCALLTYPE GetHeight (void) { return _height; } virtual long STDMETHODCALLTYPE GetRowBytes (void) { if (_codec_id == AV_CODEC_ID_WRAPPED_AVFRAME) return _avframe->linesize[0] < 0 ? -_avframe->linesize[0] : _avframe->linesize[0]; else return ((GetWidth() + 47) / 48) * 128; }

                          V 1 Reply Last reply
                          0
                          • M Masudul Herry

                            FFmpeg /* * Blackmagic DeckLink output * Copyright (c) 2013-2014 Ramiro Polla * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include using std::atomic; /* Include internal.h first to avoid conflict between winsock.h (used by * DeckLink headers) and winsock2.h (used by libavformat) in MSVC++ builds */ extern "C" { #include "libavformat/internal.h" } #include extern "C" { #include "libavformat/avformat.h" #include "libavutil/internal.h" #include "libavutil/imgutils.h" #include "avdevice.h" } #include "decklink_common.h" #include "decklink_enc.h" #if CONFIG_LIBKLVANC #include "libklvanc/vanc.h" #include "libklvanc/vanc-lines.h" #include "libklvanc/pixels.h" #endif /* DeckLink callback class declaration */ class decklink_frame : public IDeckLinkVideoFrame { public: decklink_frame(struct decklink_ctx *ctx, AVFrame *avframe, AVCodecID codec_id, int height, int width) : _ctx(ctx), _avframe(avframe), _avpacket(NULL), _codec_id(codec_id), _ancillary(NULL), _height(height), _width(width), _refs(1) { } decklink_frame(struct decklink_ctx *ctx, AVPacket *avpacket, AVCodecID codec_id, int height, int width) : _ctx(ctx), _avframe(NULL), _avpacket(avpacket), _codec_id(codec_id), _ancillary(NULL), _height(height), _width(width), _refs(1) { } virtual long STDMETHODCALLTYPE GetWidth (void) { return _width; } virtual long STDMETHODCALLTYPE GetHeight (void) { return _height; } virtual long STDMETHODCALLTYPE GetRowBytes (void) { if (_codec_id == AV_CODEC_ID_WRAPPED_AVFRAME) return _avframe->linesize[0] < 0 ? -_avframe->linesize[0] : _avframe->linesize[0]; else return ((GetWidth() + 47) / 48) * 128; }

                            V Offline
                            V Offline
                            Victor Nijegorodov
                            wrote on last edited by
                            #13

                            What is it???? :zzz: :confused: :zzz: :confused:

                            Richard DeemingR L 2 Replies Last reply
                            0
                            • V Victor Nijegorodov

                              What is it???? :zzz: :confused: :zzz: :confused:

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              Victor Nijegorodov wrote:

                              What is it?

                              Spam.

                              1 Reply Last reply
                              0
                              • V Victor Nijegorodov

                                What is it???? :zzz: :confused: :zzz: :confused:

                                Richard DeemingR Offline
                                Richard DeemingR Offline
                                Richard Deeming
                                wrote on last edited by
                                #15

                                Rep-point fluffing to get his spam link shown in his profile. Message and user reported.


                                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups