package 'flann' not found

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

package 'flann' not found

Xavier Puig
Hello,

I'm trying to compile PCL standalone on my debian squeeze.
I installed succesfully:

eigen-3.0-beta2.tar.gz
apt-get install octave qtoctave latex2html libgtest0 libgtest-dev cmake libhdf5-serial-dev python-numpy python-h5py
flann-1.6.7-src.zip
cminpack-1.1.2.tar.gz

And then:
cd /pcl/pcl-0.7.0/buid
cmake -DMINPACK_PREFIX=/pcl/cminpack-1.1.2 /pcl/pcl-0.7.0

-- [rosbuild] Found SSE3 extensions, using flags: -msse3 -mfpmath=sse
-- checking for module 'flann'
--   package 'flann' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  cmake/find_flann.cmake:3 (pkg_check_modules)
  CMakeLists.txt:24 (include)


Note: When I installed flann, all ok but one line says:
.
.
USE_MPI: false
Cannot find MATLAB instalation. Make sure that the 'bin' directory from the MATLAB instalation is in PATH
-- Configuring done
.
.
I think it's a good installation because when I type:
python -c 'import pyflann'
No echo errors

What I'm doing wrong?
Thank's in advance
xavi

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

Re: package 'flann' not found

nizar sallem
At Fri, 21 Jan 2011 13:16:29 +0100,
Xavier Puig wrote:

>
> Hello,
>
> I'm trying to compile PCL standalone on my debian squeeze.
> I installed succesfully:
>
> eigen-3.0-beta2.tar.gz
> apt-get install octave qtoctave latex2html libgtest0 libgtest-dev cmake libhdf5-serial-dev python-numpy python-h5py
> flann-1.6.7-src.zip
> cminpack-1.1.2.tar.gz
>
> And then:
> cd /pcl/pcl-0.7.0/buid
> cmake -DMINPACK_PREFIX=/pcl/cminpack-1.1.2 /pcl/pcl-0.7.0
>
> -- [rosbuild] Found SSE3 extensions, using flags: -msse3 -mfpmath=sse
> -- checking for module 'flann'
> --   package 'flann' not found
> CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
>   A required package was not found
> Call Stack (most recent call first):
>   /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
>   cmake/find_flann.cmake:3 (pkg_check_modules)
>   CMakeLists.txt:24 (include)
>
> Note: When I installed flann, all ok but one line says:
> .
> .
> USE_MPI: false
> Cannot find MATLAB instalation. Make sure that the 'bin' directory from the MATLAB instalation is in PATH
> -- Configuring done
> .
> .
> I think it's a good installation because when I type:
> python -c 'import pyflann'
> No echo errors
>
> What I'm doing wrong?
> Thank's in advance
> xavi
>
>
Hi,
PCL uses PkgConfig via CMake to locate the flann library and with no
other information, you must check PKG_CONFIG_PATH and verify that the
flann.pc is in that path.

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

Re: package 'flann' not found

Xavier Puig
I do:

export PKG_CONFIG_PATH=/pcl/flann-1.6.7-src/build/lib/pkgconfig

and works!

Thank you very much



> At Fri, 21 Jan 2011 13:16:29 +0100,
> Xavier Puig wrote:
> >
> > Hello,
> >
> > I'm trying to compile PCL standalone on my debian squeeze.
> > I installed succesfully:
> >
> > eigen-3.0-beta2.tar.gz
> > apt-get install octave qtoctave latex2html libgtest0 libgtest-dev cmake libhdf5-serial-dev python-numpy python-h5py
> > flann-1.6.7-src.zip
> > cminpack-1.1.2.tar.gz
> >
> > And then:
> > cd /pcl/pcl-0.7.0/buid
> > cmake -DMINPACK_PREFIX=/pcl/cminpack-1.1.2 /pcl/pcl-0.7.0
> >
> > -- [rosbuild] Found SSE3 extensions, using flags: -msse3 -mfpmath=sse
> > -- checking for module 'flann'
> > --   package 'flann' not found
> > CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
> >   A required package was not found
> > Call Stack (most recent call first):
> >   /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
> >   cmake/find_flann.cmake:3 (pkg_check_modules)
> >   CMakeLists.txt:24 (include)
> >
> > Note: When I installed flann, all ok but one line says:
> > .
> > .
> > USE_MPI: false
> > Cannot find MATLAB instalation. Make sure that the 'bin' directory from the MATLAB instalation is in PATH
> > -- Configuring done
> > .
> > .
> > I think it's a good installation because when I type:
> > python -c 'import pyflann'
> > No echo errors
> >
> > What I'm doing wrong?
> > Thank's in advance
> > xavi
> >
> >
> Hi,
> PCL uses PkgConfig via CMake to locate the flann library and with no
> other information, you must check PKG_CONFIG_PATH and verify that the
> flann.pc is in that path.
>
> --
> Nizar
> _______________________________________________
> [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: package 'flann' not found

Radu B. Rusu
Administrator
Great! Xavier, or Nizar... can one of you guys please add these instructions to the standalone wiki page?

Thanks,
Radu.
--
http://pointclouds.org

On 01/23/2011 11:10 AM, Xavier Puig wrote:

> I do:
>
> export PKG_CONFIG_PATH=/pcl/flann-1.6.7-src/build/lib/pkgconfig
>
> and works!
>
> Thank you very much
>
>
>
>> At Fri, 21 Jan 2011 13:16:29 +0100,
>> Xavier Puig wrote:
>>>
>>> Hello,
>>>
>>> I'm trying to compile PCL standalone on my debian squeeze.
>>> I installed succesfully:
>>>
>>> eigen-3.0-beta2.tar.gz
>>> apt-get install octave qtoctave latex2html libgtest0 libgtest-dev cmake libhdf5-serial-dev python-numpy python-h5py
>>> flann-1.6.7-src.zip
>>> cminpack-1.1.2.tar.gz
>>>
>>> And then:
>>> cd /pcl/pcl-0.7.0/buid
>>> cmake -DMINPACK_PREFIX=/pcl/cminpack-1.1.2 /pcl/pcl-0.7.0
>>>
>>> -- [rosbuild] Found SSE3 extensions, using flags: -msse3 -mfpmath=sse
>>> -- checking for module 'flann'
>>> --   package 'flann' not found
>>> CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
>>>    A required package was not found
>>> Call Stack (most recent call first):
>>>    /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
>>>    cmake/find_flann.cmake:3 (pkg_check_modules)
>>>    CMakeLists.txt:24 (include)
>>>
>>> Note: When I installed flann, all ok but one line says:
>>> .
>>> .
>>> USE_MPI: false
>>> Cannot find MATLAB instalation. Make sure that the 'bin' directory from the MATLAB instalation is in PATH
>>> -- Configuring done
>>> .
>>> .
>>> I think it's a good installation because when I type:
>>> python -c 'import pyflann'
>>> No echo errors
>>>
>>> What I'm doing wrong?
>>> Thank's in advance
>>> xavi
>>>
>>>
>> Hi,
>> PCL uses PkgConfig via CMake to locate the flann library and with no
>> other information, you must check PKG_CONFIG_PATH and verify that the
>> flann.pc is in that path.
>>
>> --
>> Nizar
>> _______________________________________________
>> [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