Hi all - I've read about the Visual Studio Versions - I have the latest DarkGDK Physics *.lib and *.h from the
DarkPhysics_GDK_261108 download.
I added to the
Linker->General->Additional Dependancies this:
"C:\Program Files\The Game Creators\Dark GDK\Lib\vs9\DarkPhysics.lib"
But I'm still getting these linker errors - can anyone help?
1>------ Rebuild All started: Project: GameClasses, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'GameClasses', configuration 'Debug|Win32'
1>Compiling...
1>jgc_bitmap.cpp
1>jgc_bitmapfonts.cpp
1>jgc_camera.cpp
1>jgc_clock.cpp
1>jgc_common.cpp
1>jgc_daddy.cpp
1>jgc_darkphysics.cpp
1>jgc_display.cpp
1>jgc_effect.cpp
1>jgc_file.cpp
1>jgc_frustrumculling.cpp
1>jgc_funstuff.cpp
1>jgc_fvfinfo.cpp
1>jgc_gui.cpp
1>jgc_image.cpp
1>jgc_light.cpp
1>jgc_matrix.cpp
1>jgc_memblock.cpp
1>jgc_mesh.cpp
1>jgc_meshj.cpp
1>Generating Code...
1>Compiling...
1>jgc_meshv.cpp
1>jgc_music.cpp
1>jgc_object.cpp
1>jgc_pixelgrid.cpp
1>jgc_sky.cpp
1>jgc_sound.cpp
1>jgc_sprite.cpp
1>jgc_terrain.cpp
1>jgc_timer.cpp
1>jgc_userinput.cpp
1>jgc_usgs.cpp
1>jgc_vector.cpp
1>jgc_vertinfo.cpp
1>lidar_render_test_01.cpp
1>jfc_clock.cpp
1>jfc_common.cpp
1>jfc_date.cpp
1>jfc_dl.cpp
1>jfc_file.cpp
1>jfc_rgba.cpp
1>Generating Code...
1>Compiling...
1>jfc_splash.cpp
1>jfc_string.cpp
1>jfc_stringw.cpp
1>jfc_timer.cpp
1>jfc_tlbr.cpp
1>jfc_userinput.cpp
1>jfc_xyz.cpp
1>Generating Code...
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1> Creating library Debug\GameClasses.lib and object Debug\GameClasses.exp
1>jgc_darkphysics.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhySetAutoFixedTiming(void)" (?dbPhySetAutoFixedTiming@@YAXXZ) referenced in function "public: __thiscall JGC_DARKPHYSICS::JGC_DARKPHYSICS(int)" (??0JGC_DARKPHYSICS@@QAE@H@Z)
1>jgc_darkphysics.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyStart(int,int,int)" (?dbPhyStart@@YAXHHH@Z) referenced in function "public: __thiscall JGC_DARKPHYSICS::JGC_DARKPHYSICS(int)" (??0JGC_DARKPHYSICS@@QAE@H@Z)
1>jgc_darkphysics.obj : error LNK2019: unresolved external symbol "int __cdecl dbPhysX(void)" (?dbPhysX@@YAHXZ) referenced in function "public: __thiscall JGC_DARKPHYSICS::JGC_DARKPHYSICS(int)" (??0JGC_DARKPHYSICS@@QAE@H@Z)
1>jgc_darkphysics.obj : error LNK2019: unresolved external symbol "void __cdecl dbPhyUpdate(int)" (?dbPhyUpdate@@YAXH@Z) referenced in function "public: bool __thiscall JGC_DARKPHYSICS::Update(void)" (?Update@JGC_DARKPHYSICS@@QAE_NXZ)
1>Debug\GameClasses.exe : fatal error LNK1120: 4 unresolved externals
1>Build log was saved at "file://f:\files\code\CPP\Projects\JegasLLC JGC v3.0 vs2008\Debug\BuildLog.htm"
1>GameClasses - 5 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Thankx in advance - I'm getting closer to releasing an updated version of
http://code.google.com/p/darkgdkoop/ tha has better dynamic array management - uses a templated class like STDLIB Vector but I personally think its easier to use. Additionally there are some really neat utilities in it for manipulating data for terrain development - in fact I made this terrain using the utilities I mentioned to get the attached render.