每日积累(20161209-day-15)
问题1:
VTK7.1默认编译OpenGL2,可以手动选择OpenGL,
方法,先选OpenGL2,再把所有的和OpenGL2相关的checkbox都去掉,再选OpenGL,否则有一部分OpenGL2选项去不掉,导致configure不过去
然后make&make install
问题2:
PCL1.8 编译withVTK7.1,make的时候莫名奇妙的卡在
/usr/bin/ld: cannot find -lvtkRenderingOpenGL2
/usr/bin/ld: cannot find -lvtkglew
/usr/bin/ld: cannot find -lvtkRenderingVolumeOpenGL2
/usr/bin/ld: cannot find -lvtkDomainsChemistryOpenGL2
/usr/bin/ld: cannot find -lvtkRenderingGL2PSOpenGL2
/usr/bin/ld: cannot find -lvtkRenderingContextOpenGL2
想按照之前 记录的解决办发解决,发现你根本无从下手不知道如何该PCL的CMakeLists.txt文件,各种尝试都未果
搜啊搜都是说要vtk选择opengle编译,我是这么做的呀,重新编译发现还是不行,
最后还是找到了正解,在安装目录下/usr/local/lib搜索OpenGL2发现确实有,原来是我以前选择OpenGL2编译VTK的遗留产物,把所有的和vtk*OpenGL2相关的文件都删除,
重新make install, ok问题解决
问题3:
pcl1.8编译,
error: ‘VTKRENDERINGOPENGL_EXPORT’ does not name a type
解决办法:
还是没有将之前vtk with opengl2的编译文档清理干净
进入/usr/local/include
清理vtk-7.1
问题4
Could not import extension sphinxcontrib.doxylink.doxylink
解决办法:
$sudo easy_install -U sphinxcontrib-doxylink