Problems with my VRJ vc90 win32 build

40 views
Skip to first unread message

Miroslav Andel

unread,
Jan 13, 2010, 5:45:46 AM1/13/10
to vrjuggler...@googlegroups.com

Hi,

 

I downloaded the latest source code from SVN, compiled it with MS visual studio 2008 and installed it. So far so good.. But when I compile any application or the samples I run into a runtime error.

 

Here is the output from visual studio:

 

First-chance exception at 0x772ee124 in MPApp.exe: Microsoft C++ exception: std::length_error at memory location 0x0017f7ec..

Unhandled exception at 0x772ee124 in MPApp.exe: Microsoft C++ exception: std::length_error at memory location 0x0017f7ec..

 

Here is the cmd line output:

 

VPR_DEBUG_NFY_LEVEL set to 5

---------------------------------------------------------

For more or less debug output, change VPR_DEBUG_NFY_LEVEL

---------------------------------------------------------

VPR_DEBUG_ENABLE not found; defaults to 1

 

[vpr::Debug] Adding category named 'DBG_ALL' (prefix='DBG:', GUID=660B4B06-1F5B-

4E4B-ABB8-D44229CE1319)

             to debug categories: 027F8FB0 (size=0)

[vpr::Debug::updateAllowedCategories()] Trying to find vprDBG_ALL (guid=660B4B06

-1F5B-4E4B-ABB8-D44229CE1319)

[vpr::Debug] VPR_DEBUG_ALLOW_CATEGORIES not found; setting to vprDBG_ALL!

[vpr::Debug] VPR_DEBUG_DISALLOW_CATEGORIES not found.

[ TID: N/A  ] DBG:==============================================================

======

[ TID: N/A  ] DBG:VR Juggler: v2.3.18-0 'The Joker' (NSPR) trunk Jan 11, 2010 18

:21:39

[ TID: N/A  ] DBG:VPR: v2.1.17-0 'Facade' (NSPR) trunk Jan 11, 2010 18:21:39

[ TID: N/A  ] DBG:JCCL: v1.3.5-0 'Bane' (NSPR) trunk Jan 11, 2010 18:21:39

[ TID: N/A  ] DBG:Gadgeteer: v1.3.25-0 'Gearhead' (NSPR) trunk Jan 11, 2010 18:2

1:39

[ TID: N/A  ] DBG:==============================================================

======

 

[vpr::Debug] Adding category named 'DBG_CONFIG' (prefix='JCCL-CFG:', GUID=A0B2DE

1F-CE63-489B-8248-F03EF56D36F7)

             to debug categories: 027F8FB0 (size=1)

[vpr::Debug::updateAllowedCategories()] Trying to find vprDBG_ALL (guid=660B4B06

-1F5B-4E4B-ABB8-D44229CE1319)

[vpr::Debug] VPR_DEBUG_ALLOW_CATEGORIES not found; setting to vprDBG_ALL!

[vpr::Debug] VPR_DEBUG_DISALLOW_CATEGORIES not found.

[ TID: N/A  ] JCCL-CFG:Adding directory to search path: ${VJ_BASE_DIR}/share\vrj

uggler/data/definitions

 

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.

 

D:\vrj\VR Juggler 2.3.18\share\vrjuggler\samples\OGL\simple\MPApp\Release>

 

I’m using boost 1_41, cppdom-1.0.0, gmtl-0.6.0, nspr-4.6.4 to build VR juggler. Any hints? Which versions of the dependencies are you using to compile a working build? Anybody tried and had success with the visual studio 2010 beta?

 

It would be great to have all the dependencies precompiled on the SVN like OSG deps, It’s always a hassle to get all the dependencies, their dependencies and building systems and then compile VR juggler. By the way, OSG 2.9.7 does not work with vr juggler 2.2.1. I’m getting a black screen and a lot of openGL errors/warnings in the cmd-window. OSG 2.9.5 works just fine. Anybody know if they stopped supporting sceneview?

 

Cheers,

 

Miroslav, Linköping University

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Doug McCorkle

unread,
Jan 13, 2010, 8:15:14 AM1/13/10
to vrjuggler...@googlegroups.com
Hello Miroslav,

On Jan 13, 2010, at 4:45 AM, Miroslav Andel wrote:

Hi,
 
I downloaded the latest source code from SVN, compiled it with MS visual studio 2008 and installed it. So far so good.. But when I compile any application or the samples I run into a runtime error.
 
I have successfully built and used binaries with MSVS 2008. I cannot speak to any of the examples.

Here is the output from visual studio:
 
First-chance exception at 0x772ee124 in MPApp.exe: Microsoft C++ exception: std::length_error at memory location 0x0017f7ec..
Unhandled exception at 0x772ee124 in MPApp.exe: Microsoft C++ exception: std::length_error at memory location 0x0017f7ec..
 
Here is the cmd line output:

[snip]

I’m using boost 1_41, cppdom-1.0.0, gmtl-0.6.0, nspr-4.6.4 to build VR juggler. Any hints?
Those look like the correct versions.

Which versions of the dependencies are you using to compile a working build? Anybody tried and had success with the visual studio 2010 beta?
I have not.

 
It would be great to have all the dependencies precompiled on the SVN like OSG deps, It’s always a hassle to get all the dependencies, their dependencies and building systems and then compile VR juggler. By the way, OSG 2.9.7 does not work with vr juggler 2.2.1.
I am not too surprised. OSG 2.9.7 is a developers release. Once there is a stable version of OSG released we are planning on updating SVN HEAD of VR Juggler to support any new changes in OSG. If you want to take a shot at doing this update please submit a patch.

I’m getting a black screen and a lot of openGL errors/warnings in the cmd-window. OSG 2.9.5 works just fine. Anybody know if they stopped supporting sceneview?

To my knowledge this is not the case. We track this pretty closely but something could have been changed by Robert that we did not catch.

Doug

Todd J. Furlong

unread,
Jan 13, 2010, 8:24:52 AM1/13/10
to vrjuggler...@googlegroups.com
Miroslav,

Make sure that all your dependencies are built with VC9. If you have
any libraries built with VC8, applications are likely to fail in that way.

-Todd

> I�m using boost 1_41, cppdom-1.0.0, gmtl-0.6.0, nspr-4.6.4 to build VR


> juggler. Any hints? Which versions of the dependencies are you using to
> compile a working build? Anybody tried and had success with the visual
> studio 2010 beta?
>
> It would be great to have all the dependencies precompiled on the SVN

> like OSG deps, It�s always a hassle to get all the dependencies, their


> dependencies and building systems and then compile VR juggler. By the

> way, OSG 2.9.7 does not work with vr juggler 2.2.1. I�m getting a black


> screen and a lot of openGL errors/warnings in the cmd-window. OSG 2.9.5
> works just fine. Anybody know if they stopped supporting sceneview?
>
> Cheers,
>

> Miroslav, Link�ping University
>

Miroslav Andel

unread,
Jan 15, 2010, 8:27:43 AM1/15/10
to vrjuggler...@googlegroups.com
Hi,

I realized that NSPR was build with an older version of visual studio. I downloaded and compiled NSPR 4.8 RTM, reconfigured the vr juggler build and recompiled. Still I got the same error as before.

I'm a bit unsure about the cppdom-1.0.0 build since I have both visual studio 8 and 9 installed. I have never used scons before and now when I look into the mainifest file I can see it was build with VC8.0. So this is probably what's causing my problems. How do I specify which compiler to use with scons?

Thanks for the help!

::Miroslav

-----Ursprungligt meddelande-----
Från: vrjuggler...@googlegroups.com [mailto:vrjuggler...@googlegroups.com] För Todd J. Furlong
Skickat: den 13 januari 2010 14:25
Till: vrjuggler...@googlegroups.com
Ämne: Re: [vrjuggler-questions] Problems with my VRJ vc90 win32 build

Miroslav,

-Todd

> I'm using boost 1_41, cppdom-1.0.0, gmtl-0.6.0, nspr-4.6.4 to build VR


> juggler. Any hints? Which versions of the dependencies are you using to
> compile a working build? Anybody tried and had success with the visual
> studio 2010 beta?
>
> It would be great to have all the dependencies precompiled on the SVN

> like OSG deps, It's always a hassle to get all the dependencies, their


> dependencies and building systems and then compile VR juggler. By the

> way, OSG 2.9.7 does not work with vr juggler 2.2.1. I'm getting a black


> screen and a lot of openGL errors/warnings in the cmd-window. OSG 2.9.5
> works just fine. Anybody know if they stopped supporting sceneview?
>
> Cheers,
>

