problem with environment variables setting

asafdav2

13-06-2007 18:11:28

hello, these are my very first few steps with nxogre (0.4 RC3.0)
after bulding successfully the NxOgre project, i'm trying to build tutorial 101. I was able to compile it, but apparently it doesn't recognize my environment variables:

1>Compiling...
1>101.cpp
1>Linking...
1>Embedding manifest...
1>Performing Post-Build Event...
1>The system cannot find the path specified.
1> 0 file(s) copied.
1>Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(NXOGRE_DIR)
1>$(PHYSX_DIR)


i attach a screen shot of my environment variables screen

the paths are:
NXOGRE_DIR: G:\Program Files\AGEIA Technologies\NxOgre\
PHYSX_DIR: G:\Program Files\AGEIA Technologies\AGEIA PhysX SDK\v2.6.2\

i am getting an NxTutorial101.exe file out of it, but when trying to run it i'm getting:
An exception has occured: OGRE EXCEPTION(6:FileNotFoundException): 'media/resources.cfg' file not found! in ConfigFile::load at ..\src\OgreConfigFile.cpp (line 84)

i believe this is due the fact that the NXOGRE_DIR is undefined and it doesnt know where to look for the \media folder

betajaen

13-06-2007 18:44:52

Shouldn't be that...Are you running the tutorial program inside G:\Program Files\AGEIA Technologies\NxOgre\tutorials ?

asafdav2

13-06-2007 20:42:45

ok, turns out it was just a matter of rebooting, it works now :D

edit : i'm having a problem with one of the tutorials

305:

Compiling...
305.cpp
..\305.cpp(90) : error C2664: 'nxOgre::scene::createRayCaster' : cannot convert parameter 1 from 'Ogre::Vector3' to 'Ogre::String'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called


it was asked before here, but without answer
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=3508&postdays=0&postorder=asc&highlight=betacairo&start=30