Skip to content

compile issue on macOS - error: conflicting types for 'cblas_dtrsm' #49

@vvzen

Description

@vvzen

Hi!

I'm trying to compile the example-simple project using the make system from command line, but I get this error: error: conflicting types for 'cblas_dtrsm'. I tried it on two different computers, both with macOS Sierra.

I googled it and I was not able to find a way to fix it, it seems to be related to a conflict between dlib and another macOS library. Do you have any hint?

screen shot 2018-08-05 at 13 27 22

This is the full error log ⚠️ :

In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/example-simple/src/main.cpp:2: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/example-simple/src/ofApp.h:10: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/src/ofxFaceTracker2.h:12: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/frontal_face_detector.h:7: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../image_processing/object_detector.h:7: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry.h:10: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry/point_transforms.h:9: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry/../matrix/../optimization/../matrix.h:11: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../matrix/matrix_la.h:13: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry/../matrix/matrix_lu.h:11: /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry/../matrix/matrix_trsm.h:15:18: error: conflicting types for 'cblas_strsm' void cblas_strsm(const enum CBLAS_ORDER Order, const enum CBLAS_SIDE Side, ^ /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas.h:595:6: note: previous declaration is here void cblas_strsm(const enum CBLAS_ORDER __Order, const enum CBLAS_SIDE __Side, ^ In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/example-simple/src/main.cpp:2: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/example-simple/src/ofApp.h:10: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/src/ofxFaceTracker2.h:12: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/frontal_face_detector.h:7: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../image_processing/object_detector.h:7: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry.h:10: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry/point_transforms.h:9: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry/../matrix/../optimization/../matrix.h:11: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../matrix/matrix_la.h:13: In file included from /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry/../matrix/matrix_lu.h:11: /Users/vv/code/of/of_v0.10.0_osx_release/addons/ofxFaceTracker2/libs/dlib/include/dlib/image_processing/../geometry/../matrix/matrix_trsm.h:21:18: error: conflicting types for 'cblas_dtrsm' void cblas_dtrsm(const enum CBLAS_ORDER Order, const enum CBLAS_SIDE Side, ^ /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas.h:628:6: note: previous declaration is here void cblas_dtrsm(const enum CBLAS_ORDER __Order, const enum CBLAS_SIDE __Side,

Namasté

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions