Jump to content

  • Log In with Google      Sign In   
  • Create Account

NeHe samples building, but no exe found.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Naked Shooter   Members   -  Reputation: 152

Like
0Likes
Like

Posted 16 August 2012 - 08:43 AM

I'm going through the Beginning OpenGL Game Programming book, and I downloaded the samples from the NeHe website because I'm missing the CD.

I'm using VS. I tried to create a new solution, import the vc++ projects and build them. The build works, but the apps cannot run because there is no .exe generated in the Debug folder. Does anyone know what might be causing this problem?


Edit: Sorry, never mind, I should have looked at build output more carefully. It gave me the following warning:

warning MSB8012: TargetPath(C:\Users\...\Visual Studio 2010\Projects\OpenGLSampleApp\Debug\simple.exe) does not match the Linker's OutputFile property value (D:\Tutorials\Beginning OpenGL Game Programming code\OpenGL 3.0\chapter_1\simple\simple.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).


Setting the Output File value in Linker settings to:

$(SolutionDir)$(Configuration)\$(ProjectName)$(TargetExt)

Seems to work. I wonder if this solution is ok/good practice?

Edited by Naked Shooter, 16 August 2012 - 09:34 AM.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS