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 GDK / Please help - Dark Physics examples do not compile after applying Dark Physics update 260509

Author
Message
Juggernaut
12
Years of Service
User Offline
Joined: 12th Mar 2012
Location:
Posted: 10th Feb 2013 22:15
I am faced with a new problem using Dark Physics in Dark GDK.

If I update to the latest version of Dark GDK - DarkPhysics_GDK_261108

the samples that come along do not compile at all either in release or debug mode.

But if I keep my update up to the previous version - Dark_Physics_GDK_260509 the samples compile both in debug and release mode.

Bellow is the error shown by the visual studio 2008 express edition.

Quote: "
1>------ Build started: Project: Multiple Cloth Objects, Configuration: Debug Win32 ------
2>------ Build started: Project: Bridge, Configuration: Debug Win32 ------
3>------ Build started: Project: Particles, Configuration: Debug Win32 ------
4>------ Build started: Project: Vehicle, Configuration: Debug Win32 ------
1>Linking...
4>Linking...
2>Linking...
3>Linking...
4>darkphysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
2>DarkPhysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
4>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
1>DarkPhysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
2>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
3>DarkPhysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
3>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
4>darkphysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
4>darkphysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
4>darkphysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
4>darkphysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
4>darkphysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
4>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Vehicle.exe : fatal error LNK1120: 5 unresolved externals
2>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
2>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
2>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
3>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
2>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
3>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
2>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
3>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
2>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Bridge.exe : fatal error LNK1120: 5 unresolved externals
3>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
1>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
3>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
1>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
3>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Particles.exe : fatal error LNK1120: 5 unresolved externals
1>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
1>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
1>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
1>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Multiple Cloth Objects.exe : fatal error LNK1120: 5 unresolved externals
4>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Vehicle\Debug\BuildLog.htm"
2>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Bridge\Debug\BuildLog.htm"
4>Vehicle - 6 error(s), 1 warning(s)
2>Bridge - 6 error(s), 1 warning(s)
3>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Particles\Debug\BuildLog.htm"
1>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Multiple Cloth Objects\Debug\BuildLog.htm"
1>Multiple Cloth Objects - 6 error(s), 1 warning(s)
3>Particles - 6 error(s), 1 warning(s)
5>------ Build started: Project: Advanced Machinery, Configuration: Debug Win32 ------
6>------ Build started: Project: Force Fields, Configuration: Debug Win32 ------
7>------ Build started: Project: Sphere Explosion, Configuration: Debug Win32 ------
8>------ Build started: Project: Falling Objects, Configuration: Debug Win32 ------
6>Linking...
5>Linking...
7>Linking...
8>Linking...
6>DarkPhysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
6>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
7>DarkPhysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
7>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
5>DarkPhysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
5>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
8>DarkPhysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
8>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
6>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
6>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
7>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
7>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
6>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
7>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
6>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
6>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
7>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
6>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Force Fields.exe : fatal error LNK1120: 5 unresolved externals
7>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
7>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Sphere Explosion.exe : fatal error LNK1120: 5 unresolved externals
8>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
8>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
8>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
6>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Force Fields\Debug\BuildLog.htm"
5>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
8>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
8>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
5>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
8>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Falling Objects.exe : fatal error LNK1120: 5 unresolved externals
5>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
5>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
5>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
5>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Advanced Machinery.exe : fatal error LNK1120: 5 unresolved externals
7>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Sphere Explosion\Debug\BuildLog.htm"
8>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Falling Objects\Debug\BuildLog.htm"
8>Falling Objects - 6 error(s), 1 warning(s)
7>Sphere Explosion - 6 error(s), 1 warning(s)
6>Force Fields - 6 error(s), 1 warning(s)
5>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Advanced Machinery\Debug\BuildLog.htm"
5>Advanced Machinery - 6 error(s), 1 warning(s)
9>------ Build started: Project: Water, Configuration: Debug Win32 ------
10>------ Build started: Project: Ball Drop, Configuration: Debug Win32 ------
9>Linking...
10>Linking...
9>DarkPhysics.lib(EngineProperties.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
9>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
10>DarkPhysics.lib(EngineSetup.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
10>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
9>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
9>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
9>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
10>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onDestroyDevice(void)" (?onDestroyDevice@DxFluidRenderer@@QAEXXZ)
9>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
10>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onLostDevice(void)" (?onLostDevice@DxFluidRenderer@@QAEXXZ)
9>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
10>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onResetDevice(struct IDirect3DDevice9 *)" (?onResetDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
9>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Water.exe : fatal error LNK1120: 5 unresolved externals
10>DarkPhysics.lib(EngineSetup.obj) : error LNK2001: unresolved external symbol "public: void __thiscall DxFluidRenderer::onCreateDevice(struct IDirect3DDevice9 *)" (?onCreateDevice@DxFluidRenderer@@QAEXPAUIDirect3DDevice9@@@Z)
10>DarkPhysics.lib(FluidUpdate.obj) : error LNK2001: unresolved external symbol "private: void __thiscall DxFluidRenderer::renderSurface(struct IDirect3DDevice9 *,struct D3DXMATRIX &,struct D3DXMATRIX &,float)" (?renderSurface@DxFluidRenderer@@AAEXPAUIDirect3DDevice9@@AAUD3DXMATRIX@@1M@Z)
10>C:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Debug\Ball Drop.exe : fatal error LNK1120: 5 unresolved externals
9>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Water\Debug\BuildLog.htm"
9>Water - 6 error(s), 1 warning(s)
10>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\Dark GDK\Samples\Dark Physics\Ball Drop\Debug\BuildLog.htm"
10>Ball Drop - 6 error(s), 1 warning(s)
========== Build: 0 succeeded, 10 failed, 0 up-to-date, 0 skipped ==========
"
Juggernaut
12
Years of Service
User Offline
Joined: 12th Mar 2012
Location:
Posted: 11th Feb 2013 14:45
I have narrowed down the file causing the errors. It is the "DarkPhysics.lib" file that comes with Dark Physics for Dark GDK update 261108 is causing the compilation error.

Login to post a reply

Server time is: 2024-11-18 21:49:51
Your offset time is: 2024-11-18 21:49:51