-
Notifications
You must be signed in to change notification settings - Fork 53
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
Install issues on MacOS #10
Comments
Hii, thanks for your interest and sorry for late reply, I was on vacation. I have never tried it on Mac, but it should work in theory. The error seems to be that something is wrong during the compilation of the C++ part. Could you try to compile only the C++ part using cmake. The instructions are the following (tested on ubuntu):
This will probably throw a new error. Please paste it here. |
Thanks for your reply. Running
pybind is indeed an empty directory. I am not sure why pybind would be needed for C++ part. Any ideas? |
You can solve it with:git submodule update --init --recursive.Pybind11 is not necessary for the native C++ part, but it is imported in the CMakeLists.txt file.Best,Iago.Sent from Android deviceEl 26 ago 2023 23:19, Oguzhan Gencoglu ***@***.***> escribió:
Thanks for your reply.
Running cmake .. && make result in:
CMake Error at CMakeLists.txt:25 (add_subdirectory):
The source directory
/mydir/ELSED/ELSED-main/pybind11
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:26 (pybind11_add_module):
Unknown CMake command "pybind11_add_module".
pybind is indeed an empty directory. I am not sure why pybind would be needed for C++ part. Any ideas?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
I have a similar issue when trying to install in Amazon's DeepLearning AMI (Ubuntu). The original error when running
is indeed resolved by
However, after successfully running
Looks like a C++ compiler-version error, any ideas how to fix it? |
same error on mac here. |
Hi, It is a bit of a hard problem to reproduce for me. I have found this solution in StackOverflow, can some of you try to force the standard library to be ibstdc++. You can do it by running:
I hope this helps :) |
I'm hitting the
error on Mac (in python virtual env to be specific).
Both
cmake --version
at command line andimport cmake
in python works:cmake version 3.27.0
Do you have any tips for adjusting the setup.py for Mac?
The text was updated successfully, but these errors were encountered: