-
Notifications
You must be signed in to change notification settings - Fork 11
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
Problems building on 64 bit Intel OS X #3
Comments
Add location of pkg-config files to PKG_CONFIG_PATH, and get submodules (git submodule update -i) |
Which leads to: ld: library not found for -lippicv Is IPP required? Please notice that the machine compiling this code has a CUDA GPU. |
And notice that for the option BITS=Universal a different issue occurs: $ make BITS=Universal |
Regarding OpenCV, probably something wrong with the homebrew package (config), works fine using macports.
Regarding Universal, seems like you are missing some dev files. |
Overall, not being able to build and/or current builds don't work. Please advice. |
to build universal you need the 10.6 SDK and all dependencies (eg OpenCV and friends) built for 10.6 as well. see http://github.com/devernay/xcodelegacy |
These plugins are not maintained and need to be rewritten (I think it's written somewhere in the package). |
The aforementioned successful builds were -only- possible by manually forcing the 10.6 SDK. Still, all the aforementioned problems occur. Will update this issue with the results from the Resolve hacks. Please post a warning on the README if these are known issues to avoid running through dependency hell and messing with one's dev environment in order to end up nowhere. |
Note, if you want inpaint/segment you must cd to opencv2fx and build from there. Also note that inpaint/segment is 8bit-only. |
The one software you mention as successful test environment for this OFX is Vegas, which is a Windows software. Has this ever been actually successfully tried on any other OS? Does it really work in OS X at all? |
The opencv2fx folder won't build because uses deprecated modules in opencv3, which is the version from MacPorts, which in turn is the only opencv build that apparently works. |
inpaint/segment worked on all platforms, but as already said they have been unmaintained for a long time. Currently they don't even work because something in openfx broke them at one point, I'm currently able to build and use inpaint/segment on Linux using a very old commit (4609ea5): |
Understood. I've pretty much given up on this plugin and if I had time to correct these issues / implements those "hacks" I'd be rather be building my own plugin from scratch which, unfortunately, is not a possibility either. You may go ahead to close this issue, please leave appropriate warnings on the README for future users. |
Notice OpenCV -is- installed (via homebrew)
$make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C OpenCV
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
c++ -c -g -I../openfx/Support/../include -I../openfx/Support/include -I../openfx/Support/Plugins/include -fvisibility=hidden -DOFX_EXTENSIONS_VEGAS -DOFX_EXTENSIONS_NUKE -I../OpenCV -I../SupportExt -I. -I../VectorGenerator ../VectorGenerator/VectorGenerator.cpp -o Darwin-64-debug/VectorGenerator.o
In file included from ../VectorGenerator/VectorGenerator.cpp:75:
../OpenCV/GenericOpenCVPlugin.h:41:10: fatal error: 'ofxsMacros.h' file not
found
include "ofxsMacros.h"
1 error generated.
make[1]: *** [Darwin-64-debug/VectorGenerator.o] Error 1
make: *** [OpenCV] Error 2
The text was updated successfully, but these errors were encountered: