Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifm3d-examples build error "ifm3d_FOUND to FALSE" #97

Closed
asaini12 opened this issue Oct 9, 2018 · 3 comments
Closed

ifm3d-examples build error "ifm3d_FOUND to FALSE" #97

asaini12 opened this issue Oct 9, 2018 · 3 comments

Comments

@asaini12
Copy link

asaini12 commented Oct 9, 2018

I am having issues building the "ifm3d-examples" package. I am not sure what's causing the issue. Command "ifm3d ls" runs successfully. Also I have successfully built and run the point cloud viewer "ifm3d-pcl-viewer" package.

It would be very helpful if someone can help me troubleshoot the issue.


-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ifm3d found component: camera
-- ifm3d found component: framegrabber
-- ifm3d found component: image
CMake Warning at /usr/lib/cmake/ifm3d-0.10.0/ifm3d-config.cmake:44 (message):
  ifm3d could not find component: pcicclient
Call Stack (most recent call first):
  CMakeLists.txt:19 (find_package)


CMake Error at CMakeLists.txt:19 (find_package):
  Found package configuration file:

    /usr/lib/cmake/ifm3d-0.10.0/ifm3d-config.cmake

  but it set ifm3d_FOUND to FALSE so package "ifm3d" is considered to be NOT
  FOUND.


-- Configuring incomplete, errors occurred!

@graugans
Copy link
Member

Unfortunately this is caused by the fact @tpanzarella changed the pcicclient from default on to default off. I'll provide an pull request for https://github.com/lovepark/ifm3d-examples which will only build the examples for which the required modules do exists. Meanwhile you can comment the examples out which depends on the pciccleint module or rebuild the ifm3d library with the pcicclient enabled. Sorry for this inconvenience.

@asaini12
Copy link
Author

Thank you @graugans. I rebuilt the ifm3d with pcicclient enabled and it worked.

@graugans
Copy link
Member

@asaini12 can you please close this issue when you agree with the solution. There is also a Pull-Request in ifm3d-examples which addresses this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants