Advertisement

problem with cbuilder and opengl

Started by October 19, 2003 03:54 AM
3 comments, last by Ruudje 21 years, 4 months ago
Hey all, following is my problem: When I compile and run my project inside the cbuilder ide everything works fine. If I then run it from the harddisk in the projectfolder it also works, BUT if I copy it all to a dirrefent location, it wont work anymore. I can launch the program, but get an error right away. If I click ok, my program continues, but the opengl scene is completely black, and stays that way. Upon exiting I get another one of those meaningful windows errors... Whats up with this??? CBuilder seems to be determined in stopping me from completing this project, as this is the xth weird thing to happen. its just BS! Anyone have any idea why this is happening? I know for sure the new location has all the data-files, and the program does not use any fixed paths, and even if it were, the old data-files would still be at that location, so it cant be because of something like that. My guess its something with opengl, as that shows up black, and the rest of the program works... Note though that black IS the clearcolor, so that works... -edit- The black is not the clearcolor When I tried setting the clearcolor to red, i still got the same errors, and still my scene was BLACK, not RED... [edited by - Ruudje on October 19, 2003 4:56:34 AM]
What is the error message. Unless we see what it is, we can''t really help.



Beer - the love catalyst
good ol'' homepage
Beer - the love catalystgood ol' homepage
Advertisement
ps - is it based off the borland code?
Beer - the love catalystgood ol' homepage
Nope, its partiately based on NeHe''s bascode, but mostly my own. But the error is a Windows error, NOT a compiler error. The program works, until I copy it to another drive...
Nope, its partiately based on NeHe''s bascode, but mostly my own. But the error is a Windows error, NOT a compiler error. The program works, until I copy it to another drive...

or more specifically:
my project is in
d:\borland\projects\3des\3des.exe

the data is in
d:\borland\projects\3des\data\
d:\borland\projects\3des\data\models\

if I copy the entire 3des folder to drive e, it will look like
e:\3des\3des.exe
etc...

But then it no-longer runs

This topic is closed to new replies.

Advertisement