Unsolved opencv_world file directory location?
-
I'm trying to recompile my code from window to embeded linux. After having done installing qt and opencv, i couldn't seem to find the lopencv_world411 (the number could be different depend on the opencv version) for my code. Can anyone enlight me? (i've got a feeling this is a pretty dumb question, but i'd be very greatful if anyone can help me out)
-
Hi,
You might want to add more information about what that opencv_world file is.
-
@SGaist sorry, my bad it's lopencv_world411 and lopencv_world411d (the number could be different depend on the opencv version)
-
Are you sure that this OpenCV module is available for your target ?
-
@SGaist yes i do, i installed it throught terminal command, so it can't go wrong
-
@NoobDude12343 Did you also sync your sysroot after installing this OpenCV module (it looks like you're cross compiling)?
-
@jsulm no? maybe? to be honest i'm not sure what the sync your sysroot after installing process mean. i download opencv from git, link it with my nano jetson using cmake (following this video to be specific https://www.youtube.com/watch?v=qA46fvP3O5A&t=195s ) and yes, i'm trying to cross compile
-
@NoobDude12343 If you're cross-compiling then you have a sysroot, right? You need OpenCV libs for your target, means: on your target and also in your sysroot (including header files in the sysroot). So, where exactly did you install OpenCV libs? On your target device? Your host?
-
@jsulm the opencv directory is /usr/local/include/opencv4/opencv2
-
@jsulm thanks for your help, but i think i messed up the installing opencv part, since my "show the image" project has never work properly but i just blindly assume that i installed it correctly. But i'm not quite sure anymore. I have made a new thread about that, it'd be more than happy to see your opinion about the subject
https://forum.qt.io/topic/125527/arm-architecture-opencv-qt-not-working-properly