PCL and Intel Perceptual Computing SDK: Linking Error

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

PCL and Intel Perceptual Computing SDK: Linking Error

Nico Riecker
Hey all,

Im tryping to build PCL on Windows 7 and it nearly (I guess) works.
Without the Intel Perceptual Computing SDK (PXC)
pcl works fine. After installed PXC I got some linker errors.

I found the solution to rebuild the libpxcutils in
.../Intel/PCSDK/sample/common with \MD instead of \MT (I also
tried ever other possibility). But the linker error still remains.

Here is my CMake Output:

Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Found OpenMP
Boost version: 1.50.0
Found the following Boost libraries:
   system
   filesystem
   thread
   date_time
   iostreams
   chrono
Eigen found (include: C:/Libs/Eigen, version: 3.2.90)
FLANN found (include: C:/Program Files/flann/include, lib:
optimized;C:/Program Files/flann/lib/flann_cpp_s.lib;debug;C:/Program
Files/flann/lib/flann_cpp_s-gd.lib)
Could NOT find LIBUSB_1 (missing:  LIBUSB_1_LIBRARY LIBUSB_1_INCLUDE_DIR)
OpenNI found (include: c:/Program Files/OpenNI/Include, lib: c:/Program
Files/OpenNI/Lib64/openNI64.lib)
Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS)
Could NOT find FZAPI (missing:  FZAPI_LIBS FZAPI_INCLUDE_DIR)
Could NOT find ensenso (missing:  ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR)
Could NOT find davidSDK (missing:  DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR)
Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
QHULL found (include: C:/Program Files/qhull/include, lib:
optimized;C:/Program Files/qhull/lib/qhullstatic.lib;debug;C:/Program
Files/qhull/lib/qhullstatic_d.lib)
VTK_MAJOR_VERSION 5
VTK found (include: C:/Program Files/VTK
5.8.0/include/vtk-5.8;C:/Program Files/VTK 5.8.0/include/vtk-5.8, lib:
C:/Program Files/VTK 5.8.0/lib/vtk-5.8;C:/Program Files/VTK
5.8.0/lib/vtk-5.8)
Could NOT find PCAP (missing:  PCAP_LIBRARIES PCAP_INCLUDE_DIRS)
DOXYGEN_FOUND
HTML_HELP_COMPILER
Found CPack generators: NSIS
The following subsystems will be built:
   common
   octree
   io
   kdtree
   search
   sample_consensus
   filters
   2d
   geometry
   features
   ml
   segmentation
   visualization
   surface
   registration
   keypoints
   tracking
   recognition
   stereo
   outofcore
   people
   tools
The following subsystems will not be built:
   apps: No reason
   examples: Code examples are disabled by default.
   simulation: Disabled by default.
   global_tests: No reason
Configuring done

and the attached picture shows the error log from Visual Studio 2010
(64bit).

I also tried to reinstall the PXC and rebuild pcl but that also didnt work.

Can someone help me? Any idea about fixing that problem?

Best regards,
Nico

_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org

pcl_pxcutilsError.JPG (142K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Intel Perceptual Computing SDK: Linking Error

mobooya
Nico,
The visual studio linker errors say that some things are being defined twice. Since PCL compiles fine before including PXC, my guess is that PXC defined variables with the same name but didnt have a namespace wrapped around it.  I would check the PXC support forum if someone else ran into that issue.  Also, just thinking out loud, make sure you didnt link both debug and release versions of the .lib in the visual studio linker-Input list.  Use only debug libs in debug mode and release for release. This has caused me problems recently so just wnated to share :P
Goodluck
Mo

On Wed, Aug 19, 2015 at 4:59 AM, Nico Riecker <[hidden email]> wrote:
Hey all,

Im tryping to build PCL on Windows 7 and it nearly (I guess) works. Without the Intel Perceptual Computing SDK (PXC)
pcl works fine. After installed PXC I got some linker errors.

I found the solution to rebuild the libpxcutils in .../Intel/PCSDK/sample/common with \MD instead of \MT (I also
tried ever other possibility). But the linker error still remains.

Here is my CMake Output:

Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Found OpenMP
Boost version: 1.50.0
Found the following Boost libraries:
  system
  filesystem
  thread
  date_time
  iostreams
  chrono
Eigen found (include: C:/Libs/Eigen, version: 3.2.90)
FLANN found (include: C:/Program Files/flann/include, lib: optimized;C:/Program Files/flann/lib/flann_cpp_s.lib;debug;C:/Program Files/flann/lib/flann_cpp_s-gd.lib)
Could NOT find LIBUSB_1 (missing:  LIBUSB_1_LIBRARY LIBUSB_1_INCLUDE_DIR)
OpenNI found (include: c:/Program Files/OpenNI/Include, lib: c:/Program Files/OpenNI/Lib64/openNI64.lib)
Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS)
Could NOT find FZAPI (missing:  FZAPI_LIBS FZAPI_INCLUDE_DIR)
Could NOT find ensenso (missing:  ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR)
Could NOT find davidSDK (missing:  DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR)
Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
QHULL found (include: C:/Program Files/qhull/include, lib: optimized;C:/Program Files/qhull/lib/qhullstatic.lib;debug;C:/Program Files/qhull/lib/qhullstatic_d.lib)
VTK_MAJOR_VERSION 5
VTK found (include: C:/Program Files/VTK 5.8.0/include/vtk-5.8;C:/Program Files/VTK 5.8.0/include/vtk-5.8, lib: C:/Program Files/VTK 5.8.0/lib/vtk-5.8;C:/Program Files/VTK 5.8.0/lib/vtk-5.8)
Could NOT find PCAP (missing:  PCAP_LIBRARIES PCAP_INCLUDE_DIRS)
DOXYGEN_FOUND
HTML_HELP_COMPILER
Found CPack generators: NSIS
The following subsystems will be built:
  common
  octree
  io
  kdtree
  search
  sample_consensus
  filters
  2d
  geometry
  features
  ml
  segmentation
  visualization
  surface
  registration
  keypoints
  tracking
  recognition
  stereo
  outofcore
  people
  tools
