Re: [osg-users] A couple of Cmake issues with 2.6

2008-09-19 Thread Jean-Sébastien Guay

Hi Gordon,

In the resultant vcproj files created many(most) projects end up with 
both osg.lib and osgd.lib and some with osgGA.lib and osgGAd.lib and 
those the use OpenThreads
 
Now I'm quite sure it is something we ( meaning me ) has screwed up some 
how/were ;), as I said I'm a newbie when it comes to the minutia of Cmake


I have never seen such a problem... What steps do you take when 
generating the project files with CMake?


I'd suggest deleting your build directory and starting the generation 
from scratch to see if it was some glitch or weird occurence that caused 
the problem.


http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio

(in case it can help...)

J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] A couple of Cmake issues with 2.6

2008-09-19 Thread Tomlinson, Gordon
Hi Philip
 
This is with the Cmake 2.4 or 2.6 using the OSG 2.6x branch
 
In the resultant vcproj files created many(most) projects end up with
both osg.lib and osgd.lib and some with osgGA.lib and osgGAd.lib and
those the use OpenThreads
 
Now I'm quite sure it is something we ( meaning me ) has screwed up some
how/were ;), as I said I'm a newbie when it comes to the minutia of
Cmake
 
the one thing we do is as a pre_fix to all the dll's and lib's  'tg_' to
stop any library/dll's clashes etc  with other projects in doing this we
probably 
 
 

Gordon

__
Gordon Tomlinson

Product Manager 3D
Email  : gtomlinson @ overwatch.textron.com


__
(C): (+1) 571-265-2612
(W): (+1) 703-437-7651

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura

 
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip
Lowman
Sent: Friday, September 19, 2008 8:32 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] A couple of Cmake issues with 2.6


On Thu, Sep 18, 2008 at 11:48 AM, Tomlinson, Gordon
<[EMAIL PROTECTED]> wrote:


found the issue with the

cl : Command line warning D9025 : overriding
'/Fotg_OpenThreads.dir\Debug\' with '/Fo'
cl : Command line error D8016 : '/fp:fast' and '/fp:except'
command-line options are incompatible
Some command line option were gettng added incorrectly so rjust
removing them all solved that
 
Still not sure why I get osg.lib and osgD.lib in my debug linker
inputs


Could you elaborate a bit more?  Are you getting osg.lib and osgD.lib
inputs in your own CMake project or is this within the OSG?  What
version of OSG / CMake are you using?


-- 
Philip Lowman

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] A couple of Cmake issues with 2.6

2008-09-19 Thread Philip Lowman
On Thu, Sep 18, 2008 at 11:48 AM, Tomlinson, Gordon <
[EMAIL PROTECTED]> wrote:

>  found the issue with the
>  cl : Command line warning D9025 : overriding
> '/Fotg_OpenThreads.dir\Debug\' with '/Fo'
> cl : Command line error D8016 : '/fp:fast' and '/fp:except' command-line
> options are incompatible
> Some command line option were gettng added incorrectly so rjust removing
> them all solved that
>
> Still not sure why I get osg.lib and osgD.lib in my debug linker inputs
>

Could you elaborate a bit more?  Are you getting osg.lib and osgD.lib inputs
in your own CMake project or is this within the OSG?  What version of OSG /
CMake are you using?

-- 
Philip Lowman
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] A couple of Cmake issues with 2.6

2008-09-18 Thread Tomlinson, Gordon
found the issue with the
cl : Command line warning D9025 : overriding
'/Fotg_OpenThreads.dir\Debug\' with '/Fo'
cl : Command line error D8016 : '/fp:fast' and '/fp:except' command-line
options are incompatible
Some command line option were gettng added incorrectly so rjust removing
them all solved that
 
Still not sure why I get osg.lib and osgD.lib in my debug linker inputs
 
 

Gordon

__
Gordon Tomlinson

Product Manager 3D
Email  : gtomlinson @ overwatch.textron.com


__
(C): (+1) 571-265-2612
(W): (+1) 703-437-7651

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura

 
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Tomlinson, Gordon
Sent: Thursday, September 18, 2008 11:11 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] A couple of Cmake issues with 2.6


Hi All
 
I'm having a couple of issues with Cmake 2.4 or 2.6 with the 2.6 branch
( I'm a Cmake newbie )
( no had this with OSG 2. x)
 
CMAKE_INTDIR=\"Debug\" CMAKE_INTDIR=\"Rlease\"  or is being added the
preprocessor, and this is causing my link to fail s
with errors similar to 
 
cl : Command line warning D9025 : overriding
'/Fotg_OpenThreads.dir\Debug\' with '/Fo'
cl : Command line error D8016 : '/fp:fast' and '/fp:except' command-line
options are incompatible
 
If I remove this we link fine
 
Also
 
Every debug projet is getting osg.lib and osgd.lib add to its lib inputs
 
 
Any ideas on what I screwed up (always blame myself as it normally is my
fault ) and how to maybe fix the issues ?
 
 
 
 

Gordon

__
Gordon Tomlinson

Product Manager 3D
Email  : gtomlinson @ overwatch.textron.com


__


"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura

 
 
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] A couple of Cmake issues with 2.6

2008-09-18 Thread Tomlinson, Gordon
Hi All
 
I'm having a couple of issues with Cmake 2.4 or 2.6 with the 2.6 branch
( I'm a Cmake newbie )
( no had this with OSG 2. x)
 
CMAKE_INTDIR=\"Debug\" CMAKE_INTDIR=\"Rlease\"  or is being added the
preprocessor, and this is causing my link to fail s
with errors similar to 
 
cl : Command line warning D9025 : overriding
'/Fotg_OpenThreads.dir\Debug\' with '/Fo'
cl : Command line error D8016 : '/fp:fast' and '/fp:except' command-line
options are incompatible
 
If I remove this we link fine
 
Also
 
Every debug projet is getting osg.lib and osgd.lib add to its lib inputs
 
 
Any ideas on what I screwed up (always blame myself as it normally is my
fault ) and how to maybe fix the issues ?
 
 
 
 

Gordon

__
Gordon Tomlinson

Product Manager 3D
Email  : gtomlinson @ overwatch.textron.com


__


"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura

 
 
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org