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. Using Microsoft Visual C++ 2005EE Compile Error

Using Microsoft Visual C++ 2005EE Compile Error

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpasp-netdebuggingarchitecture
3 Posts 2 Posters 0 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.
  • B Offline
    B Offline
    Blekk
    wrote on last edited by
    #1

    Hi, I used to code in C++ but stopped for about a year, anyway I am back but have ran into a problem on my first project: Any solution I now create doesn't work, when I try and build it it builds fine, but when I try and run it, I get the error that: "Unable to start program "C:\\...projects\test\debug\test.exe". The system could not find the file specified" I realise this means that it hasn't created the debug information, but it hasn't created the release information either. Also I can Build Solution, and it says it is fine, but the Compile option is greyed-out and I don't know what to do. Is there an option in MVC++EE when you can turn off compiling it until you do something? Any suggestions? Thanks, Any reply is appreciated. -- modified at 8:47 Monday 11th June, 2007

    C 1 Reply Last reply
    0
    • B Blekk

      Hi, I used to code in C++ but stopped for about a year, anyway I am back but have ran into a problem on my first project: Any solution I now create doesn't work, when I try and build it it builds fine, but when I try and run it, I get the error that: "Unable to start program "C:\\...projects\test\debug\test.exe". The system could not find the file specified" I realise this means that it hasn't created the debug information, but it hasn't created the release information either. Also I can Build Solution, and it says it is fine, but the Compile option is greyed-out and I don't know what to do. Is there an option in MVC++EE when you can turn off compiling it until you do something? Any suggestions? Thanks, Any reply is appreciated. -- modified at 8:47 Monday 11th June, 2007

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Blekk wrote:

      I realise this means that it hasn't created the debug information

      No, it means it can't create the program - your compile is failing due to some other error.

      Blekk wrote:

      Is there an option in MVC++EE when you can turn off compiling it until you do something?

      No, there shouldn't be. If it doesn't show the option, it probably doesn't think the option is valid, for some reason.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      B 1 Reply Last reply
      0
      • C Christian Graus

        Blekk wrote:

        I realise this means that it hasn't created the debug information

        No, it means it can't create the program - your compile is failing due to some other error.

        Blekk wrote:

        Is there an option in MVC++EE when you can turn off compiling it until you do something?

        No, there shouldn't be. If it doesn't show the option, it probably doesn't think the option is valid, for some reason.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        B Offline
        B Offline
        Blekk
        wrote on last edited by
        #3

        Ok thanks but I even just tried compiling this in a new solution and it didn't work: #include using namespace std; int main() { cout<<"This should work..."; return 0; } Any ideas?

        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