This is meant to be a guide on how to get Box2D up and running for the first time in Visual Studio. I am using using Visual Studio 2008 but if you are using 2005 still the set up isn't really any different the menus just may be in a different spot.
This is my first tutorial feel free to post a reply if I missed anything.
Step one: Download the Box2D source. I like to keep my dev libraries in my C directory but you can extract it anywhere you please.
Step two: goto C:\Box2D_v2.0.1\Box2D\Build\VC8 and open the Visual Studio Solution file you find there. Then Press f7 to build the solution. Check C:\Box2D_v2.0.1\Box2D\Library you should notice a box2d_d object file library that was generated from building the solution.
Step three: Linking to the library :
Click Tool>Options
Projects and Solutions > VC++ Directories >show directories for: Library files

Add a new folder and select your \Box2D\Library folder

Do the same for Include
Almost Done!
Step four: Creating your first Box2D project:
File>New>Project>VisualC++>Win32 Win32 Console Application Click the Empty Project check box and select finish.
Now click Project>Properties>Configuration Properties>Linker>Input and click on 'Additional Dependencies'
Type: 'box2d_d.lib'

Now rightclick on Source Files and then Add Existing Item and add the HelloWorld.cpp file found in the example folder.
Press f5! Congrats your first Box2D project is up and running!
Nathan Schwermann
http://www.schwiz.net
[email hidden]
This is my first tutorial feel free to post a reply if I missed anything.
Step one: Download the Box2D source. I like to keep my dev libraries in my C directory but you can extract it anywhere you please.
Step two: goto C:\Box2D_v2.0.1\Box2D\Build\VC8 and open the Visual Studio Solution file you find there. Then Press f7 to build the solution. Check C:\Box2D_v2.0.1\Box2D\Library you should notice a box2d_d object file library that was generated from building the solution.
Step three: Linking to the library :
Click Tool>Options
Projects and Solutions > VC++ Directories >show directories for: Library files

Add a new folder and select your \Box2D\Library folder

Do the same for Include
Almost Done!
Step four: Creating your first Box2D project:
File>New>Project>VisualC++>Win32 Win32 Console Application Click the Empty Project check box and select finish.
Now click Project>Properties>Configuration Properties>Linker>Input and click on 'Additional Dependencies'
Type: 'box2d_d.lib'

Now rightclick on Source Files and then Add Existing Item and add the HelloWorld.cpp file found in the example folder.
Press f5! Congrats your first Box2D project is up and running!
Nathan Schwermann
http://www.schwiz.net
[email hidden]