[原] 64位win7编译PCL SVN版本
2012-01-13 11:41
309 查看
一、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-Kinect-fusion-what-is-the-minimual-GPU-required-td3524615.html#a3525227
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
#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-Kinect-fusion-what-is-the-minimual-GPU-required-td3524615.html#a3525227
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
相关文章推荐
- 在win7 64位下cmake+vs2010编译 PCL1.7.2版本32位库
- [原] 64位win7编译OpenCV SVN版本
- [原] 64位win7编译RGBDemo Git版本
- Win7 下用 VS2015 编译最新 openssl(1.0.2j)包含32、64位debug和release版本的dll、lib
- RedHat(64位)编译skia(Android版本)
- win7 64位+vs2010+opencv2.4.10+cmake3.6编译报错的解决
- 用svn管理android的版本编译出来有问题
- Win7 64位 下SlikSVN 的安装配置
- win7 64位svn右键菜单不显示问题
- win7 32/64位系统下编译ardupilot源码
- PJSIP在windows(xp或者win7)下的编译,编译工具是vs2008,PJSIP版本2.3
- ubuntu 11.04 64位 编译 android2.3 源码(姜饼版本)
- Win7 64位搭建本地SVN服务器 Apache+Subversion
- 去掉SVN管理kernel编译后版本自动变化
- 【spark】win7-64位下编译spark1.6.0
- CMake+VS2013编译与安装32/64位PCL1.8RC1源码(附网盘链接)
- 64位win7,VS2010编译openssl
- 关于在Win7 SP1操作系统下编译的ADO应用程序不能在比Win7 SP1版本低的操作系统上运行,微软给出的解释和解决方案
- 使用msys2+mingw32工具链编译Win7版本的阿里MQTT库和例程
- win7 64位 Eclipse的SVN异常