2014-08-31 77 views
2

我想问一下如何指定OpenCV模块由cmake ex构建。我想只建立核心,highgui和improc。构建特定模块OpenCV

感谢您的回复,因为我使用了它并且无法找到它。 :(

马里

回答

4

可以通过指定其切换每个模块的cmake:

-DBUILD_opencv_xxxx=OFF # where xxxx is the module in question, and ON or OFF is your requested state 

与cmake的

+1

的还有一个办法只能多建几个模块,仍然建立任何想法python模块? – jmilloy 2015-06-02 19:06:55

+2

模块的名称是什么? – James 2015-07-29 01:07:11