
!!!!HELP!!!! ( VC 7 .net )
I''ve encountered problems while compiling source codes from the site. When i use NEHE projects everything is OK but when i create new project ( visual c++ project --> managed c++ empty project ) and copy the source code in it there are errors while linking ( missing glaux function definitions ?? ). Could anyone give me the proper procedure to create that project ( maybe some options should be changed but as far as i search nothing differs between that 2 projects ). Thanx

o O l_ahriman O o
The problem is that you haven''t linked the .lib-s of the .dll-s those functions are defined in, this will cause an unresolved external symbol error.
Link the libs this way:
#pragma comment(lib,"somelib.lib")
or link them using the project settings dialog. (you will have to link opengl32.lib glaux.lib in your case and probably glu32.lib and glut32.lib).
Link the libs this way:
#pragma comment(lib,"somelib.lib")
or link them using the project settings dialog. (you will have to link opengl32.lib glaux.lib in your case and probably glu32.lib and glut32.lib).
*sigh* how come noone reads the first part of Lesson 1?
The Love Of Trees
Why are you making a managed C++ project?
--
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]
--
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement