nxogre dll error

nathaliamn

07-01-2011 17:05:59

hi,

sorry by the newbie post.
I've just compile nxogre, and in the end i got this popup error:

"Unable to start program:
..\NxOgreDebug.dll "

log:
1>------ Build started: Project: NxOgre, Configuration: Debug Win32 ------
1> NxOgre.cpp
1>c:\nxogre\build\source\nxogrevec3.cpp(117): warning C4715: 'NxOgre::Vec3::axis' : not all control paths return a value
1> Creating library C:\NxOgre\build\vc10\Debug\NxOgreDebug.lib and object C:\NxOgre\build\vc10\Debug\NxOgreDebug.exp
1> NxOgre.vcxproj -> C:\NxOgre\build\vc10\Debug\NxOgreDebug.dll
1> [BuildBot] Copying dlls, libs and headers to SDK directory.
1> 1 file(s) copied
1> 1 file(s) copied
1> 192 file(s) copied
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

someone?

betajaen

07-01-2011 17:30:14

Did you copy the NxOgreDebug.dll into your directory?

And that log showed NxOgre compiled correctly, that warning isn't really an issue - just Visual Studio being picky.

nathaliamn

07-01-2011 18:06:21

Yes. Then i compiled the critter and the nxogretutorials.

In my ogre\bin\debug directory i have: NxOgre1002Debug.dll , NxOgreDebug.dll
and in the ogre\bin\release i have: NxOgre1002.dll , NxOgre.dll

but i can't find the SamplesBrowser.exe

betajaen

07-01-2011 18:08:23

Did you compile the Ogre Samples?

nathaliamn

08-01-2011 16:56:05

Ok, now i compiled.

I ran the SampleBrowser and it shows a message "these request sample plugins were either missing, corrupt or invalid: \.NxOgre1002"

nathaliamn

09-01-2011 18:35:39

hi betajaen,

do you have a Cake of buggyswires?

I'm a completely lost and i really need a base application to start in nxOgre.

Thanx for you help.

cdreid

09-01-2011 22:28:53

Samplebrowser is located in the ogre directory tree. The solution should have created all the dll's in the samplebrowser directory.
Id bet youre looking for cake for nxogre.zip containing the mesh files etc. It should be located under your nxogre directory tree. go to the samplebrowser directory and past its location to resources_d.cfg similar to this

Zip=I:\PROGRAMMING\Ogre\OgreSDK_vc9_v1-7-2\bin\debug\nxogre.zip
Youll see a bunch of other zips under there like skybox etc attach it there.
You may also have to edit samples_d.cfg (i did). I think theres a problem with the solutions editing that
formats it incorrectly. Remove other references in the file to these and put these at the top of the file:

SamplePlugin=NxOgre114Debug
SamplePlugin=NxOgre1002Debug
SamplePlugin=NxOgre102Debug
SamplePlugin=NxOgre1001Debug
SamplePlugin=NxOgre107Debug
SamplePlugin=NxOgre104Debug
SamplePlugin=NxOgre105Debug
SamplePlugin=NxOgre113Debug
SamplePlugin=NxOgre106Debug
SamplePlugin=NxOgre111Debug
SamplePlugin=NxOgre109Debug
SamplePlugin=NxOgre110Debug
SamplePlugin=NxOgre117Debug
SamplePlugin=NxOgre108Debug
SamplePlugin=NxOgre1003Debug
SamplePlugin=NxOgre101Debug
SamplePlugin=NxOgre103Debug
SamplePlugin=SandboxDebug
SamplePlugin=NxOgre1004Debug


Hope that helps you. And look at the source of the sample plugins its really well done.

nathaliamn

10-01-2011 12:54:48

hey, thanxs!

Now work it. The problem really was the missing line in resourse_d.cgf
And i dont know why, but it only worked in debug configuration.

nathaliamn

10-01-2011 13:19:56

Well, the nxogre1002 did not ran.

The program crashed, look:


:cry:

betajaen

10-01-2011 13:24:33

Yeah, I need much more than a hexidecimal number to go on.

nathaliamn

10-01-2011 22:08:12

actually, when i run the sample browser, it says that is missing NxCharacter.dll

betajaen

10-01-2011 22:40:16

Copy it over in to the Sample's folder then. If your using PhysX 2.8.4, then most likely, you'll need to copy the PhysX dlls into there too.

nathaliamn

11-01-2011 16:51:13

Ok, i solved xD

I just did what that post says:
"SDK 2.8.4. does not require System Software installation anymore. You need to put PhysXLoader.dll, PhysXCore.dll, PhysXCooking.dll, PhysXDevice.dll and the cudartXX_XX_X.dll (can be found in \NVIDIA PhysX SDK\v2.8.4_win\Bin\win32) into directory, where the your app .exe is located" : http://developer.nvidia.com/forums/inde ... topic=5583

Thanx, everyone.

betajaen

11-01-2011 17:40:43

That's interesting. I wonder if that is intentional or because the System Software hasn't been updated to include 2.8.4 yet. It will very useful if we don't have to use the System Software anymore.

tobias88888

25-03-2014 12:06:58

Same was here... The most ridiculous thing is that the Physx SDK\Bin\win32\ is included in the path variable...