Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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!!
Posted
Updated 4-Apr-13 16:53pm
v3

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.
 
Share this answer
 
XML
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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900