Two additional notes:
Of course the same approach work for OpenThreads,
and I actually set
CMAKE_INSTALL_PREFIX to '.' (one dot - current directory which corresponds
to the same location as OpenScenGraph or OpenThreads)
If I may suggest CMAKE_INSTALL_PREFIX could be set to '.' by default in
CMake for Windows
Cheers,
Wojtek Lewandowski
----- Original Message -----
From: "Wojciech Lewandowski" <[EMAIL PROTECTED]>
To: "osg users" <[email protected]>
Sent: Tuesday, April 24, 2007 12:19 PM
Subject: Re: [osg-users] OpenThread library name
I had similar problem but noticed that one may set the same path as Source
code, Binary root and Install path. In this case install just moves
release and debug libs to lib subdirectory of the project and dlls and
executables into bin subdirectory of the project. It does not copy Include
dirs because they would land in the same dir.
For example:
I keep my all my OSG related projects in C:\dev\OSG_SVN directory.
So I use
C:\dev\OSG_SVN\OpenSceneGraph
directory for all three directory locations
for
source code directory ( "Where is the source code" in Windows Cmake )
for
binary directory ("Where to build the binaries" in Windows Cmake)
and for
install directory( CMAKE_INSTALL_PREFIX variable in Windows Cmake)
this produces similar results as defaul locations in older OSG
distributions
with this exception of Win32 subdir removed from lib and bin.
Cheers,
Wojtek Lewandowski
----- Original Message -----
From: "Anders Backman" <[EMAIL PROTECTED]>
To: "osg users" <[email protected]>
Sent: Tuesday, April 24, 2007 10:53 AM
Subject: [osg-users] OpenThread library name
Windows XP,
VisualStudio 8.
I just checked out svn osg and OT and got some problems during build.
I'm using a separate checked out version of OT, so I'm using the
OPENTHREADS_DIR env variable to specify the path to OT.
1. It seems that OT generates OpenThreads(d).lib (and not
OpenThreadswin32(d).lib as before)
2. OpenSceneGraph still refers to the name OpenThreadswin32.lib
3. In windows there is no really good path where to install headers and
libs.
Is the new convention to install it to c:\program files\OpenTHreads
something that the community has decided or is it a proposal to a new
standard;-) ?
It now also seems that one HAS to install OpenThreads to get the
correct include/lib path for cmake. Otherwise the library resides
under debug or minsizrel or release.
This makes it slightly harder to use multiple versions of the library,
as one has to install all of them to some common path.
So what is the opinion of other windows users about path names?
/Anders
--
________________________________________________________________
Anders Backman Email: [EMAIL PROTECTED]
HPC2N/VRlab Phone: +46 (0)90-786 9936
Umea university Cellular: +46 (0)70-392 64 67
S-901 87 UMEA SWEDEN Fax: +46 90-786 6126
http://www.cs.umu.se/~andersb
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
-------------------------------------------------------------
This mail was scanned by BitDefender
For more informations please visit http://www.bitdefender.com
-------------------------------------------------------------
-------------------------------------------------------------
This mail was scanned by BitDefender
For more informations please visit http://www.bitdefender.com
-------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
-------------------------------------------------------------
This mail was scanned by BitDefender
For more informations please visit http://www.bitdefender.com
-------------------------------------------------------------
-------------------------------------------------------------
This mail was scanned by BitDefender
For more informations please visit http://www.bitdefender.com
-------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/