Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / nxcooking.dll not found

Author
Message
MultiyPlayer game
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Watching you!
Posted: 26th Mar 2008 07:59
I just got Dark Physics for dark gdk and every time i try to run a sample i get nxcooking.dll not found pleas help
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 26th Mar 2008 09:59
Copy nxcooking.dll into the game directory, from c:\program files\Dark Basic Professional\Compiler\plugins-licensed.


CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 27th Mar 2008 00:05
Quote: "I just got Dark Physics for dark gdk "





You need to copy all four DLLs from C:\Program Files\The Game Creators\Dark GDK\Samples\Dark Physics (If you installed to the default directory) to your project working directory.

Much good work is lost for the lack of a little more.
MultiyPlayer game
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Watching you!
Posted: 27th Mar 2008 05:12
This did not work i put all 4 of the .dll files in my work directory and this is the error i got.

1>------ Build started: Project: Dark GDK - 3D Game8, Configuration: Debug Win32 ------
1>Linking...
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyUpdate(void)" (?dbPhyUpdate@@YAXXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhySetRigidBodyLinearVelocity(int,float,float,float)" (?dbPhySetRigidBodyLinearVelocity@@YAXHMMM@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyMakeRigidBodyDynamicSphere(int)" (?dbPhyMakeRigidBodyDynamicSphere@@YAXH@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyMakeRevoluteJoint(int,int,int,float,float,float,float,float,float)" (?dbPhyMakeRevoluteJoint@@YAXHHHMMMMMM@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyMakeRigidBodyDynamicBox(int)" (?dbPhyMakeRigidBodyDynamicBox@@YAXH@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyMakeRigidBodyStaticBox(int)" (?dbPhyMakeRigidBodyStaticBox@@YAXH@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyStart(void)" (?dbPhyStart@@YAXXZ) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyMakeSphereJoint(int,int,int,float,float,float)" (?dbPhyMakeSphereJoint@@YAXHHHMMM@Z) referenced in function "void __cdecl createsupportchain(int,int,int,float,float,float)" (?createsupportchain@@YAXHHHMMM@Z)
1>Debug\Dark GDK - 3D Game8.exe : fatal error LNK1120: 8 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\The Black Knight\My Documents\Visual Studio 2008\Projects\Dark GDK - 3D Game8\Dark GDK - 3D Game8\Debug\BuildLog.htm"
1>Dark GDK - 3D Game8 - 9 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 27th Mar 2008 05:20
Copying the PhysX DLLs to your working directory doesn't cause those errors, they are linker errors. You need to add a reference to the DarkPhysics.lib in project settings -> Configuration Properties -> Linker -> Input -> Additional Dependencies

Much good work is lost for the lack of a little more.
MultiyPlayer game
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Watching you!
Posted: 28th Mar 2008 02:40
how do i do that?
MultiyPlayer game
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Watching you!
Posted: 30th Mar 2008 05:16
I got it now thanks

Login to post a reply

Server time is: 2024-05-19 23:56:35
Your offset time is: 2024-05-19 23:56:35