Giter Site home page Giter Site logo

Compiling o3d3xx-ros about o3d3xx-ros HOT 2 CLOSED

ifm avatar ifm commented on July 20, 2024
Compiling o3d3xx-ros

from o3d3xx-ros.

Comments (2)

tpanzarella avatar tpanzarella commented on July 20, 2024

It appears as though you have both OpenCV 3 and OpenCV 2.4 installed on your system. Since you are using ROS Indigo and you want to build our ROS bindings, you will need to settle on using OpenCV 2.4. I.e., you cannot link to two different versions of OpenCV in the same binary. From the above output, it looks like when you built libo3d3xx's image module you linked to OpenCV 3. When building the image module of libo3d3xx you can specify the -DFORCE_OPENCV2=ON flag to ensure you are building against OpenCV 2.4. Please note, this will require you to not use the top-level build system in libo3d3xx but rather build each module individually.

An unrelated note, but worth bringing up.... if you are just getting started with the ifm O3 cameras, I'd suggest you consider using the newer libraries: ifm3d and ifm3d-ros.

from o3d3xx-ros.

waalbukhanajer avatar waalbukhanajer commented on July 20, 2024

Hi Tom,
Thanks a lot for help. The issue now is resolved, as following:
1- I found references to opencv 3 (was installed from source) and removed it using sudo make uninstall. And deleted the previous 'build' folders from each modules and the libo3d3xx.
2- I rebuild the individual modules, camera, framegrabber
3- build the image module with -DFORCE_OPENCV2=ON flag
4- build the top-level library with camera connected. (at first (i.e., before deleting the 'build' folders and rebuild again with -DFORCE_OPENCV2=ON for image module), the catkin_make failed as libopencv_core.so.3 says missing and still needed by libo3d3xx). resolved when I started again by deleting the 'build' folders.
5- catkin_make my workspace
All Tests are passed. and now I can start rviz and view the data.

Thanks again
Wissam

from o3d3xx-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.