i686 ld couldn't resolve wglCreateContext from libopengl32.a on x86_64 system
sorryforaskingthis.bk.ru via cygwin
cygwin@cygwin.com
Thu Mar 2 22:17:00 GMT 2017
I've done fresh install of cygwin with setup-x86.exe @ Win10 LTSB 2015 x64.
I've installed gcc-core and w32api-runtime packages.
opengl32.dll in System32 folder is 32-bit dll
With x86_64 install of cygwin ld able to find reference to wglCreateContext, with x86 - not.
$ gcc -o /tmp/conftest.exe /tmp/conftest.c -lopengl32
/tmp/ccec30zH.o:conftest.c:(.text+0xc): undefined reference to `wglCreateContext'
conftest.c:
#ifdef __cplusplus
extern "C"
#endif
char wglCreateContext ();
int
main ()
{
return wglCreateContext ();
;
return 0;
} ТÒÐÐ¥&ö&ÆVÒ&W÷'G3¢GG¢òö7wvâæ6öÒ÷&ö&ÆV×2æFÖÀФd¢GG¢òö7wvâæ6öÒöfðФFö7VÖVçFFöã¢GG¢òö7wvâæ6öÒöFö72æFÖÀÐ¥Vç7V'67&&Ræfó¢GG¢òö7wvâæ6öÒöÖÂò7Vç7V'67&&R×6×ÆPÐ Ð
More information about the Cygwin
mailing list