building minimum required for aruco. succesfully build working lib. but wont build aruco examples. using ccmake - build examples flag is set. it does not appear taht any additional modules or libs are required - but no luck. any help appreciated.
1 | initial version |
building minimum required for aruco. succesfully build working lib. but wont build aruco examples. using ccmake - build examples flag is set. it does not appear taht any additional modules or libs are required - but no luck. any help appreciated.
2 | No.2 Revision |
I have expanded the info here - as requested.
I am a long time user of OpenCV. For the past several months been working with aruco on a very small embedded system using Ubuntu 15.10 and OpenCV 3.1/2. My development cycle starts on a large Intel system running Ubuntu 16.04. I develop the code on this, then copy the source to the armv7l/Ubuntu 15.10 embedded system, and recompile.
Size is limited on the embedded system, and I have successfully built and used aruco on a minimum OpenCV build (aruco, core, highui, imgproc, img_codecs, calib3d, features2d, flann and ml). The resulting static libs link and function properly with a small multi-threaded system that uses aruco for local position. This works both on the large Ubuntu 16.04 machine, and the embedded Ubuntu 15.10 one.
My problem is that I want to use the examples that come with aruco for marker creation and calibration. I only need this on the larger Intel/Ubuntu 16.04 system. I did not have any problem with this on 3.1. I simply used ccmake to set BUILD_EXAMPLES to ON, and recompiled.
But this does not seem to work any more. As far as I can tell, the system does not even try to compile the examples.
I am not getting any errors. I have tried building minimum required a fuller version of opencv - though not absolutely everything. About the only odd thing in my setup is that I limit it to static libs. So I tried it with shared libs with no change in results.
I have completely torn out opencv and restarted from new git clones. I have looked on this forum, and more broadly, for aruco. succesfully hints and have not discovered anything.
I can undoubtedly figure out how to compile the couple of tools I need, since the code is in the tree. But, I am thoughtful that it simply will not build working lib. but wont build aruco examples. using ccmake any examples.
So - build examples flag is set. it does not appear taht any additional modules or libs are required - but no luck. any help appreciated. anybody have any thoughts as to what could be going on?
thanks much
3 | No.3 Revision |
I have expanded the info here - as requested.
I am a long time user of OpenCV. For the past several months been working with aruco on a very small embedded system using Ubuntu 15.10 and OpenCV 3.1/2. My development cycle starts on a large Intel system running Ubuntu 16.04. I develop the code on this, then copy the source to the armv7l/Ubuntu 15.10 embedded system, and recompile.
Size is limited on the embedded system, and I have successfully built and used aruco on a minimum OpenCV build (aruco, core, highui, imgproc, img_codecs, calib3d, features2d, flann and ml). The resulting static libs link and function properly with a small multi-threaded system that uses aruco for local position. This works both on the large Ubuntu 16.04 machine, and the embedded Ubuntu 15.10 one.
My problem is that I want to use the examples that come with aruco for marker creation and calibration. I only need this on the larger Intel/Ubuntu 16.04 system. I did not have any problem with this on 3.1. I simply used ccmake to set BUILD_EXAMPLES to ON, and recompiled.
But this does not seem to work any more. As far as I can tell, the system does not even try to compile the examples.
I am not getting any errors. I have tried building a fuller version of opencv - though not absolutely everything. About the only odd thing in my setup is that I limit it to static libs. So I tried it with shared libs with no change in results.
I have completely torn out opencv and restarted from new git clones. I have looked on this forum, and more broadly, for hints and have not discovered anything.
I can undoubtedly figure out how to compile the couple of tools I need, since the code is in the tree. But, I am thoughtful that it simply will not build any examples.
So - anybody have any thoughts as to what could be going on?
thanks much
Problem Solved: I resolved this by also building the videoio module. This module is not listed in the aruco CMakeLists.txt. However, inspection of the source of some of the samples made clear that it was needed. Adding it to the build caused the aruco samples to be built. For those interested, the executables were put in the bin directory of the build directory, as has been true in the past. And as usual, make install does NOT install them anywhere. Thanks for all the suggestions.