"
Yes, and I always use it, and it works (copies the Config header). So no
problem there.
"
Given that we are building an out-of-source solution as of build 8483:
It does indeed copy the config file to the build directory for me as well, but
for VS 7.1 using cmake 2.4.8 it fails to identify using Interlocked, and the
config files revert to a single threaded environment. This is minor, but can
get annoying if something wants to rebuild.
Aside from this only OpenThreads and OSG include the build path... all projects
dependant on these do not, and will give error that they cannot find the config
file. Ideally the cmake scripts of these projects should also include the
build path.
I'm going to hold off on getting the latest until Mathias has a chance to
checkin some fixes with windows.h
----- Original Message -----
From: Jean-Sébastien Guay
To: OpenSceneGraph Users
Sent: Tuesday, June 24, 2008 7:25 AM
Subject: Re: [osg-users] Windows build is broken
Hello Mathias,
> Alternatively, cmake povides an 'install' target on unix builds. I do not
know
> if this is also available in win32.
Yes, and I always use it, and it works (copies the Config header). So no
problem there.
> I see that problem.
> Appologies for not testing that stuff on windows. I was just too naive to
> believe that this will just work. And given that I do cross platform
> development here at work I must have known that better. Sorry!
Hehe, classic mistake! :-)
> I believe that I will provide something that will use inline versions of
that
> atomic functions if possible but will make some cpp file implementation if
> this does not make sense like in the win32 case ...
I think if you declare both the declaration and implementation of a
method inline, the compiler will take that as a hint that it should be
inlined if possible... But yes, windows.h should only be included in a
.cpp file in the case of a header like Atomic that is included everywhere...
> Robert, ok?
Robert is not checking his mails until Thursday. Since this currently
prevents building on Windows, I would say go ahead.
> I guess that this will be ready about tomorrow. I hope that you can live
with
> that until then ...
OK, I was having a go at doing it, but if you want to go ahead, you're
more familiar with it than I am.
Thanks,
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org