Can't build pcl1.7.2 with pacap

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't build pcl1.7.2 with pacap

edwinzero
This post has NOT been accepted by the mailing list yet.
When I compile the project I found there is 115 success and 1 failed which is located in pcl_io part, and When I run as admin to build INSTALL with msvc v100 it comes out with error.
Here is the error I have.
All the dependencies I use is same with the download page of pcl website for PCL 1.6.0.
I also download the latest Winpcap 4.1.3 and develop pack 4.1.2. Then I set the PCAP_INCLUDE and PCAP_LIB in the system variable to the include and lib folder of develop pack.

1>------ Build started: Project: pcl_io, Configuration: Debug x64 ------
1>     Creating library C:/CodingWorld/PCL_BUILD/Build4/lib/pcl_io_debug.lib and object C:/CodingWorld/PCL_BUILD/Build4/lib/pcl_io_debug.exp
1>hdl_grabber.obj : error LNK2019: unresolved external symbol pcap_next_ex referenced in function "private: void __cdecl pcl::HDLGrabber::readPacketsFromPcap(void)" (?readPacketsFromPcap@HDLGrabber@pcl@@AEAAXXZ)
1>hdl_grabber.obj : error LNK2019: unresolved external symbol pcap_setfilter referenced in function "private: void __cdecl pcl::HDLGrabber::readPacketsFromPcap(void)" (?readPacketsFromPcap@HDLGrabber@pcl@@AEAAXXZ)
1>hdl_grabber.obj : error LNK2019: unresolved external symbol pcap_geterr referenced in function "private: void __cdecl pcl::HDLGrabber::readPacketsFromPcap(void)" (?readPacketsFromPcap@HDLGrabber@pcl@@AEAAXXZ)
1>hdl_grabber.obj : error LNK2019: unresolved external symbol pcap_compile referenced in function "private: void __cdecl pcl::HDLGrabber::readPacketsFromPcap(void)" (?readPacketsFromPcap@HDLGrabber@pcl@@AEAAXXZ)
1>hdl_grabber.obj : error LNK2019: unresolved external symbol pcap_open_offline referenced in function "private: void __cdecl pcl::HDLGrabber::readPacketsFromPcap(void)" (?readPacketsFromPcap@HDLGrabber@pcl@@AEAAXXZ)
1>C:\CodingWorld\PCL_BUILD\Build4\bin\pcl_io_debug.dll : fatal error LNK1120: 5 unresolved externals


IN the cmake, WITH part I only check
WITH_PCAP WITH_OPENNI WITH_QULL WITH_QT WITH_VTK

And in the BUILD part I check besides the default one:
BUILD_SURFACE_ON_NURBS

And I blocked OPENNI2 in the CMakeLists.txt


Thank you guys very much!
Reply | Threaded
Open this post in threaded view
|

Re: Can't build pcl1.7.2 with pacap

edwinzero
This post has NOT been accepted by the mailing list yet.
Here is the error while compiling... It seems something wrong with openni....

13>     Creating library C:/CodingWorld/PCL_BUILD/Build2/lib/pcl_io_debug.lib and object C:/CodingWorld/PCL_BUILD/Build2/lib/pcl_io_debug.exp
13>pcd_grabber.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl openni_wrapper::ImageRGB24::isResizingSupported(unsigned int,unsigned int,unsigned int,unsigned int)const " (?isResizingSupported@ImageRGB24@openni_wrapper@@UEBA_NIIII@Z)
13>pcd_grabber.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl openni_wrapper::ImageRGB24::fillRGB(unsigned int,unsigned int,unsigned char *,unsigned int)const " (?fillRGB@ImageRGB24@openni_wrapper@@UEBAXIIPEAEI@Z)
13>pcd_grabber.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl openni_wrapper::ImageRGB24::fillGrayscale(unsigned int,unsigned int,unsigned char *,unsigned int)const " (?fillGrayscale@ImageRGB24@openni_wrapper@@UEBAXIIPEAEI@Z)
13>pcd_grabber.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl openni_wrapper::ImageRGB24::~ImageRGB24(void)" (??1ImageRGB24@openni_wrapper@@UEAA@XZ) referenced in function "public: virtual void * __cdecl openni_wrapper::ImageRGB24::`scalar deleting destructor'(unsigned int)" (??_GImageRGB24@openni_wrapper@@UEAAPEAXI@Z)
13>C:\CodingWorld\PCL_BUILD\Build2\bin\pcl_io_debug.dll : fatal error LNK1120: 4 unresolved externals
Reply | Threaded
Open this post in threaded view
|

Re: Can't build pcl1.7.2 with pacap

eyou102
I have been having a similar issue (see post here).  Did you ever resolve this?

Thanks,
Eric