If you followed my last post you should have Visual C++ up and running and a API folder inside your user folder, if not then go ahead and do that. If you have Visual C++ up and running just keep on reading.
Software Versions used:
- Visual Studio 2008/Visual C++
- ARToolKit 2.71.1 32bits
- Windows 7 Professional 64bits
- OpenGL/Glut libs
- Download ARToolKit's latest version: ARToolkit Download.
- Download Glut from this site and download the lastest version, at this time its glut 3.6 stable and 3.7beta so let's stick with v3.6. (OpenGL should come with Windows by default).
- Copy the glut32.lib to your system folder (C:\Windows\SySWoW64 on 64bit OS and C:\Windows\System32 on 32 bits OS)
- Download the glu/glut files for Visual C++ from here. Unpack it and copy the GL folder it to your includes folder under Visual Studio (defaults to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include). Now copy the files inside lib to the VC lib directory (VC\lib).
- Now download msvcp71d.dll and msvcr71d.dll from dll-files.com http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71d and http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71d
- Unpack ARToolKit (recommended in any folder under your home).
- Open the ARToolKit project with Visual C++ (ARToolKit/ARToolkit.sln) and follow the Wizard to update it to a 2008 project.
- Paste the msvcp and msvcr dlls to the ARToolKit\bin.
- Build the projects with Visual C++, it should build fine
Sources: ARToolkit documentation and Maxwell Anderson's blog (pt_br): http://maxwellanderson.wordpress.com/2009/05/28/configurando-o-artoolkit-e-a-openvrml-no-microsoft-visual-studio-2008-parte-12/