Sure.
DarkODEGDK.h is in my Project Folder.
DarkODEDemp.cpp is in my Project Folder. Working DarkGDK "Wizard" Main.cpp replaced with this file.
DarkGDKODE.lib is in
"C:\Program Files\The Game Creators\Dark GDK\Lib\vs9\DarkGDKODE.lib"
Project->Linker->Input Setting has entry pointing DIRECTLY to it (Even though it prob doesn't need it as all the DarkGDK libs "just seem" to work. But I added the entry for good measure.
Errors:
------ Build started: Project: GameClasses, Configuration: Release Win32 ------
Linking...
DarkGDKODE.lib(ODEPhysics.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
terrain.lib(Core.obj) : error LNK2005: "void __cdecl ReceiveCoreDataPtr(void *)" (?ReceiveCoreDataPtr@@YAXPAX@Z) already defined in DarkGDKODE.lib(ODEPhysics.obj)
Creating library Release\GameClasses.lib and object Release\GameClasses.exp
DarkGDKODE.lib(ODEPhysics.obj) : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "public: struct sODEObject & __thiscall std::vector<struct sODEObject,class std::allocator<struct sODEObject> >::operator[](unsigned int)" (??A?$vector@UsODEObject@@V?$allocator@UsODEObject@@@std@@@std@@QAEAAUsODEObject@@I@Z)
DarkGDKODE.lib(convex.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
Release\GameClasses.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://d:\files\code\CPP\Projects\JegasLLC\GameClasses\Release\BuildLog.htm"
GameClasses - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Now I thought your *.lib file DarkGDKODE.lib was self contained but my gut said "maybe not" when I saw the linker error messages. So I'm downloanding Win32 ODE Release 0.8??? to match what you compiled against....
... and the result.... is:
D:\files\archives\codingrelated\3DDev\Physics\ode-win32-0.8\ode-0.8\include\ode\memory.h(28) : fatal error C1083: Cannot open include file: 'ode/config.h': No such file or directory
jfc_common.cpp
Generating Code...
Build log was saved at "file://d:\files\code\CPP\Projects\JegasLLC\GameClasses\Release\BuildLog.htm"
GameClasses - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
So.. I opened the Memory.h include file and it had the line:
which I changed to
and the results:
------ Build started: Project: GameClasses, Configuration: Release Win32 ------
Compiling...
jfc_dl.cpp
Linking...
LINK : fatal error LNK1181: cannot open input file 'D:\files\archives\codingrelated\3DDev\Physics\ode-win32-0.8\ode-0.8\lib\releasedll.obj'
Build log was saved at "file://d:\files\code\CPP\Projects\JegasLLC\GameClasses\Release\BuildLog.htm"
GameClasses - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Which turned out to be a wrong line in projects->linker->input:
D:\files\archives\codingrelated\3DDev\Physics\ode-win32-0.8\ode-0.8\lib\releasedll\ode.lib
-----I had this originally:
D:\files\archives\codingrelated\3DDev\Physics\ode-win32-0.8\ode-0.8\lib\releasedll
But THEN I got:
------ Build started: Project: GameClasses, Configuration: Release Win32 ------
Linking...
DarkGDKODE.lib(ODEPhysics.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
terrain.lib(Core.obj) : error LNK2005: "void __cdecl ReceiveCoreDataPtr(void *)" (?ReceiveCoreDataPtr@@YAXPAX@Z) already defined in DarkGDKODE.lib(ODEPhysics.obj)
Creating library Release\GameClasses.lib and object Release\GameClasses.exp
DarkGDKODE.lib(ODEPhysics.obj) : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "public: struct sODEObject & __thiscall std::vector<struct sODEObject,class std::allocator<struct sODEObject> >::operator[](unsigned int)" (??A?$vector@UsODEObject@@V?$allocator@UsODEObject@@@std@@@std@@QAEAAUsODEObject@@I@Z)
DarkGDKODE.lib(convex.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
Release\GameClasses.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://d:\files\code\CPP\Projects\JegasLLC\GameClasses\Release\BuildLog.htm"
GameClasses - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
And decided sending this post was something maybe I should do.
Seriously, I appreciate your responses. Please pardon a slight deviation from seriousness to follow...
please forgive the following side note of humour for TempIceP - the linker error king
(TempIceP) Will yell at me (rightfully) for using full paths... but I'm ok with that - I'll find something to yell at him about ... even if I have make something up