Hi everone,
did anyone recently try out the packaging on Windows with VS2008? I get an
error message when I build the package project, e.g.
CPack Error: Problem creating temporary directory:
[code]
D:/Tassilo/Lib/osg/buildGLES/_CPack_Packages/ZIP/libopenscenegraph-3.1.3-win64-x86-vc90-$(OutDir)D:/Tassilo/Lib/INSTALL_GLES2
[/code]
It looks like there are two problems:
- a Visual Studio variable $(OutDir) is appended to the file name without being
expanded into, e.g., Release or Debug
- the Cmake install variable is appended (which contains directory separators
"/")
With some experimenting in OsgCPackConfig.cmake.in I found that if line 49 is
commented
[code]
#SET(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
[/code]
the zip file is created, though with "$(OutDir)" as part of the name:
[code]
1>CPack: - package:
D:/Tassilo/Lib/osg/buildGLES/libopenscenegraph-3.1.3-win64-x86-vc90-$(OutDir).zip
generated.
[/code]
I think this got introduced in revision 12230 (Alan Dickinson). I will look
into it further, but if there are any ideas, I am glad to hear them.
Thank you!
Cheers,
Tassilo
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=48106#48106
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org