fantscher
13-06-2006 12:41:42
Hi,
i've got just a little problem, but i don't know what do i wrong...
On this part of the installation tutorial:
"Set the compiler to Release mode. NxOgre will not run in debug mode as the PhysX SDK given does not give any debug librarys, if you do run it in Debug mode it will crash a lot. "
i've got this output:
------ Build started: Project: nxOgre, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file 'PhysXLoader.lib'
Build log was saved at "file://c:\Programme\NxOgre\scripts\VC8\NxOgre\obj\Release\BuildLog.htm"
nxOgre - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What's the problem?
magura
13-06-2006 13:44:59
drag the physxloader.lib (and all the other novodex libs) into your project space. Its not enough to just have them in your path.
betajaen
13-06-2006 17:40:50
Yep, sounds like a missing lib file/forgot to include a directory. Either do what magura says, or just copy the lib to where the other libs are.
Curious: What PhysX and NxOgre version are you using?
fantscher
14-06-2006 10:25:49
Ohh, yes is know i have to copy the physxloader.lib into my project space, but i didn't found the libs... i reinstalled the PhysX Engine and now i have it all...
mhmm, it's all like in the ogreinstallation ^^ I've got a new problem (in Ogre i've got 3
):
------ Build started: Project: nxTutorial101 - Box on a plane, Configuration: Debug Win32 ------
Compiling...
101.cpp
c:\programme\nxogre\nxtutorials\common\tutorialsimple.h(100) : error C2664: 'Ogre::Root::getSceneManager' : cannot convert parameter 1 from 'Ogre::SceneType' to 'const Ogre::String &'
Reason: cannot convert from 'Ogre::SceneType' to 'const Ogre::String'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Build log was saved at "file://c:\Programme\NxOgre\scripts\VC8\NxTutorials\Debug\BuildLog.htm"
nxTutorial101 - Box on a plane - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Ähmm, what version?... NXOgre 0.5 preview 3 and PhysX 2.3.3
betajaen
14-06-2006 11:29:10
Sounds like a Ogre issue. Your using Dagon right?
ColeZero
14-06-2006 12:08:05
Thats a small problem.
You have to look at this line of code in the tutorialSimple.h:
mSceneMgr = mRoot->getSceneManager(ST_GENERIC);
This is old, you need to change this line:
mSceneMgr = mRoot->createSceneManager(ST_GENERIC);
You are not using the cvs-version of nxogre, do you?
betajaen
14-06-2006 12:29:23
I knew it was the SceneManager changes for Dagon, but I was sure that Preview 3 supported this.
Must be the CVS then.
Perhaps it's time to release Preview 4 soon, instead of asking people to use the CVS.
fantscher
14-06-2006 13:12:24
ok, thanks all. I' ve got a new problem, but i don't know how should i explain it... i reinstalled all, and then i will post once more
fantscher
14-06-2006 14:00:36
l0l
no
Why? don't know...
------ Build started: Project: nxTutorialx06 - NxTurismo, Configuration: Debug Win32 ------
Compiling...
x06.cpp
Compiling manifest to resources...
Linking...
LINK : fatal error LNK1104: cannot open file 'nxOgre_d.lib'
Build log was saved at "file://c:\Programme\NxOgre\scripts\VC8\NxTutorials\Debug\BuildLog.htm"
nxTutorialx06 - NxTurismo - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
i can't find the nxOgre_d.lib... I thought i had deleted it, but it wasn't so...
betajaen
14-06-2006 17:17:05
You're compiling it in Debug, compile it as Release.
fantscher
15-06-2006 11:11:22
l0l
thanks...
mhmm, my f***in' graficard
the NxTurismo Tutorial doesn't start, because (i'm not sure
) my card only supports ps 1.4. Can someone made this example without complex shaders?
Or have i got an other problem? If I start this example, I see first a black screen and then the game finishes itself by itself
betajaen
15-06-2006 12:40:43
Yeah, if you go into "common/tutorialCar.h" see the line that says:
#define __NICE_FANCY_SKY__
Comment it.
betajaen
15-06-2006 15:13:32
It goes black, and exits?
Anything in the Ogre.log? I probably expect it's missing media.
fantscher
15-06-2006 16:21:00
15:50:25: 5
15:50:25: 6
15:50:25: Mesh: Loading nx6.chassis.mesh.
15:50:25: Texture: nx6.chassis.png: Loading 1 faces(PF_A8R8G8B8,4x4x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,4x4x1.
15:50:25: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 4
Function: SceneNode::attachObject
Description: Object already attached to a SceneNode or a Bone.
File: ..\src\OgreSceneNode.cpp
Line: 117
Stack unwinding: <<beginning of stack>>
15:50:25: Unregistering ResourceManager for type BspLevel
15:50:25: *-*-* OGRE Shutdown
15:50:25: Unregistering ResourceManager for type Compositor
15:50:25: Unregistering ResourceManager for type Font
15:50:25: Unregistering ResourceManager for type Skeleton
15:50:25: Unregistering ResourceManager for type Mesh
15:50:25: Unregistering ResourceManager for type HighLevelGpuProgram
15:50:25: Unloading library .\Plugin_CgProgramManager
15:50:25: Unloading library .\Plugin_OctreeSceneManager
15:50:25: Unloading library .\Plugin_BSPSceneManager
15:50:25: Unloading library .\Plugin_ParticleFX
15:50:25: *** Stopping Win32GL Subsystem ***
15:50:25: Unloading library .\RenderSystem_GL
15:50:25: Render Target 'Tutorial x06 - NxTurismo' Average FPS: 0 Best FPS: 0 Worst FPS: 999
15:50:25: D3D9 : Shutting down cleanly.
15:50:25: Unregistering ResourceManager for type Texture
15:50:25: Unregistering ResourceManager for type GpuProgram
15:50:25: D3D9 : Direct3D9 Rendering Subsystem destroyed.
15:50:25: Unloading library .\RenderSystem_Direct3D9
15:50:25: Unregistering ResourceManager for type Material
15:50:25: Unloading library OgrePlatform.dll
That's my log... I'm to stupid to know whats wrong
, but it's a code mistake or not?
betajaen
15-06-2006 16:56:23
Right, that seems familiar. There is a thread around here about that.
rUmbl3
15-06-2006 20:27:40
I got the same error when switching to Ogre 1.2.1 without recompiling nxOgre ... maybe that helps for you too
fantscher
16-06-2006 09:05:43
no, i've got the same problem
There is a thread around here about that.
really? i don't found it. Only the same like here:
http://www.ogre3d.org/phpBB2addons/view ... hlight=x06
Maybe i searched the wrong?
betajaen
16-06-2006 09:30:36
That is the same error, but I thought there was a fix for it.
I believe it's down to the vehicle's entity being attached twice. I'm just hoping magura will see this thread, as he knows more about the vehicle now than I do!
magura
16-06-2006 16:45:31
its just the way the camera is setup. It was being attached to a scenenode twice, once in the tutorialCar.h createCamera function where the camera is initially set up, and then attached again during x06.cpp
I dunno what the ogre reason is, but yep, this works
in x06.cpp
//SceneNode* camNode = mVehicle->mBody->mNode->createChildSceneNode();
//camNode->attachObject(mCamera);
mVehicle->mBody->mNode->attachObject(mCamera);
mCamera->setPosition(-6,1,0);
mCamera->lookAt(20,26,0);
and in tutorialCar.h comment out the following lines
//mCameraNode = mSceneMgr->getRootSceneNode()->createChildSceneNode("cameraNode");
//mCameraNode->attachObject(mCamera);
not sure if that adheres to the way the tutorials are set up, but that works. Sorry its late - had my last exam EVER Today
SUPERSTOKED heh
fantscher
18-06-2006 13:55:44
thanks magura and betajaen... now it works
and congratulations ^^