1

在 Ubuntu 16.04 LTS 64bit 上,当我应用“Screened Poisson Surface Reconstruction”插件时,Meshlab 崩溃。错误信息是:

meshlab: symbol lookup error: /home/eric/dev/3D/meshlab/meshlab/src/distrib/plugins/libfilter_screened_poisson.so: undefined symbol: omp_get_num_procs

此符号在 /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0 中可用:

$ objdump -T /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0|grep omp_get_num_procs
00000000000125c0 g    DF .text  0000000000000005  OMP_1.0     omp_get_num_procs_
0000000000011870 g    DF .text  0000000000000005  OMP_1.0     omp_get_num_procs

生成后,我正在从 GNOME 终端运行 meshlab。我的 LD_LIBRARY_PATH(和 LIBDIR)是:

echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/lib

所以我在 LIBDIR 中添加了 /usr/lib/x86_64-linux-gnu

echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/lib:/usr/lib/x86_64-linux-gnu

但是现在,我有这个错误:

$ ./meshlab
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".    
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.    
Reinstalling the application may fix this problem.

如何告诉插件在哪里可以找到合适的符号?

4

1 回答 1

0

尝试如下设置 QT 插件路径:

export QT_QPA_PLATFORM_PLUGIN_PATH=/home/user/Qt5.7.1/5.7/gcc_64/plugins
于 2017-01-13T08:08:17.500 回答