I cannot compile the OpenFace on my mac here is the problem, I am stuck

48 views
Skip to first unread message

Bryan Dadiz

unread,
Apr 27, 2019, 8:10:37 AM4/27/19
to CMU-OpenFace

[  2%] Building CXX object lib/local/LandmarkDetector/CMakeFiles/LandmarkDetector.dir/src/CCNF_patch_expert.cpp.o

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/include/stdafx.h:19:

In file included from /usr/local/include/opencv4/opencv2/core/core.hpp:48:

In file included from /usr/local/include/opencv4/opencv2/core.hpp:54:

In file included from /usr/local/include/opencv4/opencv2/core/base.hpp:58:

In file included from /usr/local/include/opencv4/opencv2/core/cvstd.hpp:62:

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:313:9: error: no member named 'signbit' in the global namespace

using ::signbit;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:314:9: error: no member named 'fpclassify' in the global

      namespace

using ::fpclassify;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:315:9: error: no member named 'isfinite' in the global

      namespace; did you mean 'finite'?

using ::isfinite;

      ~~^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:749:12: note: 

      'finite' declared here

extern int finite(double)

           ^

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/include/stdafx.h:19:

In file included from /usr/local/include/opencv4/opencv2/core/core.hpp:48:

In file included from /usr/local/include/opencv4/opencv2/core.hpp:54:

In file included from /usr/local/include/opencv4/opencv2/core/base.hpp:58:

In file included from /usr/local/include/opencv4/opencv2/core/cvstd.hpp:62:

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:316:9: error: no member named 'isinf' in the global namespace

using ::isinf;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:317:9: error: no member named 'isnan' in the global namespace

using ::isnan;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:318:9: error: no member named 'isnormal' in the global

      namespace

using ::isnormal;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:319:7: error: no member named 'isgreater' in the global

      namespace; did you mean '::std::greater'?

using ::isgreater;

      ^~

/Library/Developer/CommandLineTools/usr/include/c++/v1/functional:720:29: note: '::std::greater' declared here

struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>

                            ^

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/include/stdafx.h:19:

In file included from /usr/local/include/opencv4/opencv2/core/core.hpp:48:

In file included from /usr/local/include/opencv4/opencv2/core.hpp:54:

In file included from /usr/local/include/opencv4/opencv2/core/base.hpp:58:

In file included from /usr/local/include/opencv4/opencv2/core/cvstd.hpp:62:

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:320:7: error: no member named 'isgreaterequal' in the global

      namespace; did you mean '::std::greater_equal'?

using ::isgreaterequal;

      ^~

/Library/Developer/CommandLineTools/usr/include/c++/v1/functional:749:29: note: '::std::greater_equal' declared here

struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>

                            ^

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/include/stdafx.h:19:

In file included from /usr/local/include/opencv4/opencv2/core/core.hpp:48:

In file included from /usr/local/include/opencv4/opencv2/core.hpp:54:

In file included from /usr/local/include/opencv4/opencv2/core/base.hpp:58:

In file included from /usr/local/include/opencv4/opencv2/core/cvstd.hpp:62:

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:321:9: error: no member named 'isless' in the global namespace

using ::isless;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:322:9: error: no member named 'islessequal' in the global

      namespace

using ::islessequal;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:323:9: error: no member named 'islessgreater' in the global

      namespace

using ::islessgreater;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:324:9: error: no member named 'isunordered' in the global

      namespace

using ::isunordered;

      ~~^

/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global

      namespace

using ::isunordered;

      ~~^

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:

In file included from /Users/dadidelux/Desktop/openface-build/OpenFace/lib/local/LandmarkDetector/include/stdafx.h:27:

In file included from /usr/local/include/dlib/image_processing/frontal_face_detector.h:7:

In file included from /usr/local/include/dlib/image_processing/../image_processing/object_detector.h:7:

In file included from /usr/local/include/dlib/image_processing/../geometry.h:10:

In file included from /usr/local/include/dlib/image_processing/../geometry/point_transforms.h:9:

In file included from /usr/local/include/dlib/image_processing/../geometry/../matrix/../optimization/../matrix.h:11:

In file included from /usr/local/include/dlib/image_processing/../matrix/matrix_la.h:9:

/usr/local/include/dlib/image_processing/../geometry/../matrix/../optimization/optimization_line_search.h:218:31: error: 

      expected unqualified-id

        if (temp == 0 || std::fpclassify(temp) == FP_SUBNORMAL)

                              ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:127:5: note: 

      expanded from macro 'fpclassify'

    ( sizeof(x) == sizeof(float)  ? __fpclassifyf((float)(x))            \

    ^

14 errors generated.

make[2]: *** [lib/local/LandmarkDetector/CMakeFiles/LandmarkDetector.dir/src/CCNF_patch_expert.cpp.o] Error 1

make[1]: *** [lib/local/LandmarkDetector/CMakeFiles/LandmarkDetector.dir/all] Error 2

make: *** [all] Error 2

Reply all
Reply to author
Forward
0 new messages