Advertisement

release not rendering???

Started by June 22, 2003 11:54 AM
6 comments, last by galgo3 21 years, 8 months ago
Hi there, hope someone can solve my problem, when I compile my code in release mode I dont get any graphics rendered?? No errors, just no graphics... TIA
something is wrong with your code.

pretty vague eh? well so is your question.

-eldee
;another space monkey;
[ Forced Evolution Studios ]

::evolve::

Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

-eldee;another space monkey;[ Forced Evolution Studios ]
Advertisement
not trying to be vague,
Im using opengl, MSVC++, my libraries are in place
and linked. When I run the debug version it works fine,
in release I get no graphics.

Is there something that I could try to hunt down the problem?

What difference between debug and release could cause this?

Just looking for some guidance...

TIA
Are you using any macros that are only enabled during debug mode? (ie assert) I learned the hard way that if you put program-critical functions inside of these macros, they dissapear in release build - causing the program the fail horribly.
Make sure your data-files are in the release-folder as well! (i.e. textures etc)
The working folder for Debug and Release is the same, the project directory, so ignore that. Try this link:

http://users.stargate.net/~newcomer/debug_release.htm


Why you shouldn't use iostream.h - ever! | A Good free online C++ book


[edited by - siaspete on June 24, 2003 6:02:27 AM]
Advertisement
what do you mean, the same?? when I make a game or demo, I put my files in e.g. /data, meaning: debug/data, since the .exe will be put in /debug, so when I comile as release, I have to copy my data-folder to /release, since the .exe will then be placed in the /release.
If you''re launching your program from Visual Studio (by pressing F5 or whatever) the working folder isn''t the Debug or Release folder, it''s the project folder.

If you''re just double clicking on your exe, then of course it is the same directory as the exe.


Why you shouldn''t use iostream.h - ever! | A Good free online C++ book

This topic is closed to new replies.

Advertisement