G'day Tim,
Nice! cheers for getting 0.10 moving, I wish I had known this was happening earlier as I was hoping to get in an update for an issue that I fixed in one of the Houdini hdanc files. I have now checked in the fixed (in this file: Scripts/Houdini/Sop_rd_object_post_process.hdanc and this is pushed to gh-pages). I am also happy to say that I have now had one person (Felipe Meres) test the rdyHoudini tools and confirmed that they are working (even if they are presently a bit slow to import things).
I tried to build gh-pages on my gentoo, it configures ok and without changing anything in cmake It got up to linking rdy and then it had a problem with link flags (this is trying to link against my system VTK (7.1.0)):
[ 9%] Linking CXX executable rdy
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkFiltersParallelDIY2
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkIOMPIImage
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkIOMPIParallel
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkRenderingFreeTypeFontConfig
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkRenderingMatplotlib
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/rdy.dir/build.make:119: rdy] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/rdy.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
I went and tried removing these link flags, and that gave me a working GUI 'ready' binary and rdy commandline version too.
Most of the removals were this part around line 460 in CmakeLists.txt:
if( UNIX AND NOT APPLE )
# set( EXTRA_VTK_LIBS vtkIOMPIImage vtkIOMPIParallel vtkRenderingFreeTypeFontConfig vtkRenderingMatplotlib )
set( EXTRA_VTK_LIBS )
endif()
And the other one is down in this block (starting line 499ish):
elseif( ${VTK_MAJOR_VERSION} EQUAL 7)
# VTK 7.x
target_link_libraries(
readybase
vtkCommonCore
vtkFiltersCore
vtkFiltersExtraction
vtkFiltersGeometry
vtkFiltersModeling
# vtkFiltersParallelDIY2
It looks like my system vtk version is: 7.1.0, and I could potentially also test under vtk-8.1.0 (which is available as unstable on Gentoo atm) but looking at the CmakeLists.txt, I think that would only potentially fix one of these, the vtkFiltersParallelDIY2 one (as ${EXTRA_VTK_LIBS} is there in all the groups of VTK link-flag-lists)). Could we perhaps add another if-statement up where ${EXTRA_VTK_LIBS} is being set such that it gets set to nothing on systems like mine?
Not hugely sure how to proceed or if we will even want to do anything about this, any thoughts Tim?
Maybe if anyone else building on linux runs into this then we could think about automating around it in the cmake?
Any other linux ready builders, would love to hear from you!
Dan