Categories
Development

opencv throws errors when building cap_avfoundation_mac

Compiling opencv on MacOS Mojave; everything was going well until make threw an error at cap_avfoundation_mac. Make complained about error: stray ‘@’ in program and then went on to throw a bunch of errors on files included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks. The errors go on for absolutely forever; however, most of them seem to be the same. […]