Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d608d69

Browse filesBrowse files
committed
disable MSMF in headless builds opencv#263
1 parent 64f8d2e commit d608d69
Copy full SHA for d608d69

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def main():
136136
# it seems that cocoa cannot be disabled so on macOS the package is not truly headless
137137
cmake_args.append("-DWITH_WIN32UI=OFF")
138138
cmake_args.append("-DWITH_QT=OFF")
139+
cmake_args.append("-DWITH_MSMF=OFF") # see: https://github.com/skvark/opencv-python/issues/263
139140

140141
if sys.platform.startswith('linux'):
141142
cmake_args.append("-DWITH_V4L=ON")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.