weird entry point error

DeFT 2K6

03-08-2006 18:47:04

Hi, i've installed the physx sdk 2.4.4, the nxOgre from CVS and ogrenew + dependencies. I'm now trying to run tutorial 101, but after I've built (in release mode) and then try to run the executable I get a weird entry point error saying:

"The procedure entry point ??0world@nxOgre@@QAE@PACRoot@Ogre@@PAVSceneManager@3@_N@Z could not be located in the dynamic link library nxOgre.dll."

I've searched through this forum and even googled the probelm, but haven't found any other people with a similar situation. I'm new to nxOgre so maybe I am missing a step - does anyone knwo what is causing this? Thx, ciao.

ColeZero

03-08-2006 18:56:35

So you have compiled Ogre and nxOgre in release-mode?
Better you use 2.3.3, there is definitely no problem..
normaly this error is caused when the .lib is different than the .dll.
For example: different compilations, compiled in debug-mode, but using release-dlls..

DeFT 2K6

03-08-2006 19:07:21

Ahh, I had to put the dll file in to the same directory as the tutorial's exe file in order for it to work. Thanks for the tip, ciao.

ColeZero

03-08-2006 22:11:15

Ok, great, but a little odd, because normaly, if the app doesn't find the correct dll, it'll tell you with a clearly error..but as long as it works now..

betajaen

03-08-2006 22:39:56

I get it all the time when I develop NxOgre.

It happens is that the function or class is slighty different from the dll it is using, and the dll it wants to use. Usually when I add some interface changes and I forget to recompile the tutorial.

DeFT 2K6

05-08-2006 05:59:51

Usually I don't have to worry about this, but now that I have to keep track of which dll's I'm using as I also have ois, raknet, cegui, and openal (w/nxOgre and Ogre) in my project it is definietly something to watch out for - thx for your help and suggestions.