OSG编译问题

来源:互联网 发布:centos php pdo mysql 编辑:程序博客网 时间:2024/05/16 10:09

记录一下OSG编译过程碰到的问题

1、根据官网提示下载了相应的文件。并参考了下面的博客http://bbs.osgchina.org/forum.php?mod=viewthread&tid=9223&extra=page%3D1&_dsign=253e9edb

开始在win10+vs2013下编译64位库。

2、编译好后发现无法加载ttf文件和jpg图片。

3、后来下载3rdParty_VS2013_v120_x86_x64_V9_full.7z这个第三方库,编译好之后运行提示错误Win32WindowingSystem::getSampleOpenGLContext() - Unable to set pixel format 

4、用上面的库文件编译32位库,编译好后仍然提示错误Win32WindowingSystem::getSampleOpenGLContext() - Unable to set pixel format 

5、后来关闭360杀毒软件后,32位和64位库都能正常运行

6、用vs2013编译一个控制台程序测试,提示(0xc000007b)错误

7、根据 http://blog.csdn.net/toothing/article/details/45112357提示,拷贝zlib.dll到库的bin目录,后正常。

0 0