【发布时间】:2012-06-21 16:30:36
【问题描述】:
我正在 Netbeans 上开发一个应用程序,但我可以运行它。我无法调试或重新运行测试文件。当我尝试这样做时,我得到:
./build/Debug/GNU-Linux-x86/tests/TestFiles/f1: error while loading shared libraries: libboost_thread.so.1.49.0: cannot open shared object file: No such file or directory
它尝试在调试或测试会话中包含库或特定文件,但我继续得到它。会不会和 Netbeans 不一致?
任何想法将不胜感激!
【问题讨论】:
-
您尝试运行的应用程序动态链接 Boost.Thread,但在运行时找不到此库。确保该库存在于相关的搜索路径中。
标签: c++ linux boost netbeans boost-thread