1 | initial version |
there is a BUILD_LIST
option for cmake, where you can specify exactly the opencv modules you want / need.
looking at the bioinspired's cmakelists.txt we see, that we need at least: opencv_core
(though, no idea, what your program really does, i guess you still need some more, e.g. for loading images, gui, etc.)
i'd propose the following cmake options:
-DOPENCV_EXTRA_MODULES=/where/you/put/contrib/modules/bioinspired
-DBUILD_LIST=bioinspired,core,imgcodecs,imgproc,highgui
-DBUILD_SHARED_LIBS=OFF
but note, that linking your program later to static libs is much more difficult, than the dynamic case, because you
-llibjpeg -lz -ldl
now, those have to go to the end of the listgetting this right, might prove a bit painful, just saying...
2 | No.2 Revision |
there is a BUILD_LIST
option for cmake, where you can specify exactly the opencv modules you want / need.need. (comma seperated list)
looking at the bioinspired's cmakelists.txt we see, that we need at least: opencv_core
(though, no idea, what your program really does, i guess you still need some more, e.g. for loading images, gui, etc.)
i'd propose the following cmake options:
-DOPENCV_EXTRA_MODULES=/where/you/put/contrib/modules/bioinspired
-DBUILD_LIST=bioinspired,core,imgcodecs,imgproc,highgui
-DBUILD_SHARED_LIBS=OFF
but note, that linking your program later to static libs is much more difficult, than the dynamic case, because you
-llibjpeg -lz -ldl
now, those have to go to the end of the listgetting this right, might prove a bit painful, just saying...