Hello Johannes, On 08/08/2014 12:24 PM, Johannes Brunen wrote: > 1. In file opensg\Source\System\Cluster\Window\Base\OSGClusterWindow.cpp > at line 235 I have changed > > from > SFATAL << "Error starting: " << command << std::endl; > to > SFATAL << "Error starting: " << command.str() << > std::endl;
fixed. > 2. The next two issues are relevant only because I switched to VTK 6.1: > a) CMakeLists.txt line 735 > from > OSG_SET(OSG_VTK_LIBS > "vtkCommon;vtkFiltering;vtkGraphics;vtkIO;vtkRendering") > > to > include(${VTK_USE_FILE}) > OSG_SET(OSG_VTK_LIBS "${VTK_LIBRARIES}") Ok, this probably changes the set of libraries we link with. On the other hand IIRC this case is used for when picking up whatever libs are installed in the system and not assuming they were built with settings that are compatible with the OpenSG build - in other words this is probably a harmless change to make ;) > b) opensg\Source\Contrib\VTK\OSGVTKPolyDataMapper.cpp line 394 > #ifdef OSG_WITH_VTK_6 > pMapper->Update(); > #else > pMapper->GetInput()->Update(); > #endif > > and added a the flag OSG_WITH_VTK_6. I'm not sure if this change is > semantically correct, but at least it compiles fine :-) hmm, I suspect it does change the meaning (not sure though), but I'm wondering more why this is necessary? At least according to the docs vtkMapper::GetInput() has not been removed in vtk 6. Could you post the error message? > 3. The last issue is not related to the port. I compile and update all > the support libraries independent of OpenSG. Especially, OpenEXR is > compiled as a dynamic link library in my setup. Therefore the > OPENEXR_DLL flag must be set. However, the OSGConfigurePackages.cmake > forces the OPENEXR_USE_DLL option to be OFF which in turn forces not to > the the OPENEXT_DLL flag. Currently, I change the generated > CMakeCache.txt file, but it would be fine to have at least an option for > the flag. You should have OPENEXR_USE_DLL show up as an option in your cmake configuration; the line OSG_OPTION(OPENEXR_USE_DLL OFF) just sets the default value. Thanks for the report, Cheers, Carsten ------------------------------------------------------------------------------ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users