Hello Gerrit, sorry, it did take a while, however finally I have build the trunk from friday pm (*)
Not all went straight, but I think that it is already in pretty shape. Actually, I did have two problems. Server one first: 1. I did encounter a nasty compile error in relaese build only. See (**). The error is found in the implementation of OSGGeoOptimization.cpp, more precisely in the following type definition typedef std::set<IndexRemap, IndexRemapLess> IndexRemapSet; The predicate definition is not correct. It should be struct IndexRemap { explicit IndexRemap(UInt32 oldIdx, UInt32 newIdx); UInt32 _oldIdx; UInt32 _newIdx; }; /* explicit */ IndexRemap::IndexRemap(UInt32 oldIdx, UInt32 newIdx) : _oldIdx(oldIdx), _newIdx(newIdx) { } struct IndexRemapLess { bool operator()(const IndexRemap &lhs, const IndexRemap &rhs) const; }; bool IndexRemapLess::operator()(const IndexRemap &lhs, const IndexRemap &rhs) const { return (lhs._oldIdx < rhs._oldIdx); } typedef std::set<IndexRemap, IndexRemapLess> IndexRemapSet; i.e. the operator of IndexRemapLess must have a const qualification. With this small addition the compilation did work perfect. 2. Flag OPENEXR_USE_DLL did not work for me. I peeked into the implementation but couldn't see anything wrong there. Only after I added the flag OPENEXR_DLL explicitly, I could manage the build. Since I was in a hurry, I did not look deeply into the issue. However, I could try it again... Best, Johannes (*) How do I properly refer to a specific git checkout/clone/pull? Is there something like a version number? I do not have much of an experience with git. (**) Microsoft (R) Visual Studio Version 9.0.30729.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: OSGDrawable, Configuration: Release Win32 ------ 1>Compiling... 1>OSGGeoOptimization.cpp 1>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xtree(1268) : error C3848: expression having type 'const OSG::`anonymous-namespace'::IndexRemapLess' would lose some const-volatile qualifiers in order to call 'bool OSG::`anonymous-namespace'::IndexRemapLess::operator ()(const OSG::`anonymous-namespace'::IndexRemap &,const OSG::`anonymous-namespace'::IndexRemap &)' 1> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xtree(1263) : while compiling class template member function 'std::_Tree_nod<_Traits>::_Node *std::_Tree<_Traits>::_Lbound(const OSG::`anonymous-namespace'::IndexRemap &) const' 1> with 1> [ 1> _Traits=std::_Tset_traits<OSG::`anonymous-namespace'::IndexRemap,OSG::`anonymous-namespace'::IndexRemapLess,std::allocator<OSG::`anonymous-namespace'::IndexRemap>,false> 1> ] 1> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\set(57) : see reference to class template instantiation 'std::_Tree<_Traits>' being compiled 1> with 1> [ 1> _Traits=std::_Tset_traits<OSG::`anonymous-namespace'::IndexRemap,OSG::`anonymous-namespace'::IndexRemapLess,std::allocator<OSG::`anonymous-namespace'::IndexRemap>,false> 1> ] 1> D:\cpp_xxx_\Comp\intern\opensg\Source\System\NodeCores\Drawables\Geometry\Util\OSGGeoOptimization.cpp(1580) : see reference to class template instantiation 'std::set<_Kty,_Pr>' being compiled 1> with 1> [ 1> _Kty=OSG::`anonymous-namespace'::IndexRemap, 1> _Pr=OSG::`anonymous-namespace'::IndexRemapLess 1> ] ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users