Lesson 1
I''ve written out the code exactly as it says in the lesson, but upon compiling, it comes up with "Fatal: Unable to open file ''C0X32.obj''".
I''m using the Borland command line compiler, and that''s the only error. I specify the Lib directory (where c0x32.obj is) so that''s not the problem.
Also, when I try to compile the same program using Turbo C++ 4.5, I get these error messages in gl.h: "Declaration syntax error" and "Variable WINGDIAPI initialized more than once".
Any help is appreciated and needed.
Try specifying full path to the .obj file on your command line, along with the .cpp file you''re trying to compile.
---visit #directxdev on afternet <- not just for directx, despite the name
Now it comes up with "Error: Unresolved external ''_main'' referenced from D:\Borland\BCC55\LIB\C0X32.OBJ" It seems to be alternating between this message and the first one I posted. Might there be something wrong with the .obj file? I could redownload it...
C0X32.obj is for console apps with a main() function. C0W32.obj is for windows apps with a WinMain function.
Firebird Entertainment
Firebird Entertainment
“[The clergy] believe that any portion of power confided to me, will be exerted in opposition to their schemes. And they believe rightly: for I have sworn upon the altar of God, eternal hostility against every form of tyranny over the mind of man” - Thomas Jefferson
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement