1 | initial version |
The problem was that I was compiling with macports g++, not Xcode g++, which must have been how homebrew compiled opencv during the install. I solved this by adding the Xcode g++ path to my $PATH
variable, which I found by running xcodebuild -find g++
, and unlinking macports g++ by running sudo port select --set gcc none
.