Ubuntu 12.04上的Libhand库编译错误

时间:2015-06-11 17:04:30

标签: ubuntu ogre libhand

我试图在Ubuntu 12.04上从libhand.org构建一个手工模型库。

不幸的是,在编译示例时,我收到以下错误:

fan@dell:~/libhand-0.9/examples/build$ make
Scanning dependencies of target bend_one_finger
[ 33%] Building CXX object CMakeFiles/bend_one_finger./bend_one_finger.cc.o
Linking CXX executable bend_one_finger
/usr/bin/ld: /usr/local/lib/libOgreMainStatic.a(OgreDynLib.cpp.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libdl.so so try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libdl.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [bend_one_finger] Error 1
make[1]: *** [CMakeFiles/bend_one_finger.dir/all] Error 2
make: *** [all] Error 2

有谁知道为什么会出现这种错误以及可以做些什么?

0 个答案:

没有答案