1 | initial version |
there are actually 3 relevant folders here,
the source folder, this is where CmakeLists.txt is. in your case it is the "sources" folder, and it is admittedly confusing, that it looks different from https://github.com/itseez/opencv
the build folder. this can be anywhere on your machine, you need ~2.5gb free disk space for the temporary build files, and you can remove it later, once everything is ok
the install folder. this is , where the final libs, dlls and include files und up. you specify it with cmake -DCMAKE_INSTALL_PREFIX
so, as an example, create a build folder, say, d:\mybuild, run cmake from that folder, set the install prefix to d:\opencv\final, and the last cmake argument should be the path to d:\opencv\sources
finally, don't forget to adjust the PATH, so it points to your newly build dlls, not the old, prebuilt ones !
2 | No.2 Revision |
there are actually 3 relevant folders here,
the source folder, folder. this is where CmakeLists.txt is. in your case it is the "sources" folder, and it is admittedly confusing, that it looks different from https://github.com/itseez/opencv
the build folder. this can be anywhere on your machine, you need ~2.5gb free disk space for the temporary build files, and you can remove it later, once everything is ok
the install folder. this is , where the final libs, dlls and include files und up. you specify it with cmake -DCMAKE_INSTALL_PREFIX
so, as an example, create a build folder, say, d:\mybuild, run cmake from that folder, set the install prefix to d:\opencv\final, and the last cmake argument should be the path to d:\opencv\sources
finally, don't forget to adjust the PATH, so it points to your newly build dlls, not the old, prebuilt ones !
3 | No.3 Revision |
there are actually 3 relevant folders here,
the source folder. this is where CmakeLists.txt is. in your case it is the "sources" folder, and it is admittedly confusing, that it looks different from https://github.com/itseez/opencv
the build folder. this can be anywhere on your machine, you need ~2.5gb free disk space for the temporary build files, and you can remove it later, once everything is ok
the install folder. this is , where the final libs, dlls and include files und end up. you specify it with cmake -DCMAKE_INSTALL_PREFIX
so, as an example, create a build folder, say, d:\mybuild, run cmake from that folder, set the install prefix to d:\opencv\final, and the last cmake argument should be the path to d:\opencv\sources
finally, don't forget to adjust the PATH, so it points to your newly build dlls, not the old, prebuilt ones !
4 | No.4 Revision |
there are actually 3 relevant folders here,
the source folder. this is where CmakeLists.txt is. in your case it is the "sources" folder, and it is admittedly confusing, that it looks different from https://github.com/itseez/opencv
the build folder. this can be anywhere on your machine, you need ~2.5gb free disk space for the temporary build files, and you can remove it later, once everything is ok
the install folder. this is , where the final libs, dlls and include files end up. you specify it with cmake -DCMAKE_INSTALL_PREFIX
please make sure, you use latest opencv master version (3.1, atm.)
so, as an example, create a build folder, say, d:\mybuild, run cmake from that folder, set the install prefix to d:\opencv\final, and the last cmake argument should be the path to d:\opencv\sources
finally, don't forget to adjust the PATH, so it points to your newly build dlls, not the old, prebuilt ones !