OSG-提示“error reading file e:\1.jpg file not handled”
Error not File 提示 reading JPG OSG
2023-09-14 08:57:11 时间
问题情况:
在做OsgEarth时需要自己编译osgQOpenGL,自己做了一个静态库工程,输出lib文件后,让EXE让用。在测试代码中指定一个地球文件,动行后,界面显示的是一个黑边白圆。打开GONFIG += console后,提示“error reading file e:\1.jpg file not handled”。之前为了处理加载问题,复制了一个osgPlugins-3.6.4目录。
问题原因:
因为程序无法调用OSG图片文件加载的库文件。
问题处理:
把ctkosg364/debug/tools/osg/osgPlugins-3.6.4 这个目录中的文件复制到程序执行目录中osgPlugins-3.6.4里。注意要看自己程序是Release还是Debug版本再复制。
现在再次运行,应该就可以看到加载后的界面了。以过二个加载库文件错误后,现在应该是正常的了。
相关文章
- OSG-加载地球文件报0x00000005错误,提示error reading file simple.earth file not handled
- ERROR: Could not connect to lockdownd, error code -19 -20
- ERROR: Error loading ASGI app. Could not import module "main".
- [React Testing] Hide console.error Logs when Testing Error Boundaries with jest.spyOn
- error: pathspec 'master' did not match any file(s) known to git.
- 解决 docker 报错: Error starting daemon: error initializing graphdriver: backing file system is unsupported for this graph driver
- loadrunner12.55:关联回放失败Action.c(16): Error: C interpreter run time error: Action.c (16): Error -- memory violation : Exception ACCESS_VIOLATION received.,自动关联生成函数web_reg_save_param_attrib()
- loadrunner11 错误:Error -26377: No match found for the requested parameter XXXX. web_custom_request(XXX) highest severity level was "ERROR",....... [MsgId: MMSG-26387]
- Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
- 【3】报错[system] [error] Attempted to start Color camera - NOT detected
- [FAQ] web3js, Error: [number-to-bn] while converting number 0.1 to BN.js instance, error: invalid number value
- Error:Configuration with name ‘default‘ not found.
- 成功解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based
- 已解决stderr: ERROR: Could not find a version that satisfies the requirement gradio==3.23
- Mac ERROR:root:code for hash md5 was not found.
- ubuntu下执行shell脚本报错 Syntax error: “(“ unexpected
- 【错误记录】Android Studio 编译报错 ( AAPT: error: failed to read PNG signature: file does not start with PN )
- ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
- ERROR 1130: Host '' is not allowed to connect to thisMySQL server
- There is an error in invoking javac. A full JDK (not just JRE) is required
- vivado仿真的时候报ERROR: [VRFC 10-2063] not found while processing module instance
- 【FPGA篇】“Error (119013): Current license file does not support the EP4CE10F17C8 device”
- Qt开发,编译报错:main.cpp:1:10: In included file: ‘QMainWindow‘ file not foundmainwindow.h:4:10: error occ
- Qt5.9.9编译时报错::-1: error: msvc-version.conf loaded but QMAKE_MSC_VER isn‘t set
- Android12之fatal error: ‘media/MediaMetrics.h‘ file not found
- Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject
- Error: Could not open client transport with JDBC Uri 解决方案
- Docker中mysql启动错误Could not open file ‘/var/log/mysqld.log‘ for error logging: Permission denied
- webRTC之fatal error: ‘absl/strings/string_view.h‘ file not found(二十)