The following subsystems will not be built:
  apps: No reason
  examples: Code examples are disabled by default.
  simulation: Disabled by default.
  global_tests: No reason
Configuring done

and the attached picture shows the error log from Visual Studio 2010 (64bit).

I also tried to reinstall the PXC and rebuild pcl but that also didnt work.

Can someone help me? Any idea about fixing that problem?

Best regards,
Nico

_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org


_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: PCL and Intel Perceptual Computing SDK: Linking Error

Nico Riecker
Thanks for your reply,

I already checked the linked libs (debug/release) before but the pxc support forum is a good hint
thank you, I will check that.

Regards,
Nico

Am 19.08.2015 um 17:27 schrieb Mohamed Ahmad:
Nico,
The visual studio linker errors say that some things are being defined twice. Since PCL compiles fine before including PXC, my guess is that PXC defined variables with the same name but didnt have a namespace wrapped around it.  I would check the PXC support forum if someone else ran into that issue.  Also, just thinking out loud, make sure you didnt link both debug and release versions of the .lib in the visual studio linker-Input list.  Use only debug libs in debug mode and release for release. This has caused me problems recently so just wnated to share :P
Goodluck
Mo

On Wed, Aug 19, 2015 at 4:59 AM, Nico Riecker <[hidden email]> wrote:
Hey all,

Im tryping to build PCL on Windows 7 and it nearly (I guess) works. Without the Intel Perceptual Computing SDK (PXC)
pcl works fine. After installed PXC I got some linker errors.

I found the solution to rebuild the libpxcutils in .../Intel/PCSDK/sample/common with \MD instead of \MT (I also
tried ever other possibility). But the linker error still remains.

Here is my CMake Output:

Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Found OpenMP
Boost version: 1.50.0
Found the following Boost libraries:
  system
  filesystem
  thread
  date_time
  iostreams
  chrono
Eigen found (include: C:/Libs/Eigen, version: 3.2.90)
FLANN found (include: C:/Program Files/flann/include, lib: optimized;C:/Program Files/flann/lib/flann_cpp_s.lib;debug;C:/Program Files/flann/lib/flann_cpp_s-gd.lib)
Could NOT find LIBUSB_1 (missing:  LIBUSB_1_LIBRARY LIBUSB_1_INCLUDE_DIR)
OpenNI found (include: c:/Program Files/OpenNI/Include, lib: c:/Program Files/OpenNI/Lib64/openNI64.lib)
Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS)
Could NOT find FZAPI (missing:  FZAPI_LIBS FZAPI_INCLUDE_DIR)
Could NOT find ensenso (missing:  ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR)
Could NOT find davidSDK (missing:  DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR)
Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
QHULL found (include: C:/Program Files/qhull/include, lib: optimized;C:/Program Files/qhull/lib/qhullstatic.lib;debug;C:/Program Files/qhull/lib/qhullstatic_d.lib)
VTK_MAJOR_VERSION 5
VTK found (include: C:/Program Files/VTK 5.8.0/include/vtk-5.8;C:/Program Files/VTK 5.8.0/include/vtk-5.8, lib: C:/Program Files/VTK 5.8.0/lib/vtk-5.8;C:/Program Files/VTK 5.8.0/lib/vtk-5.8)
Could NOT find PCAP (missing:  PCAP_LIBRARIES PCAP_INCLUDE_DIRS)
DOXYGEN_FOUND
HTML_HELP_COMPILER
Found CPack generators: NSIS
The following subsystems will be built:
  common
  octree
  io
  kdtree
  search
  sample_consensus
  filters
  2d
  geometry
  features
  ml
  segmentation
  visualization
  surface
  registration
  keypoints
  tracking
  recognition
  stereo
  outofcore
  people
  tools
The following subsystems will not be built:
  apps: No reason
  examples: Code examples are disabled by default.
  simulation: Disabled by default.
  global_tests: No reason
Configuring done

and the attached picture shows the error log from Visual Studio 2010 (64bit).

I also tried to reinstall the PXC and rebuild pcl but that also didnt work.

Can someone help me? Any idea about fixing that problem?

Best regards,
Nico

_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org



_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org


_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org