• Advertisement
Sign in to follow this  

NeHe samples building, but no exe found.

This topic is 1986 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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).[/quote]

Setting the Output File value in Linker settings to:
$(SolutionDir)$(Configuration)\$(ProjectName)$(TargetExt)[/quote]
Seems to work. I wonder if this solution is ok/good practice? Edited by Naked Shooter

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement