-
Notifications
You must be signed in to change notification settings - Fork 42
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
MacOS: Segmentation Fault 11 When Importing C++ Modules #42
Comments
Hi, @hfattahi / @piyushrpt, I spent some more time trying to get around this issue and I was wondering if either of you had any insight? I'm also hoping to contribute code eventually. Do either of you have any suggested resources pertaining development workflows via MacOS? |
new macs are a little weird. gcc is pretty much unusable. Use clang. |
I've been using clang to build FRInGE from the start but I have tried gcc as well. Clang does seem to get farther in the process but I'm still getting a segmentation fault. This time with Clang 11.0.0:
Do you think this
|
clang-11 and gcc-10 are both a little weird as they get stricter with what can be done. I have only tested cmake with clang 9/10. Maybe this will help - https://andreasfertig.blog/2021/02/clang-and-gcc-on-macos-catalina-finding-the-include-paths/ |
Building with clang 10 (the mp part seemed necessary, otherwise cmake couldn't find OpenMP)
|
Can you post the output of cmake - this looks like the right python is not being used / discovered |
I was reading this kind of error could be caused by packages compiled with conflicting libraries? Might it be because it's finding packages outside of the conda environment?
|
Actually, I got |
Use |
Hi All,
I'm getting a segmentation fault whenever the c++ modules are imported.
The same thing happens when running nmap.py. Has anyone else encountered this? Is this likely an installation problem? I've tried reinstalling the package without any luck.
Here's the build/installation process I followed according to the installation instructions:
cmake
make all
make install
The text was updated successfully, but these errors were encountered: