窗口形式应用中使用的点云库(PCL) [英] used point cloud library (PCL) in window form application
问题描述
嗨
请帮助我完成我的项目!
i为kinect摄像头编写代码,当我使用clr控制台应用程序时建立成功但我设置(pcl)喜欢它窗口表单应用程序然后它显示了很多错误
设置VC ++目录(包含文件,lib ..)链接器/输入...
在窗体表单应用程序中我转换配置属性/通用/公共语言运行时支持表单无可用运行时支持到 commen运行时支持(/ clr),然后建立成功一些文件包括但不是全部
ex:
#include< pcl / point_types.h> //成功
#include< pcl / io / openni_grabber.h> ////错误
图片:http://s1293.photobucket。 com / user / hoanglong105 / media / kinect_zps864052ce.png.html
2文件包含属于pcl库但一次成功,一个错误
i认为有不同的运行时支持或属性
使用visual studio 2010
谢谢!!
你没有说哪个版本的您正在使用的编译器,但是您需要在已使用特定编译器的环境初始化的命令窗口中运行命令行编译。例如,对于Vista上的VS2010,请单击Windows - > Microsoft Visual Studio 2010 - > Visual Studio工具 - > Visual Studio命令提示符。这将打开一个命令窗口,其中正确定义了上述符号(即INCLUDE,LIB等)。你应该有更好的成功。
如果你对此有进一步的疑问,请用您的编译器版本更新您的问题,以及确切的错误。
我在visual studio 2012中使用点云库(如open cv)http://pointclouds.org/documentation/tutorials/index.php。当我在控制台应用程序中设置它=>没关系。但是在窗口形式应用中设置类似于>大量错误
代码
#include < pcl / io / openni_grabber.h > ////错误
图片:http://s1293.photobucket.com/user/hoanglong105/media/kinect_zps864052ce.png.html
hi
please help me with my project!
i write code for kinect camera, buid success when i used clr console application but i setup (pcl) like it in window form application then it show a lot of error
setup VC++ directories(include file, lib..) linker/input...
in window form application i convert configuration properties/general/common language runtime support form no commen runtime support to commen runtime support(/clr), then build success some file include but not all
ex:
#include <pcl/point_types.h> //success
#include <pcl/io/openni_grabber.h>////error
picture:http://s1293.photobucket.com/user/hoanglong105/media/kinect_zps864052ce.png.html
2 file include belong pcl library but one success , one error
i think have different betwen runtime support or properties
using visual studio 2010
thank you!!
You didn''t say which version of the compiler you are using, but you need to run your command line compiles in a command window that has been initialized with the environment for the particular compiler. For VS2010 on Vista for example, click Windows -> Microsoft Visual Studio 2010 -> Visual Studio Tools -> Visual Studio Command Prompt. This will open a command window that has the symbols above defined correctly (ie. INCLUDE, LIB, etc.). You should have better success with that.
If you have further questions about this, update your question with your compiler version and exactly what some of the errors look like.
i using point cloud library (like open cv)http://pointclouds.org/documentation/tutorials/index.php in visual studio 2012.when I setup it in console application=> it ok. But setup like it in window form application=> lot of error code #include <pcl/io/openni_grabber.h>////error picture:http://s1293.photobucket.com/user/hoanglong105/media/kinect_zps864052ce.png.html
这篇关于窗口形式应用中使用的点云库(PCL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!