opencv_world file directory location?
- 
wrote on 7 Apr 2021, 15:34 last edited by NoobDude12343 4 Jul 2021, 15:40
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.
 - 
wrote on 7 Apr 2021, 15:45 last edited by NoobDude12343 4 Jul 2021, 15:53
@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 ?
 - 
wrote on 8 Apr 2021, 02:10 last edited by
@SGaist yes i do, i installed it throught terminal command, so it can't go wrong
 - 
@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)?
 - 
@NoobDude12343 Did you also sync your sysroot after installing this OpenCV module (it looks like you're cross compiling)?
wrote on 8 Apr 2021, 07:30 last edited by@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
 - 
@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?
 - 
wrote on 8 Apr 2021, 13:40 last edited by
@jsulm the opencv directory is /usr/local/include/opencv4/opencv2
 - 
wrote on 8 Apr 2021, 14:48 last edited by
@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 
1/10