Error compiling

Empaler

18-02-2010 14:45:21

Hi

i had this error compiling nxogre

1>------ Build started: Project: NxOgre, Configuration: Debug Win32 ------
1>Compiling...
1>nedmalloc.cpp
1>c:\nxogre\build\msvc\source\malloc.c.h(1750) : error C3861: '__readfsdword': identifier not found
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(PHYSX_DIR)
1>Build log was saved at "file://c:\nxOgre\build\msvc\Debug\BuildLog.htm"
1>NxOgre - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Any idea how can this be fixed ?

Thanks

betajaen

18-02-2010 14:52:42

http://nxogre.org/environmental_variable_for_physx

Empaler

18-02-2010 15:27:30

Forgot to reboot :$

But still
1>------ Build started: Project: NxOgre, Configuration: Debug Win32 ------
1>Compiling...
1>nedmalloc.cpp
1>c:\nxogre\build\msvc\source\malloc.c.h(1750) : error C3861: '__readfsdword': identifier not found
1>Build log was saved at "file://c:\nxOgre\build\msvc\Debug\BuildLog.htm"
1>NxOgre - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Empaler

18-02-2010 16:33:39

Ok fixed the error by looking at
https://www.ogre3d.org/forums/viewtopic.php?f=2&t=47626

But now

1>------ Build started: Project: NxOgre, Configuration: Debug Win32 ------
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'NxCooking.lib'
1>Build log was saved at "file://c:\nxOgre\build\msvc\Debug\BuildLog.htm"
1>NxOgre - 1 error(s), 0 warning(s)
2>------ Build started: Project: OGRE3DRenderSystem, Configuration: Debug Win32 ------
3>------ Build started: Project: GLUTRenderSystem, Configuration: Debug Win32 ------
3>GLUTRenderSystem : warning PRJ0009 : Build log could not be opened for writing.
3>Make sure that the file is not open by another process and is not write-protected.
3>Creating library...
2>Creating library...
3>LINK : fatal error LNK1181: cannot open input file 'NxOgre_Debug.lib'
3>Build log was saved at "file://c:\nxOgre\build\msvc\Debug\BuildLog.htm"
3>GLUTRenderSystem - 1 error(s), 1 warning(s)
2>LINK : fatal error LNK1181: cannot open input file 'NxOgre_Debug.lib'
2>Build log was saved at "file://c:\nxOgre\build\msvc\Debug\BuildLog.htm"
2>OGRE3DRenderSystem - 1 error(s), 0 warning(s)
4>------ Build started: Project: NxOgreAddonCharacterController, Configuration: Debug Win32 ------
4>Creating library...
4>LINK : fatal error LNK1181: cannot open input file 'NxOgre_Debug.lib'
4>Build log was saved at "file://c:\nxOgre\build\msvc\Debug\BuildLog.htm"
4>NxOgreAddonCharacterController - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========


and those libs dont exist im my computer :S
Do i need to do more than install the physX SDK ?

Jubei

22-04-2010 19:00:40

I have the same issue compiling NxOgre. The linker is looking for NXCooking.lib but the closes thing I have is some NxCooking.dll 's and they are not in the SDK, they are under :

C:\Program Files (x86)\NVIDIA Corporation\PhysX\Engine\v2.x.x

betajaen

22-04-2010 19:36:27

They've changed the names. They are now PhysXCooking.lib and PhysXCooking.dll