Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

BuddyLee

Cannot Execute Program

This topic is 5591 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

Hello , I have just started working on OpenGL and have just finished reading through Nehe''s first tutorial and aafter going through all the code and cutting and pasting it in, When I try to build the program and execute it I get the error Cannot Execute Program. Anyone have any idea as to what im doing wrong?? If you need any more information about my system specs or the code please let me know. I even tried to compile the Tutorial 1 downloaded code because I figured maybe I messed up the cutting and pasting. But it also came up with the same message cannot execute program. Thanks, BuddyLee

Share this post


Link to post
Share on other sites
Advertisement
For those of you having the same problem I was. Copy all the code. Open a new win 32 application. Paste in the code. Go into the link tab under project -> settings and look in the Project Options look for /subsytem:console and change it to /subsystem:windows

Share this post


Link to post
Share on other sites
Have you made sure you put the included libraries in the link or build tab (can''t remember which)

If not you could just downoad the code and try that... it would tell you if you have included the header files in a place the compiler can find or not.

I am a fish...... I am out of the water .... Damn

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!