SfM-Toy-Library
SfM-Toy-Library copied to clipboard
OpenMP under Xcode MacOSX 10.11 problems
I can't seem to correctly configure the code via a command line version of cmake, using Xcode, on account of the OpenMP flag now being configured properly. Under the 7.3 version of Xcode, using clang (Apple LLVM version 7.3.0), I'm told OpenMP is now embedded within the libraries but I can't find the right way to tell the compiler this. There also seems to be an issue with finding the QT component, the cellar is empty, I'm running a GUI version of it. I'm finding the same issue with OpenMP on a previous module of yours from the text book "Mastering Open CV with practical computer vision projects" Chapter 4. As far as I can tell I have resolved all other dependency issues. On the GUI version of cmake I can force the OpenMP issue by setting the CMAKE_CXX_FLAGS to -fopenmp, this doesn't work however if I add this into the CMakeList file which is the only recourse I can imagine that might get the command line version to recognise it. I should add that the GUI version, even when not complaining about OpenMP still won't create a viable xcodeproj. I'd dearly love to get one or the other working. I am using version 2.4.12 of OpenCV out of interest, because the text book example seems to require a version 2 of OpenCV.