Unable to link to opengl libraries? DOS / MSVC
Posted
by Mark
on Stack Overflow
See other posts from Stack Overflow
or by Mark
Published on 2010-05-16T05:52:39Z
Indexed on
2010/05/16
6:00 UTC
Read the original article
Hit count: 201
Is there something wrong with this link.exe command line? OpenGL32.lib and Glu32.lib are found at both of the LIBPATH directories. Is it possible the libraries are somehow incompatible? Is there a way to have the link.exe say that instead of unresolved external symbol? Googling shows that this error usually means the libraries are not found, but they are there.
E:\mvs90\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:no /DEBUG /pdb:None /LIBPATH:E:\code\python\python\py26\libs /LIBPATH:E:\code\python\python\py26\PCbuild
opengl32.lib glu32.lib
/EXPORT:init_rabbyt build\temp.win32-2.6-pydebug\Debug\rabbyt/rabbyt._rabbyt.obj
/OUT:build\lib.win32-2.6-pydebug\rabbyt\_rabbyt_d.pyd
/IMPLIB:build\temp.win32-2.6-pydebug\Debug\rabbyt\_rabbyt_d.lib
/MANIFESTFILE:build\temp.win32-2.6-pydebug\Debug\rabbyt\_rabbyt_d.pyd.manifest
Creating library build\temp.win32-2.6-pydebug\Debug\rabbyt\_rabbyt_d.lib and
object build\temp.win32-2.6-pydebug\Debug\rabbyt\_rabbyt_d.exp
rabbyt._rabbyt.obj : error LNK2019: unresolved external symbol __imp__glOrtho re
ferenced in function ___pyx_f_6rabbyt_7_rabbyt_set_viewport
Directory of E:\code\python\python\py26\libs
09/27/2007 02:20 PM 12,672 GlU32.Lib
09/27/2007 02:20 PM 76,924 OpenGL32.Lib
© Stack Overflow or respective owner