how to build opencv with another library.
i wanna build opencv with another library compiled '.a', and i prepaired related '.a' and '.h'.
i tried edit cmake in linux. but, fail to build cause java issue. does have any tip or document?
why this post is awaiting? T.T
^^ this forum is under heavy spam attack currently, thus moderated. probably noone was awake for some time, sorry for the delay.
Use cmake-gui to see all options related to OpenCV build.
CMake errors usually are caused due to the lack of some resource in your computer, and CMake usually tells whats missing.
yum.. how to add my library(.a) and include files(.h) on cmake-gui?
Add a library in OpenCV CMake build options? Don't know how to do that, sorry.
What is your intent? You may be able to link against other libraries and point the compiler at other include directories, but without changing the opencv code to use those libraries it would be kind of useless.
my intent is bottleneck function rewrite in my library function. so change the opencv code the function that call my library.
You can download OpenCV source code and add it as a new project on Eclipse. Then you can edit openCV code and link libraries to compile the way you want.
i make cmake -G"Eclipse CDT4 - Unix Makefiles". but it occure same issue. i have just one question. i wanna build opencv_video.a include my library(.a). my modified video cmake files is below.
ocv_add_module(video opencv_imgproc opencv_imgproc ${VIDEO_LIBRARIES} WRAP java python) ocv_glob_module_sources() set(VIDEO_LIBRARIES "") list(APPEND VIDEO_LIBRARIES ${mylibrary})
ocv_target_include_directories(opencv_video ${mylibrary_header}) ocv_module_include_directories(${the_module} ${mylibrary_header}) ocv_create_module(${VIDEO_LIBRARIES})