2014-08-31 70 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