Comments (5)
Thank you for your answer, and I will close this issue since I can go to the forum.
from opencv_contrib.
Hello, OpenCV3 has been deprecated already, so please could you update to OpenCV4 ?(And OpenCV 3.4.0 is too old).
OpenCV try to find OGRE package. However between 3.4(including 3.4.0 tag) and 4.x branch, its CMake scripts are slightly changing. And OGRE version is important, however there are no information. Please could you share ?
4.x
opencv_contrib/modules/ovis/CMakeLists.txt
Lines 1 to 3 in ba5c23c
3.4
opencv_contrib/modules/ovis/CMakeLists.txt
Lines 1 to 3 in f852576
3.4.0
opencv_contrib/modules/ovis/CMakeLists.txt
Lines 1 to 3 in 81ca8da
In your environments, OpenCV detected OGRE package (so ovis module is available.)
pkg-config should be suggest OGRE include path and OGRE libraries.
However your compiler log shows include path is missing. I think library may be missing too. It is strange a little.
Could you try to run standalone pkg-config to find OGRE ?
pkg-config OGRE --modversion --cflags --libs
And if possible, please could you try to get log of cmake ...
after Found OGRE
?
from opencv_contrib.
Yes I can find the OGRE, and the version is 1.12.1.
This is the CMakeOutput.log when I run cmake ..
for my test.cpp above.
CMakeOutput.log
Actually, I am trying to run an old repo, so OpenCV 4.x might be too new. BTW, I found that after I change the version of opencv and opencv_contrib to 3.3.0, the errors were strangely gone.
from opencv_contrib.
Although OpenCV 3.3 is enough to run the repo, I wonder why the error occurs when using the version 3.4.0.
from opencv_contrib.
Yes I can find the OGRE, and the version is 1.12.1.
Maybe you use not official release from ubuntu distributors.
(For image)
I'm sorry we have to separate --modversion
and --cflags --libs
options.
kmtr@ubuntu:~$ pkg-config OGRE --modversion
1.9.0
kmtr@ubuntu:~$ pkg-config OGRE --cflags --libs
-pthread -I/usr/include/OGRE -lOgreMain -lpthread
This is the CMakeOutput.log when I run cmake .. for my test.cpp above.
Necessary information is console log of cmake -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules ..
.
You should remove your build
folder and clear at perfectory before this operation.
Actually, I am trying to run an old repo, so OpenCV 4.x might be too new.
This is OpenCV bug tracking, not Q&A forum. If you want to ask question, please use https://forum.opencv.org/
And if you want to use old OpenCV which is out of supporting,
we cannot help you in here, so it is better to close this "question" issue.
from opencv_contrib.
Related Issues (20)
- Typos
- Errors when building from source with CUDA modules HOT 1
- Ubuntu 18.04 make -j4 时,报错 HOT 1
- Omnidirectional Camera Calibration HOT 2
- CUDA Toolkit 12.4.0 `tuple` incompatibility HOT 12
- CUDA Connected Components: Wrong dimension checks? HOT 2
- cuda sgm sgbm_gpu->setSpeckleWindowSize(200); sgbm_gpu->setSpeckleRange(1); does not work HOT 1
- The detectEllipses() will causing memory issues and crash. HOT 7
- `cudacodec`: `VideoWriter` fails to compile with Nvidia Video Codec SDK 12.2 HOT 1
- fast_line_detector will not merge segments while there are only two segs on one line
- Build with Error C2664 nppiMeanStdDevGetBufferHostSize_8u_C1R HOT 3
- [Feature] Support 10 bit YUV video in `cv::cudacodec::VideoWriter` and `cv::cudacodec::VideoReader`
- error: no instance of overloaded function "cv::cudev::blockReduce" matches the argument list HOT 8
- ovis: example: aruco_ar_demo.cpp references out-dated header.
- MSB8066 “E:\opencv-4.8.0\build\x64\CMakeFiles\1ac37189e8ef9c926d9800732b650c33\gen_opencv_objc_source_osx.rule;E:\opencv-4.8.0\build\x64\CMakeFiles\7ee019d198942c62ba11a70234367c00\gen_opencv_objc_source_osx.rule”的自定义生成已退出,代码为 -200。
- Radon Transform
- cudaimgproc fails to build with cuda 12.4
- Error encountered while compiling with opencv_contrib-4.8.0 HOT 2
- module 'cv2' has no attribute 'sfm' HOT 1
- I cant find the right dll document after gennerating the jar for java
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 opencv_contrib.