Hi, On Thu, 2010-09-02 at 16:08 -0500, Carsten Neumann wrote: > Hello Johannes, > > On 09/01/10 10:07, Johannes Zarl wrote: > > I think I have a working solution: > > many thanks for the patches, I hope to be able to go over them in detail > tomorrow and apply them. > On what OS have you tried these? The reason I'm asking is that there is > unfortunately still some amount of special handling for windows required > in the build system and certain things (e.g. the use of import libs) are > done just to make the build work there.
IIRC it was not just Windows, one nearly always need import targets to get things working properly. Unix might be slightly more forgiving (as long as you stick to shared libs). > > The first patch simply adds the boost libraries to the lib and include > > directories of OSGBase. > > hm, funny it builds without this at all, OSGBase does include a bunch of > boost headers - I wonder how it finds them... this is the wrong place to fix things related to osg2-config. As boost is a must the include directory is set globally in OSG_CONFIGURE_BOOST. I would prefer to adjust the osg2-config part of CMake to reflect this and not to modify a lib setup. I absolutely do not like 'optional' libs to be linked to everything, they should be linked to what needs them. If OSGBase does not need to link against boost it should not. kind regards gerrit ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users