Lubuntu MinGW未定义参考文献[缺少GL库?]

时间:2016-06-29 19:33:53

标签: c++ mingw

尝试在Lubuntu上的Code :: Blocks中编译MinGW上的第三方库,尽管我绝对尽最大努力消除我已经花费了多年时间的未定义引用,但没有什么能解决问题:

undefined reference to `_sfwgl_ext_EXT_swap_control
undefined reference to `_sfwgl_ext_ARB_pixel_format
undefined reference to `_sf_ptrc_wglChoosePixelFormatARB
undefined reference to `_sf_ptrc_wglGetPixelFormatAttribivARB
undefined reference to `_sfwgl_ext_ARB_multisample
undefined reference to `_sf_ptrc_wglGetPixelFormatAttribivARB
undefined reference to `_sfwgl_ext_ARB_pixel_format
undefined reference to `_sfwgl_ext_ARB_create_context
undefined reference to `_sfwgl_ext_ARB_create_context_profile
undefined reference to `_sf_ptrc_wglCreateContextAttribsARB
undefined reference to `_sf_ptrc_wglCreateContextAttribsARB
undefined reference to `_sf_ptrc_wglGetPixelFormatAttribivARB
undefined reference to `_sfwgl_ext_ARB_multisample
undefined reference to `_sf_ptrc_wglGetPixelFormatAttribivARB
undefined reference to `_sfwgl_LoadFunctions

据我所知,它可能是某种缺失的GL库或图形库,但是我已经将opengl32,gdi32,glu32,glut32和gle添加到链接库中,该库已经留下了以下未定义的引用不变。

如何修复上述错误?

[如果它是一个缺少的库或库,我可以链接到适当的标题的下载页面和Linux上MinGW的.a文件吗?感谢。]

0 个答案:

没有答案