Trying to get started with PCL 0.7, FLANN compile errors

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

Trying to get started with PCL 0.7, FLANN compile errors

Ibrahim Awwal

Hi guys,

I'm trying to get started with PCL on ROS. I was trying out some of the tutorials and I got things working, but it seems like some of them seem to use PCL 0.7 so I wanted to set that up (I'm using ROS C-turtle right now, so PCL 0.3). I rosinstalled pcl into my home directory and added it to my ROS_PACKAGE_PATH, but when I try to build something against it I get these compilation errors from FLANN:

CMake Warning at cmake/flann_utils.cmake:33 (find_package):
  Could not find module FindHDF5.cmake or a configuration file for package
  HDF5.

  Adjust CMAKE_MODULE_PATH to find FindHDF5.cmake or set HDF5_DIR to the
  directory containing a CMake configuration file for HDF5.  The file will
  have one of the following names:

    HDF5Config.cmake
    hdf5-config.cmake

Call Stack (most recent call first):
  CMakeLists.txt:73 (find_hdf5)


hdf5 library not found, not compiling flann_example.cpp
gtest library not found, some tests will not be run
hdf5 library not found, some tests will not be run
-- I could not find the latex2html command.
-- Configuring done
CMake Error: CMake can not determine linker language for target:flann
CMake Error: Cannot determine link language for target "flann".
CMake Error: CMake can not determine linker language for target:flann_cpp
CMake Error: Cannot determine link language for target "flann_cpp".

What can I do about these? I should mention that I haven't really done much with C++ so this is probably a very silly mistake due to my lack of knowledge. Thanks!

-Ibrahim Awwal

_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Trying to get started with PCL 0.7, FLANN compile errors

nizar sallem
At Wed, 05 Jan 2011 11:42:28 -0800,
Ibrahim Awwal wrote:

>
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (8bit)>]
>
> [1.2  <text/html; UTF-8 (quoted-printable)>]
> Hi guys,
>
> I'm trying to get started with PCL on ROS. I was trying out some of the tutorials and I got things working, but it seems like some of them seem to
> use PCL 0.7 so I wanted to set that up (I'm using ROS C-turtle right now, so PCL 0.3). I rosinstalled pcl into my home directory and added it to my
> ROS_PACKAGE_PATH, but when I try to build something against it I get these compilation errors from FLANN:
>
> CMake Warning at cmake/flann_utils.cmake:33 (find_package):
>   Could not find module FindHDF5.cmake or a configuration file for package
>   HDF5.
>
>   Adjust CMAKE_MODULE_PATH to find FindHDF5.cmake or set HDF5_DIR to the
>   directory containing a CMake configuration file for HDF5.  The file will
>   have one of the following names:
>
>     HDF5Config.cmake
>     hdf5-config.cmake
>
> Call Stack (most recent call first):
>   CMakeLists.txt:73 (find_hdf5)
>
> hdf5 library not found, not compiling flann_example.cpp
> gtest library not found, some tests will not be run
> hdf5 library not found, some tests will not be run
> -- I could not find the latex2html command.
> -- Configuring done
> CMake Error: CMake can not determine linker language for target:flann
> CMake Error: Cannot determine link language for target "flann".
> CMake Error: CMake can not determine linker language for target:flann_cpp
> CMake Error: Cannot determine link language for target "flann_cpp".
>
> What can I do about these? I should mention that I haven't really done much with C++ so this is probably a very silly mistake due to my lack of
> knowledge. Thanks!
>
> -Ibrahim Awwal
>
>
> [2  <text/plain; us-ascii (7bit)>]
> _______________________________________________
> [hidden email] / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
This is not really a problem of PCL nor flann, you seem to not have
installed the HDF5 library, if on ubuntu you have a lot of them
$ aptitude search hdf5
should return a dozen you need to install one of the dev libraries

Cheeers,
--
Nizar
_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Trying to get started with PCL 0.7, FLANN compile errors

Marius Muja-2
In reply to this post by Ibrahim Awwal
Hi,

The HDF5 messages are just a warning and the FLANN library should
compile without hdf5 support in that case. The real problem is the
"CMake can not determine linker language for target" message.
I believe that both of these issues are due to the fact that you are
using an older cmake version. What version of cmake are you using?
I added a patch that should fix the "CMake can not determine linker
language for target" problem, can you update from svn and try again?

Marius

On Wed, Jan 5, 2011 at 11:42 AM, Ibrahim Awwal
<[hidden email]> wrote:

> Hi guys,
>
> I'm trying to get started with PCL on ROS. I was trying out some of the
> tutorials and I got things working, but it seems like some of them seem to
> use PCL 0.7 so I wanted to set that up (I'm using ROS C-turtle right now, so
> PCL 0.3). I rosinstalled pcl into my home directory and added it to my
> ROS_PACKAGE_PATH, but when I try to build something against it I get these
> compilation errors from FLANN:
>
> CMake Warning at cmake/flann_utils.cmake:33 (find_package):
>   Could not find module FindHDF5.cmake or a configuration file for package
>   HDF5.
>
>   Adjust CMAKE_MODULE_PATH to find FindHDF5.cmake or set HDF5_DIR to the
>   directory containing a CMake configuration file for HDF5.  The file will
>   have one of the following names:
>
>     HDF5Config.cmake
>     hdf5-config.cmake
>
> Call Stack (most recent call first):
>   CMakeLists.txt:73 (find_hdf5)
>
>
> hdf5 library not found, not compiling flann_example.cpp
> gtest library not found, some tests will not be run
> hdf5 library not found, some tests will not be run
> -- I could not find the latex2html command.
> -- Configuring done
> CMake Error: CMake can not determine linker language for target:flann
> CMake Error: Cannot determine link language for target "flann".
> CMake Error: CMake can not determine linker language for target:flann_cpp
> CMake Error: Cannot determine link language for target "flann_cpp".
>
> What can I do about these? I should mention that I haven't really done much
> with C++ so this is probably a very silly mistake due to my lack of
> knowledge. Thanks!
>
> -Ibrahim Awwal
>
> _______________________________________________
> [hidden email] / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
>
>
_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Trying to get started with PCL 0.7, FLANN compile errors

Ibrahim Awwal
Yeah, I figured the HDF5 messages shouldn't be a problem. I don't have
sudo on this machine so I can't install that anyway. This is an Ubuntu
machine which might not be kept up to date, and it's CMake 2.6-patch 2.
Apparently it appears to have built properly, thanks!

-Ibrahim Awwal

On Wed, 5 Jan 2011 12:30:48 -0800, Marius Muja <[hidden email]>
wrote:

> Hi,
>
> The HDF5 messages are just a warning and the FLANN library should
> compile without hdf5 support in that case. The real problem is the
> "CMake can not determine linker language for target" message.
> I believe that both of these issues are due to the fact that you are
> using an older cmake version. What version of cmake are you using?
> I added a patch that should fix the "CMake can not determine linker
> language for target" problem, can you update from svn and try again?
>
> Marius
>
> On Wed, Jan 5, 2011 at 11:42 AM, Ibrahim Awwal
> <[hidden email]> wrote:
>> Hi guys,
>>
>> I'm trying to get started with PCL on ROS. I was trying out some of the
>> tutorials and I got things working, but it seems like some of them seem
>> to
>> use PCL 0.7 so I wanted to set that up (I'm using ROS C-turtle right
>> now, so
>> PCL 0.3). I rosinstalled pcl into my home directory and added it to my
>> ROS_PACKAGE_PATH, but when I try to build something against it I get
>> these
>> compilation errors from FLANN:
>>
>> CMake Warning at cmake/flann_utils.cmake:33 (find_package):
>>   Could not find module FindHDF5.cmake or a configuration file for
>> package
>>   HDF5.
>>
>>   Adjust CMAKE_MODULE_PATH to find FindHDF5.cmake or set HDF5_DIR to
the

>>   directory containing a CMake configuration file for HDF5.  The file
>> will
>>   have one of the following names:
>>
>>     HDF5Config.cmake
>>     hdf5-config.cmake
>>
>> Call Stack (most recent call first):
>>   CMakeLists.txt:73 (find_hdf5)
>>
>>
>> hdf5 library not found, not compiling flann_example.cpp
>> gtest library not found, some tests will not be run
>> hdf5 library not found, some tests will not be run
>> -- I could not find the latex2html command.
>> -- Configuring done
>> CMake Error: CMake can not determine linker language for target:flann
>> CMake Error: Cannot determine link language for target "flann".
>> CMake Error: CMake can not determine linker language for
target:flann_cpp

>> CMake Error: Cannot determine link language for target "flann_cpp".
>>
>> What can I do about these? I should mention that I haven't really done
>> much
>> with C++ so this is probably a very silly mistake due to my lack of
>> knowledge. Thanks!
>>
>> -Ibrahim Awwal
>>
>> _______________________________________________
>> [hidden email] / http://pointclouds.org
>> https://code.ros.org/mailman/listinfo/pcl-users
>>
>>
> _______________________________________________
> [hidden email] / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users