Re: [osg-users] CPack on osg-doc and openthreads-doc under MSVC

2010-01-12 Thread Sukender
Hi all,

FYI, I found doing CPack in parallel (= multithreaded / batch) builds is a bad 
idea. It seems CPack (2.8.0) doesn't like it at all, at least under 
Windows/MSVC.

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

- "Sukender"  a écrit :

> Hi all,
> 
> I got an error building "Package openscenegraph-doc" (under MSVC v9,
> in-source build). The error is:
>   CPack: - Install project: OpenSceneGraph
>   CMake Error at cmake_install.cmake:31 (FILE):
> file INSTALL cannot copy file
> "D:/blah-blah-blah/doc/OpenSceneGraphReferenceDocs/a02321.map"
> to
>
> "D:/blah-blah-blah/_CPack_Packages/ZIP/OpenSceneGraph-2.9.7/doc/OpenSceneGraphReferenceDocs/a02321.map"
> 
> and the build fails (The file is never the same - sometimes a .png,
> sometimes a .md5...).
> I don't know if it's related, but I found generating "Package
> openscenegraph-doc" and "Package openthreads-doc" in the same batch
> build leads to a strange thing: during the install process, in
> _CPack_Packages/ZIP/OpenSceneGraph-2.9.7/doc you should find
> "OpenSceneGraphReferenceDocs" and "OpenThreadsReferenceDocs"
> directories. However, building one deletes the other!
> Did someone spotted somthing similar? Does it happen with other
> platforms/compilers?
> 
> I don't know how to fix it yet... Any idea?
> 
> Side question: Is there a way to generate 7z or tar.lzma archives
> under Windows with CPack?
> Thanks.
> 
> Sukender
> PVLE - Lightweight cross-platform game engine -
> http://pvle.sourceforge.net/
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] CPack on osg-doc and openthreads-doc under MSVC

2009-12-30 Thread Sukender
Hi all,

I got an error building "Package openscenegraph-doc" (under MSVC v9, in-source 
build). The error is:
  CPack: - Install project: OpenSceneGraph
  CMake Error at cmake_install.cmake:31 (FILE):
file INSTALL cannot copy file
"D:/blah-blah-blah/doc/OpenSceneGraphReferenceDocs/a02321.map"
to

"D:/blah-blah-blah/_CPack_Packages/ZIP/OpenSceneGraph-2.9.7/doc/OpenSceneGraphReferenceDocs/a02321.map"

and the build fails (The file is never the same - sometimes a .png, sometimes a 
.md5...).
I don't know if it's related, but I found generating "Package 
openscenegraph-doc" and "Package openthreads-doc" in the same batch build leads 
to a strange thing: during the install process, in 
_CPack_Packages/ZIP/OpenSceneGraph-2.9.7/doc you should find 
"OpenSceneGraphReferenceDocs" and "OpenThreadsReferenceDocs" directories. 
However, building one deletes the other!
Did someone spotted somthing similar? Does it happen with other 
platforms/compilers?

I don't know how to fix it yet... Any idea?

Side question: Is there a way to generate 7z or tar.lzma archives under Windows 
with CPack?
Thanks.

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org