[Pkg-osg-devel] Package a OpenSceneGraph plug-in

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Apr 19 13:53:16 UTC 2011


Hello,

On Sunday 17 April 2011 22:59:39 YunQiang Su wrote:
> I am working on package libcitygml, which supplies a OpenSceneGraph
> plug-in.
> 
> In its README:
> 
>   To use libcitygml with OpenSceneGraph (min 2.8), here is some
> instructions:
> 	- Copy FindCityGML.cmake and FindXerces.cmake from
> libcitygml/CMakeModules to $(OSG_SRC_DIR)/CMakeModules
> 	- Copy libcitygml/test/osgplugin/* to
> $(OSG_SRC_DIR)/src/osgPlugins/citygml - Add the following line to
> $(OSG_SRC_DIR)/src/osgPlugins/CMakeLists.txt ADD_SUBDIRECTORY(citygml)
> 
> Use CMake to reconfigure OpenSceneGraph installation.
> Generate project and build!
> 
> Is there some way that can build this plugin out source and copy the
> build files to some directories to finish installation.

Probably what libcitygml upstream authors should do is to submit their 
plugin to OSG upstream, so the process of building it would be easier.

Other than that, Alberto's instructions seem fine at the moment; I don't 
think that you could build it out of source without having to hack it more 
heavily.

Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Pkg-osg-devel mailing list