> Miroslav, Linköping University
>

Doug McCorkle

unread,
Jan 15, 2010, 8:31:51 AM1/15/10
to vrjuggler...@googlegroups.com
The newer versions of SCons will pick up:

MSVS_ARCH

MSVS_VERSION

This is in there man pages.

Doug

Miroslav Andel

unread,
Jan 18, 2010, 5:50:27 AM1/18/10
to vrjuggler...@googlegroups.com
It seems that it doesn't pick up the information with MSVS 9.0.

Scons detected that I had MSVS 9.0 installed and printed out "Using MSVS version 9.0" but still used the MSVS 8 compiler (cl.exe from the vc8 directories). So I tried it on a computer with only MSVS 9.0 installed and it didn't work at all and exited with an error message. Then I went back to my laptop and uninstalled visual studio 2005 and tried to run scons on that machine and got the same error message as from the other computer:

C:\Users\miran\Downloads\cppdom-1.0.0\cppdom-1.0.0>"C:\Python26\Scripts\scons.ba
t" install
scons: Reading SConscript files ...
NOTE: The build is currently in development. It needs the SVN trunk version of
scons-addons
Building CppDom Version: 1.0.0
Using MSVS versionKeyError: 'VERSION':
File "C:\Users\miran\Downloads\cppdom-1.0.0\cppdom-1.0.0\SConstruct", line 52:

print "Using MSVS version", common_env["MSVS"]["VERSION"]


C:\Users\miran\Downloads\cppdom-1.0.0\cppdom-1.0.0>

I have the latest stable version of scons installed. Any hints? I have never used scons before but I seams that it exits before any arguments to scons are read/parsed (I quickly browsed through the code of SConstuct).

Both of my computers run 64-bit widows and I don't know if this might be a problem. For start I just want to be able to compile the 32-bit version of vr juggler. I guess that a 64-bit version of python is required otherwise.

Does anybody have 32-bits MSVS 9.0 (release builds) of cppdom-1.0.0? Or can anybody point me in the right direction how to compile cppdom for MSVS 9.0?

Kind regards,

Miroslav

Todd J. Furlong

unread,
Jan 18, 2010, 8:52:34 AM1/18/10
to vrjuggler...@googlegroups.com
Miroslav,

I am uploading binaries for you. I will send another note when they are
ready to download.

-Todd

>> Fr�n: vrjuggler...@googlegroups.com [mailto:vrjuggler...@googlegroups.com
>> ] F�r Todd J. Furlong


>> Skickat: den 13 januari 2010 14:25
>> Till: vrjuggler...@googlegroups.com

>> �mne: Re: [vrjuggler-questions] Problems with my VRJ vc90 win32 build

>>> Miroslav, Link�ping University
>>>
>

Todd J. Furlong

unread,
Jan 18, 2010, 1:50:03 PM1/18/10
to vrjuggler...@googlegroups.com
OK, here is a zip of all our VC9 dependencies:
http://www.inv3rsion.com/vrjuggler/juggler-deps.zip

It is a large file, as it contains release & debug binaries of more than
just cppdom.

-Todd

--
Todd J. Furlong
Inv3rsion, LLC
http://www.inv3rsion.com
888-588-0573 x701 office
603-759-9035 mobile
888-588-0573 fax

Miroslav Andel

unread,
Jan 19, 2010, 3:33:01 AM1/19/10
to vrjuggler...@googlegroups.com
Thanks a lot!

It's very appreciated.

//Miroslav

-----Ursprungligt meddelande-----
Från: vrjuggler...@googlegroups.com [mailto:vrjuggler...@googlegroups.com] För Todd J. Furlong
Skickat: den 18 januari 2010 19:50
Till: vrjuggler...@googlegroups.com
Ämne: Re: SV: [vrjuggler-questions] Problems with my VRJ vc90 win32 build

-Todd

>>> Från: vrjuggler...@googlegroups.com
>>> [mailto:vrjuggler...@googlegroups.com
>>> ] För Todd J. Furlong


>>> Skickat: den 13 januari 2010 14:25
>>> Till: vrjuggler...@googlegroups.com

>>> Ämne: Re: [vrjuggler-questions] Problems with my VRJ vc90 win32 build

>>>> Miroslav, Linköping University

Reply all
Reply to author
Forward
0 new messages