有没有简单的方法在Windows 7和Visual Studio 2010上安装ARTOOLKIT?所有可用的帮助都适用于VS2006和Windows XP。
答案 0 :(得分:4)
构建步骤:
(1)将ARToolKit拉链打开包装到方便的位置。此位置将在下面称为{ARToolKit}。
(2)将DSVideoLib zip解压缩到{ARToolKit}。确保该目录名为“DSVL”。
(3)将文件DSVL.dll和DSVLd.dll从{ARToolKit} \ DSVL \ bin复制到{ARToolKit} \ bin。
(4)安装GLUT,将* .h和* .lib放在VStudio文件夹中的GLUT SDK中(包括\ GL \ glut.h和lib \ glut32.lib)
(5)运行脚本{ARToolKit} \ Configure.win32.bat创建include \ AR \ config.h。
(6)打开ARToolKit.sln文件(VS.NET)或ARToolkit.dsw文件(VS6)。
(7)构建工具包。
VRML渲染库和示例(libARvrml& simpleVRML)是可选构建:
(8)将OpenVRML zip解压缩到{ARToolKit}。
(9)将js32.dll从{ARToolKit} \ OpenVRML \ bin复制到{ARToolKit} \ bin。
(10)在VS配置管理器中启用libARvrml和simpleVRML项目并进行构建。
一些提示:
(1)您可能需要本教程
http://www.artoolworks.com/support/library/ARToolKit_tutorial_1:_First_simple_ARToolKit_scene
(2)\ bin \ DATA \ WDM_camera_flipV.xml中的摄像头信息。将friendly_name更改为您的视频设备。尝试AMCap.exe获取您的视频设备名称。(例如我的是friendly_name =“USB视频设备”)
答案 1 :(得分:0)
这个问题很老了。较新版本的ARToolkit有一个安装程序,附带许多必需的软件包。这是我基于ARToolkit 5.3.1编写的内容
Requirements:
visual studio 2013
Installing OpenCV
1. Download OpenCV 2.4.11 http://iweb.dl.sourceforge.net/project/opencvlibrary/opencv-win/2.4.11/opencv-2.4.11.exe and extract
2. Copy all lib files from extracted opencv to visual studio: opencv\build\x86\vc12\lib -> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib
3. Copy header folder from opencv\build\include (there are two folders: opencv, opencv2) to C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include
4. Change windows environment PATH environment variable by adding your opencv bin path: J:\UTDallas\PhDThesis\Resources\artoolkit\opencv\build\x86\vc12\bin
5. (Notice that we use x86 compile in the guide)
Installing Artoolkit
6. Download http://www.artoolkit.org/dist/artoolkit5/5.3/ARToolKit%20v5.3.1R2%20Setup%20(bin-win32-vs120).exe And install
7. Run C:\Program Files (x86)\ARToolKit5\Configure-win32.vbs
8. Open solution from C:\Program Files (x86)\ARToolKit5\VisualStudio\vs120\ in Visual Studio 2013
9. For project calib_camera, set Opencv links. Right click on Project, select properties, find Linker from the left, select input. Change Additional Dependencies by removing old OpenCV and adding newer version of OpenCV. For debug mode use debug links (you may only change version of the current. This is the complete list of opencv 2.4.11 lib files)
opencv_calib3d2411d.lib
opencv_contrib2411d.lib
opencv_core2411d.lib
opencv_features2d2411d.lib
opencv_flann2411d.lib
opencv_gpu2411d.lib
opencv_highgui2411d.lib
opencv_imgproc2411d.lib
opencv_legacy2411d.lib
opencv_ml2411d.lib
opencv_nonfree2411d.lib
opencv_objdetect2411d.lib
opencv_ocl2411d.lib
opencv_photo2411d.lib
opencv_stitching2411d.lib
opencv_superres2411d.lib
opencv_ts2411d.lib
opencv_video2411d.lib
opencv_videostab2411d.lib
For release mode use release links (you may only change version of the current. This is the complete list of opencv 2.4.11 lib files):
opencv_calib3d2411.lib
opencv_contrib2411.lib
opencv_core2411.lib
opencv_features2d2411.lib
opencv_flann2411.lib
opencv_gpu2411.lib
opencv_highgui2411.lib
opencv_imgproc2411.lib
opencv_legacy2411.lib
opencv_ml2411.lib
opencv_nonfree2411.lib
opencv_objdetect2411.lib
opencv_ocl2411.lib
opencv_photo2411d.lib
opencv_stitching2411.lib
opencv_superres2411.lib
opencv_ts2411.lib
opencv_video2411.lib
opencv_videostab2411.lib
10. Compile the solution. (Only VRML project won't compile)
11. Run examples from C:\Program Files (x86)\ARToolKit5\bin
Installing QuickTime
12. Download and install QuickTime for windows: https://secure-appldnld.apple.com/quicktime/031-43075-20160107-c0844134-b3cd-11e5-b1c0-43ca8d551951/quicktimeinstaller.exe
13. Download QuickTime 7.3 SDK from Apple Developer (You will need apple developer account) https://developer.apple.com/downloads/: http://adcdownload.apple.com/QuickTime/quicktime_7.3_sdk_for_windows/quicktimesdk.zip
14. Run C:\Program Files (x86)\ARToolKit5\VisualStudio\vs120\Patch QuickTime 7.3 SDK\PatchQuickTime73SDK.vbs to configure for this version