Hello,
-- Johannes Zarl Virtual Reality Services Johannes Kepler University Informationsmanagement Altenbergerstrasze 69 4040 Linz, Austria Phone: +43 732 2468-8321 johannes.z...@jku.at http://vrc.zid.jku.at >>> On 09/03/2010 at 03:16, Gerrit Voß<vo...@vossg.org> wrote: > On Thu, 2010-09-02 at 16:08 -0500, Carsten Neumann wrote: >> 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). I only tried this on Linux. >> > 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. I had no qualms adding this because the unit-tests also use the same includes (obviously, my heuristic may have been wrong).In my understanding boost isn't optional, if without it the OSGBase header files don't work at all. Still, you are certainly right in trying to keep dependencies like this one to a minimum. Cheers, Johannes ------------------------------------------------------------------------------ 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