Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. 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)

  2. 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

  3. build your minimal .sln from that. you won't have to re-run cmake after the initial run..

  1. 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)

  2. 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

  3. build your minimal .sln from that. you won't have to re-run cmake after the initial run..

  1. 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)

  2. 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

  3. build your minimal .sln from that. you won't have to re-run cmake after the initial run..

  1. 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)

  2. 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

  3. 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)