1 | initial version |
have a look at the cmakelists.txt in the module, you want to work on, to figure out the dependancies. in the case of slic (ximgproc), we see (line 3):
opencv_imgproc opencv_core opencv_highgui opencv_calib3d .
that's the minimum you have to build now (and ofc. ximgproc itself)
make a new build folder, like "build_slic" (leave your original configuration intact for later)
cd there and call cmake-gui. tick off any BUILD_opencv_xxx targets not in the list above(you'll still need 3rdparty things) , any TEST, SAMPLES, DOC, EXAMPLES thing
build your minimal .sln from that. you won't have to re-run cmake after the initial run..
2 | No.2 Revision |
have a look at the cmakelists.txt in the module, you want to work on, to figure out the dependancies. in the case of slic (ximgproc), we see (line 3):
opencv_imgproc opencv_core opencv_highgui opencv_calib3d .
that's the minimum you have to build now (and ofc. ximgproc itself)
make a new build folder, like "build_slic" (leave your original configuration intact for later)
cd there and call cmake-gui. cmake-gui ..
. tick off any BUILD_opencv_xxx targets not in the list above(you'll still need 3rdparty things) , any TEST, SAMPLES, DOC, EXAMPLES thing
build your minimal .sln from that. you won't have to re-run cmake after the initial run..
3 | No.3 Revision |
have a look at the cmakelists.txt in the module, you want to work on, to figure out the dependancies. in the case of slic (ximgproc), we see (line 3):
opencv_imgproc opencv_core opencv_highgui opencv_calib3d .
that's the minimum you have to build now (and ofc. ximgproc itself)
make a new build folder, like "build_slic" (leave your original configuration intact for later)
cd there and call cmake-gui ..
. tick off any BUILD_opencv_xxx targets not in the list above(you'll still need 3rdparty things) things, also probably your testing code needs opencv_imgcodecs) , any TEST, SAMPLES, DOC, EXAMPLES thing
build your minimal .sln from that. you won't have to re-run cmake after the initial run..
4 | No.4 Revision |
have a look at the cmakelists.txt in the module, you want to work on, to figure out the dependancies. in the case of slic (ximgproc), we see (line 3):
opencv_imgproc opencv_core opencv_highgui opencv_calib3d .
that's the minimum you have to build now (and ofc. ximgproc itself)
make a new build folder, like "build_slic" (leave your original configuration intact for later)
cd there and call cmake-gui ..
. tick off any BUILD_opencv_xxx targets not in the list above(you'll still need 3rdparty things, also probably your testing code needs opencv_imgcodecs) , any TEST, SAMPLES, DOC, EXAMPLES thing
build your minimal .sln from that. you won't have to re-run cmake after the initial run..run (unless you add new files to the module)