Skip to content
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

Failed to compile on macos sonoma #816

Closed
nosleduc opened this issue Jul 14, 2024 · 1 comment
Closed

Failed to compile on macos sonoma #816

nosleduc opened this issue Jul 14, 2024 · 1 comment

Comments

@nosleduc
Copy link

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";

@nosleduc
Copy link
Author

wrong repository sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant