Compiler problem

Hi guys!
I am trying to compile in microsoft visual c++ 2008 in a windows application,
but i cannot compile anything. It always says unable to start program,
the system cannot find the file specified.
Pls help me!
.
Have you tried to re-install Visual Studio 2008?
If that does not work can you be more specif about the problem.
Try <Ctrl+Alt+F7>. Also write more about the errror.
It always has 1 error and it says:

Unable to start program 'C:\users\........'
the system cannot find the file specified


I also tried the ctrl alt f7 nothing changed

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Last edited on
Is the "Unable to start program 'C:\users\........'" when you try to compile, or when you try to compile and run? C:\users\... suggests the latter.

There should also be a build log (BuildLog.htm) in the intermediate directory. Or is that not getting created? If it's there, it might give some more clues.

Andy
Try creating a new project and copying the code files over.
When i create a new premade project like the windows app the window opens and the project compiles and runs. If i make a project of mine, or open a codeblocks project, it shows the error.
Tried with 2010 and 2008 same thing. It happens even when i try to compile and when i try to compile and run.
I don't quite follow your last post:

-> So it's OK if you use the wizard to create a new, blank project?

-> What do you mean by make a project? Normally you create a project using the wizard.

-> I wasn't aware that Visual Studio 2008 knew how to load a codeblocks project. Or can codeblock save a vcproj file?

If you can create a new, blank project successfully, the Xander314's suggestion could save you a lot of time.
Topic archived. No new replies allowed.