You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following issue when trying to compile on macos sonoma. Any idea why ?
To compile opensfm I had to disable openmp in the cmakelists.txt.
I have installed libomp with brew but it was not able to find it.
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/foundation/src/types.cc:1:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/foundation/python_types.h:2:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/numpy.h:12:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/pybind11.h:43:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/attr.h:13:
/Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/cast.h:441:36: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
" " + handle(frame->f_code->co_filename).caststd::string() +
^
/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/foundation/src/types.cc:1:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/foundation/python_types.h:2:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/numpy.h:12:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/pybind11.h:43:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/attr.h:13:
/Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/cast.h:443:29: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
handle(frame->f_code->co_name).caststd::string() + "\n";
The text was updated successfully, but these errors were encountered:
I have the following issue when trying to compile on macos sonoma. Any idea why ?
To compile opensfm I had to disable openmp in the cmakelists.txt.
I have installed libomp with brew but it was not able to find it.
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/foundation/src/types.cc:1:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/foundation/python_types.h:2:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/numpy.h:12:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/pybind11.h:43:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/attr.h:13:
/Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/cast.h:441:36: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
" " + handle(frame->f_code->co_filename).caststd::string() +
^
/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/foundation/src/types.cc:1:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/foundation/python_types.h:2:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/numpy.h:12:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/pybind11.h:43:
In file included from /Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/attr.h:13:
/Users/dev/OpenSFM/OpenSfM/opensfm/src/third_party/pybind11/include/pybind11/cast.h:443:29: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
handle(frame->f_code->co_name).caststd::string() + "\n";
The text was updated successfully, but these errors were encountered: