Comments (5)
@maxb91 I passed this issue by uninstall opencv 3 , ROS should have installed opencv 2.
from orb_slam2.
What's the output when u issue this command?
$ pkg-config --modversion opencv
Mine is opencv 2.4.8, and I have no problem in compiling orb_slam2
from orb_slam2.
Even I have the same error.
$ pkg-config --modversion opencv
3.1.0 is the output
Is it needed to move to lower version of opencv? Is there any recommended way to overcome this problem?
from orb_slam2.
Hi, I am trying to compile ORB_SLAM2 on OSX 10.11.12 with ROS Indigo. i have opencv 3.1 installed (built form source) under /usr/local/lib and /usr/local/include (directories searched by default), and also opencv 2.4.12 under /usr/local/Cellar(installed through brew package manager), which I can link to, in case opencv 3.1 is not compatible.
How can I provide the path to the usr/local/Cellar opencv(2.4.12) instead of the default /usr/local/lib opencv(3.1), in the sense that what variables/flags do i provide in the cmake file/with the cmake command on the terminal, to make it find opencv 2.4 under Cellar?
I tried some experiments with "CPPFLAGS" but it didn't seem to work.
I still got the error:
CMake Error at CMakeLists.txt:31 (find_package):
Could not find a configuration file for package "OpenCV" that is compatible
with requested version "2.4.3".The following configuration files were considered but not accepted:
/usr/local/share/OpenCV/OpenCVConfig.cmake, version: 3.1.0
Thanks!
from orb_slam2.
Hi, I've just installed OpenCV from scratch and I've got the same problem when running build.sh. Have you already found a solution to this issue?
from orb_slam2.
Related Issues (20)
- Why use float Type to store Descriptor Distances
- Failed to open settings file...
- ROS noetic ./build_ros.sh problems HOT 7
- I got an error when I tried to compile orb_slam2 with ubuntu22.
- I am getting this error while building the ORB_SLAM2 file please help.. I m running this on NVIDIA JETSON ORIN NANO
- Build failed on Ubuntu 22.04 and ros2 humble
- Stereo baseline of Da Vinci Xi surgical robot
- camera postion please ?
- Why not do `mpCurrentKeyFrame->AddMapPoint(pMP, i)` after `pMP->AddObservation(mpCurrentKeyFrame, i)` during LocalMapping::ProcessNewKeyframe ?
- KeyFrameTrajectory.txt?
- Fix cmake to work with new version of opencv please? I have 4.5.4 HOT 1
- Program does not go forward after initialization while doing rgb-d example.
- compilation issue -- ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or HOT 2
- Running Stereo Node Error
- /usr/bin/ld: Cannot find -lEigen3::Eigen
- When using a undistored image as input image
- C++ Version and OpenCV version
- Gazebo and ORBSLAM
- Run Tracking, Local Mapping, and Loop Closure on a single thread
- makefile found - problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orb_slam2.