Jump to content
  • Advertisement
Sign in to follow this  

microsoft c++ compiler

This topic is 4718 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 trying to compile NeHe's lesson 7 to get my feet wet with Microsoft's free C++ compiler. I got the Platform SDK last night, so I think I theoretically have what I need installed. I tried the following command: cl Lesson7.cpp opengl32.lib glu32.lib kernel32.lib user32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib It produced the following errors: Lesson7.obj : error LNK2019: unresolved external symbol _auxDIBImageLoadA@4 refe renced in function "struct _AUX_RGBImageRec * __cdecl LoadBMP(char *)" (?LoadBMP @@YAPAU_AUX_RGBImageRec@@PAD@Z) Lesson7.obj : error LNK2019: unresolved external symbol __imp__SetPixelFormat@12 referenced in function "int __cdecl CreateGLWindow(char *,int,int,int,bool)" (? CreateGLWindow@@YAHPADHHH_N@Z) Lesson7.obj : error LNK2019: unresolved external symbol __imp__ChoosePixelFormat @8 referenced in function "int __cdecl CreateGLWindow(char *,int,int,int,bool)" (?CreateGLWindow@@YAHPADHHH_N@Z) Lesson7.obj : error LNK2019: unresolved external symbol __imp__SwapBuffers@4 ref erenced in function _WinMain@16 Lesson7.exe : fatal error LNK1120: 4 unresolved externals I thought the problem might be that I wasn't compiling glaux.lib in there, but when I do that, I get a ton more errors. Any ideas? Mike C. http://www.coolgroups.com/zoomer/

Share this post


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

  • 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!