[osg-users] VS 2010 and OSG v2.8.3?

6 views
Skip to first unread message

Paul Martz

unread,
Jul 20, 2010, 2:40:13 PM7/20/10
to OpenSceneGraph Users
Hi all -- Has anyone successfully built OSG v2.8.3 with VS 2010? Back when we
did 2.8.3 release testing, I vaguely recall some people reporting (successful)
build results using VS 2010, but just wanted to make sure this actually works.

Thanks.
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

David Glenn

unread,
Jul 21, 2010, 6:26:01 PM7/21/10
to osg-...@lists.openscenegraph.org
Greetings!

I would like to know too before I go out and buy VS 2010.
Well, I guess that I could go out and try it on the trial version. Right?

If it doen't, then I'm just use the VS 2008 that I have acess to.

D Glenn

------------------------
D Glenn (a.k.a David Glenn) - Join the Navy and See the World ... from your Desk!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30170#30170

Dženan Zukić

unread,
Jul 22, 2010, 10:46:01 AM7/22/10
to osg-...@lists.openscenegraph.org
Hi,

I just compile-tested OSG 2.8.3 with VS2010, x64 target. It has build errors (full log attached).

Furthermore, I cannot switch to VS2010 because Qt doesn't support it at the moment.

Cheers,
Dženan

------------------
Read this topic online here:

http://forum.openscenegraph.org/viewtopic.php?p=30187#30187


Attachments:
http://forum.openscenegraph.org//files/output_build_139.txt

Keith Parkins

unread,
Jul 22, 2010, 11:11:38 AM7/22/10
to D??enan Zuki?, osg-...@lists.openscenegraph.org
From your log it looks like the only problem you are having, which I
encountered as well, is the new C++/stl problem. You need to add:

#include <iterator>

to the header file NodeCallBack. This should get rid of most of the
errors, but you may have to add the above include to other files as
well.

Say you build it again and get:

5>GraphicsContext.cpp(680): error C2039: 'back_inserter' : is not a
member of 'std'
5>GraphicsContext.cpp(680): error C3861: 'back_inserter': identifier not
found

Then add "#include <iterator>" to GraphicsContext.cpp.

Try just editing NodeCallBack's header because it needs to be there and I
think it catches most of the other undeclared back_inserter calls.

-K


On Thu, 22 Jul 2010, D??enan Zuki? wrote:

> Hi,
>
> I just compile-tested OSG 2.8.3 with VS2010, x64 target. It has build errors (full log attached).
>
> Furthermore, I cannot switch to VS2010 because Qt doesn't support it at the moment.
>
> Cheers,
> Dženan
>

Keith Parkins U of R Center for Visual Science

Dženan Zukić

unread,
Jul 22, 2010, 11:17:23 AM7/22/10
to osg-...@lists.openscenegraph.org
Hi,

Thanks for the tips, they may come in handy once Qt 4.7 is out and I start migrating to VS2010, and new version of OSG which includes those "includes" is not published.

Thank you!

Cheers,
Dženan

------------------
Read this topic online here:

http://forum.openscenegraph.org/viewtopic.php?p=30189#30189

Reply all
Reply to author
Forward
0 new messages