[原] 64位win7编译PCL SVN版本
一、C3861: 'snprintf': identifier not found :在K:\pcl\pcl\proctor\src\scanning_model_source.cpp加入
#ifdef WIN32
#define snprintf _snprintf
#endif
二、error C3861: 'sleep': identifier not found :暂时注释相应语句K:\pcl\pcl\proctor\src\main.cpp
三、proctor工程出现链接错误
1>------ Build started: Project: proctor, Configuration: Release x64 ------
1>Performing Pre-Link Event...
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'C:\Program Files\MPICH2\lib\mpi.lib C:\Program Files\MPICH2\lib\cxx.lib'
修改Linker--input,把两个lib分开
"C:\Program Files\MPICH2\lib\mpi.lib"
"C:\Program Files\MPICH2\lib\cxx.lib"
把自己编译的libboost_serialization-vc90-mt-1_47.lib及boost_serialization-vc90-mt-1_47等文件复制到C:\Program Files\Boost\lib下
在Linker--input中加入
"C:\Program Files\Boost\lib\libboost_serialization-vc90-mt-1_47.lib"
四、用cmake生成工程时自己配置glut和glew的路径(64位),range_test要手动指定glut64.lib及其路径
五、在sm11显卡上运行kinfu(FX3800M 4帧)
If you still want to try.
1) enable compilation for sm_11 by setting CUDA_ARCH_BIN = 11 in cmake
2) run compilation, comment all compiler errors.
3) Set VOLUME_X = VOLUME_Y = VOLUME_Z = 256 in sources. (不开registration在FX3800M上512也可以,开了的话设成256)
4)注释掉kinfu_app.cpp的if(checkIfPreFermiGPU(device))
5)修改cu: (32, 8); --> (32, 4)
Here is my hypothesizes.
GTX 470 (14SM@ 1200Mhz) - 26fps (30-37fps with Cuda4.1, unstable, not
recommended).
GTS 450 ( 4SM @ 1600Mhz) - 8fps
GTx 560m (4SM @1550Mhz) - 8fps??
GTx 580m ( 8SM @1200Mhz) - 15fps??
SM = streaming multiprocessor
GTX460M = 4SM 1350MHz
六、在kinfu中加入颜色支持
WOW. Great job anatoly for adding color now!
If anyone else is interested, you can add color to point clouds by using the following command to start kinfu:
kinfu_app.exe -icf -ic -r
七、可以用OpenNI的最新驱动
参考:
http://www.pcl-users.org/Kinfu-out-of-memory-td3616761.html#a3616822
http://www.pcl-users.org/KinFu-build-from-trunk-td3556692.html
http://razorvision.tumblr.com/
http://www.pcl-users.org/Color-problem-with-kinfu-td3588110.html
posted on 2012-01-13 11:41 Vision&Details 阅读(1310) 评论(0) 编辑 收藏 举报