vtk-8.2.0 安装与编译 :
- cmake cannot find 指定版本的VTK package,还是用回ros的vtk6.3版本
解决办法:
SET(VTK_DIR xxx/VTK-8.2.0/build)
-
VTK-8.2.0/ThirdParty/lz4/vtklz4/lib/lz4.h:236:28: error: conflicting declaration ‘typedef union LZ4_stream_u LZ4_stream_t’ 236 | typedef union LZ4_stream_u LZ4_stream_t; VTK-8.2.0/ThirdParty/lz4/vtklz4/lib/lz4.h:282:34: error: conflicting declaration ‘typedef union LZ4_streamDecode_u LZ4_streamDecode_t’ 282 | typedef union LZ4_streamDecode_u LZ4_streamDecode_t;
解决办法:
mv xxx/VTK-8.2.0/ThirdParty/lz4/vtklz4/lib/lz4.h xxx/VTK-8.2.0/ThirdParty/lz4/vtklz4/lib/lz4.h.bk
mv xxx/VTK-8.2.0/ThirdParty/lz4/vtklz4/lib/lz4hc.h xxx/VTK-8.2.0/ThirdParty/lz4/vtklz4/lib/lz4hc.h.bk
sudo ln -s /usr/include/lz4.h xxx/VTK-8.2.0/ThirdParty/lz4/vtklz4/lib/lz4.h
sudo ln -s /usr/include/lz4hc.h xxx/VTK-8.2.0/ThirdParty/lz4/vt


584

被折叠的 条评论
为什么被折叠?



