Compiling under MSVC2005 keep getting linking errors

I've been dumbfounded for the past two hours and cant seem to find a solution to this.

I thought I set everything up correctly, Under the folder directories settings, I added the include path to the include directories and the box2d path to the source code directories. but I keep getting these 5 linker errors that have to do with the b2World class.

Code:
game.obj : error LNK2019: unresolved external symbol "public: struct b2Body * __thiscall b2World::CreateBody(struct b2BodyDef const *)" (?CreateBody@b2World@@QAEPAUb2Body@@PBUb2BodyDef@@@Z) referenced in function "int __cdecl Game_Init(struct HWND__ *)" (?Game_Init@@YAHPAUHWND__@@@Z)
game.obj : error LNK2019: unresolved external symbol "public: __thiscall b2World::b2World(struct b2AABB const &,struct b2Vec2 const &,bool)" (??0b2World@@QAE@ABUb2AABB@@ABUb2Vec2@@_N@Z) referenced in function "int __cdecl Game_Init(struct HWND__ *)" (?Game_Init@@YAHPAUHWND__@@@Z)
game.obj : error LNK2019: unresolved external symbol "public: void __thiscall b2World::Step(float,int)" (?Step@b2World@@QAEXMH@Z) referenced in function "void __cdecl Game_Run(struct HWND__ *)" (?Game_Run@@YAXPAUHWND__@@@Z)
game.obj : error LNK2019: unresolved external symbol "public: __thiscall b2World::~b2World(void)" (??1b2World@@QAE@XZ) referenced in function "public: void * __thiscall b2World::`scalar deleting destructor'(unsigned int)" (??_Gb2World@@QAEPAXI@Z)
C:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\Debug\PhysTest.exe : fatal error LNK1120: 4 unresolved externals


Usually those errors are spawned cause functions are used but the linker can find the source code, so I went a head and added every folder path to the source directory settings... still didn't work.

any help would be most appreciated.
The linker isn't linking b2World.obj

Have you look at the BuildLog.htm files?
this is the buildlog.htm
Code:
Build Log
       

Build started: Project: PhysTest, Configuration: Debug|Win32

Command Lines
       

Creating temporary file "c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\RSP00001225523336.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP ".\game.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\RSP00001225523336.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\RSP00001325523336.rsp" with contents
[
/OUT:"C:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\Debug\PhysTest.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"Debug\PhysTest.exe.intermediate.manifest" /DEBUG /PDB:"c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\debug\PhysTest.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 zolo4.4.lib d3d9.lib d3dx9.lib dsound.lib dinput8.lib dxguid.lib dxerr9.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib

".\Debug\game.obj"

".\Debug\winmain.obj"

".\Debug\PhysTest.exe.embed.manifest.res"
]
Creating command line "link.exe @"c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\RSP00001325523336.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\RSP00001425523336.rsp" with contents
[
/out:".\Debug\PhysTest.exe.embed.manifest" /notify_update /manifest

".\Debug\PhysTest.exe.intermediate.manifest"
]
Creating command line "mt.exe @"c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\RSP00001425523336.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\BAT00001525523336.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\Debug\mt.dep"
]
Creating command line """c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\BAT00001525523336.bat"""

Output Window
       

Compiling...
game.cpp
c:\zololib\include\zoloparticleemitter.h(64) : warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data
c:\dxsdk\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
c:\zololib\include\zmcslider.h(42) : warning C4244: 'return' : conversion from 'float' to 'int', possible loss of data
c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\zoloengine\phystest\game.cpp(76) : warning C4305: '=' : truncation from 'double' to 'float32'
c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\zoloengine\phystest\game.cpp(81) : warning C4305: '=' : truncation from 'double' to 'float'
Linking...
Embedding manifest...

Results
       

Build log was saved at "file://c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\ZoloEngine\PhysTest\Debug\BuildLog.htm"
PhysTest - 0 error(s), 4 warning(s)



I'm no expert at how the linker works... would I maybe have something out of order that would cause this? If I completely comment out everything to do with b2World Everything compiles just fine.
Did you make your game project dependent on the Box2D project or library?
Quote:
zolo4.4.lib d3d9.lib d3dx9.lib dsound.lib dinput8.lib dxguid.lib dxerr9.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib


You're not linking with the Box2d library. That would probably be the problem..
there is no box2d lib. I'll try compiling it into one and get back to ya later.

durrr, I compiled the lib and linked to it and it works perfectly, time to make a simple object manager and I want to make a physics based version of breakout.

Original thread: https://box2d.org/forum/viewtopic.php?t=140