-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build on OSX Mojave #23
Comments
Hmm, looks like that problem is related to this issue from 10 years ago. Perhaps we could fix this by upgrading freeImage, but I'm not that sure. |
The fix in that issue seems to be replacing the typedef with a define
Replaced by:
In any case I suppose there is a version of free image which is compatible with the latest OSX. |
I just diffed the FreeImage header from the latest OF distribution (which compiles on my machine) and the one here. I'm not sure what is being done here https://github.com/openframeworks/apothecary/blob/master/apothecary/formulas/FreeImage/FreeImage.sh |
OF 10.1 is using a patched branch of FreeImage
with the headers fixed for OSX I tried to build against that version and got:
Seems similar (though possibly not related) this this issue: openframeworks/openFrameworks#4385 |
Fresh install of Mojave 10.14.6
Installed Xcode, developer tools and brew.
brew install opencv@2 --c++11 --without-python --without-numpy --without-test
Failed so I installed open cv without any flags.
Then I did
If I remove the typedef from FreeImage.h then I get errors complaining that BOOL is not defined. Which is conflicting because according to ninja/cmake it is defined twice so removing one definition should still leave it defined.
The text was updated successfully, but these errors were encountered: