Click here to Skip to main content
15,895,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i've a big problem.
how can i load a texture opengl in "mfc-class"?
when i use "auxDIBImageLoad" function,"unresolved external error" occurs.
i really need it.
please help me.
thanks a lot
Posted

Did you link with the required OpenGL libraries. Have a look at the following MSDN sample MFCOGL a Generic MFC OpenGL Code Sample[^].
 
Share this answer
 
Dear mahdi,
you should use glaux.lib as additional include libraries to get this function.
 
Share this answer
 
Comments
[no name] 25-Oct-11 3:58am    
my dear
i did this.i used glaux.lib but din't work.
although thank you
i have to add this code:

#pragma comment(lib,"glaux.lib")
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900