PDA

View Full Version : about linking opengl32 lib



xiaotiansheng
02-05-2006, 08:23 AM
When I transfer my 3-D animation program to opengl, I found a strange phenomenon. The program slowing down obviously when I link with the opengl32.lib, even the only one function I linked has not been called in program. Why is it?

dorbie
02-06-2006, 05:57 PM
How do you manage to compile without linking?

Unless you're doing something fancy like loaddll you need to link, so some conflict there might be at the heart of your problem.

xiaotiansheng
02-07-2006, 07:15 AM
Thank you.
I have found that if you only link opengl32.lib in your program but not use it will also slow down the efficiency of GDI function.