Hi again Mattias,
As there's a build error in osgdb_osgAnimation right now I can't test the PACKAGE_ALL target, but I will as soon as I can. But I can at least confirm that the target is there :-)
OK, I was able to build, so I tested the target. I get an error on 3 out of 8 package targets:
CPack Error: Problem removing toplevel directory: G:/OpenSceneGraph-SVN/OpenSceneGraph/build/_CPack_Packages/TGZ
(I've attached the entire output in case there's some more info that's useful to you)
I think it may be because it tries to build multiple targets at the same time (because I have a multi-core machine and by default VS will build multiple targets simultaneously if they don't have any interdependency), and the targets try to delete the temp directory before doing their work, so one target tries to delete the temp directory which the other target is writing to.
But I checked, and the targets write each to its own subdirectory of that temporary directory (build/_CPack_Packages/TGZ) anyways, so it could probably just delete that subdirectory instead of the parent directory (TGZ itself). I don't know if you have control over that...
Also, it seems it doesn't build the PACKAGE target (which makes the openscenegraph-all package). It should be a dependency of the PACKAGE_ALL target like the other package targets.
Could that target be renamed BTW, or does it come like that by default? It should probably be named "package_openscenegraph-all" for example.
But apart from those few issues, it does what I thought it should. It's definitely more streamlined than having to build all the targets one after the other manually. And since the package targets depend on their respective targets (the doc targets etc.) I can just build PACKAGE_ALL after an SVN update and I get all up-to-date packages (after a little while waiting for it to compile :-) ).
Thanks, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/
1>------ Build started: Project: package_libopenscenegraph-dev, Configuration: RelWithDebInfo Win32 ------ 1>libopenscenegraph-dev... 1>CPack: Create package using TGZ 1>CPack: Install projects 1>CPack: - Install project: OpenSceneGraph 1>CPack: Compress package 1>CPack: Finalize package 1>CPack: Package G:/OpenSceneGraph-SVN/OpenSceneGraph/build/libopenscenegraph-dev-2.7.8-win32-x86-vc80sp1.tar.gz generated. 1>Build log was saved at "file://g:\OpenSceneGraph-SVN\OpenSceneGraph\build\package_libopenscenegraph-dev.dir\RelWithDebInfo\BuildLog.htm" 1>package_libopenscenegraph-dev - 0 error(s), 0 warning(s) 2>------ Build started: Project: package_libopenthreads, Configuration: RelWithDebInfo Win32 ------ 2>libopenthreads... 2>CPack: Create package using TGZ 2>CPack: Install projects 2>CPack: - Install project: OpenSceneGraph 2>CPack: Compress package 2>CPack: Finalize package 2>CPack: Package G:/OpenSceneGraph-SVN/OpenSceneGraph/build/libopenthreads-2.7.8-win32-x86-vc80sp1.tar.gz generated. 2>Build log was saved at "file://g:\OpenSceneGraph-SVN\OpenSceneGraph\build\package_libopenthreads.dir\RelWithDebInfo\BuildLog.htm" 2>package_libopenthreads - 0 error(s), 0 warning(s) 3>------ Build started: Project: package_libopenscenegraph, Configuration: RelWithDebInfo Win32 ------ 3>libopenscenegraph... 3>CPack: Create package using TGZ 3>CPack Error: Problem removing toplevel directory: G:/OpenSceneGraph-SVN/OpenSceneGraph/build/_CPack_Packages/TGZ 3>CPack Error: Error when generating package: OpenSceneGraph 3>Project : error PRJ0019: A tool returned an error code from "libopenscenegraph..." 3>Build log was saved at "file://g:\OpenSceneGraph-SVN\OpenSceneGraph\build\package_libopenscenegraph.dir\RelWithDebInfo\BuildLog.htm" 3>package_libopenscenegraph - 1 error(s), 0 warning(s) 4>------ Build started: Project: package_libopenthreads-dev, Configuration: RelWithDebInfo Win32 ------ 4>libopenthreads-dev... 4>CPack: Create package using TGZ 4>CPack: Install projects 4>CPack: - Install project: OpenSceneGraph 4>CPack: Compress package 4>CPack: Finalize package 4>CPack: Package G:/OpenSceneGraph-SVN/OpenSceneGraph/build/libopenthreads-dev-2.7.8-win32-x86-vc80sp1.tar.gz generated. 4>Build log was saved at "file://g:\OpenSceneGraph-SVN\OpenSceneGraph\build\package_libopenthreads-dev.dir\RelWithDebInfo\BuildLog.htm" 4>package_libopenthreads-dev - 0 error(s), 0 warning(s) 5>------ Build started: Project: package_openthreads-doc, Configuration: RelWithDebInfo Win32 ------ 5>openthreads-doc... 5>CPack: Create package using TGZ 5>CPack: Install projects 5>CPack: - Install project: OpenSceneGraph 5>CPack: Compress package 5>CPack: Finalize package 5>CPack: Package G:/OpenSceneGraph-SVN/OpenSceneGraph/build/openthreads-doc-2.7.8.tar.gz generated. 5>Build log was saved at "file://g:\OpenSceneGraph-SVN\OpenSceneGraph\build\package_openthreads-doc.dir\RelWithDebInfo\BuildLog.htm" 5>package_openthreads-doc - 0 error(s), 0 warning(s) 6>------ Build started: Project: package_openscenegraph-examples, Configuration: RelWithDebInfo Win32 ------ 6>openscenegraph-examples... 6>CPack: Create package using TGZ 6>CPack Error: Problem removing toplevel directory: G:/OpenSceneGraph-SVN/OpenSceneGraph/build/_CPack_Packages/TGZ 6>CPack Error: Error when generating package: OpenSceneGraph 6>Project : error PRJ0019: A tool returned an error code from "openscenegraph-examples..." 6>Build log was saved at "file://g:\OpenSceneGraph-SVN\OpenSceneGraph\build\package_openscenegraph-examples.dir\RelWithDebInfo\BuildLog.htm" 6>package_openscenegraph-examples - 1 error(s), 0 warning(s) 7>------ Build started: Project: package_openscenegraph-doc, Configuration: RelWithDebInfo Win32 ------ 7>openscenegraph-doc... 7>CPack: Create package using TGZ 7>CPack: Install projects 7>CPack: - Install project: OpenSceneGraph 7>CPack: Compress package 7>CPack: Finalize package 7>CPack: Package G:/OpenSceneGraph-SVN/OpenSceneGraph/build/openscenegraph-doc-2.7.8.tar.gz generated. 7>Build log was saved at "file://g:\OpenSceneGraph-SVN\OpenSceneGraph\build\package_openscenegraph-doc.dir\RelWithDebInfo\BuildLog.htm" 7>package_openscenegraph-doc - 0 error(s), 0 warning(s) 8>------ Build started: Project: package_openscenegraph, Configuration: RelWithDebInfo Win32 ------ 8>openscenegraph... 8>CPack: Create package using TGZ 8>CPack Error: Problem removing toplevel directory: G:/OpenSceneGraph-SVN/OpenSceneGraph/build/_CPack_Packages/TGZ 8>CPack Error: Error when generating package: OpenSceneGraph 8>Project : error PRJ0019: A tool returned an error code from "openscenegraph..." 8>Build log was saved at "file://g:\OpenSceneGraph-SVN\OpenSceneGraph\build\package_openscenegraph.dir\RelWithDebInfo\BuildLog.htm" 8>package_openscenegraph - 1 error(s), 0 warning(s) ========== Build: 5 succeeded, 3 failed, 2 up-to-date, 0 skipped ==========
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
