-
Notifications
You must be signed in to change notification settings - Fork 7
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
Are these bindings supposed to work with the Geant4 conda-forge package? #13
Comments
No idea about Macs and OS X but this came up when I googled your error: Might be some architecture or OSX version mismatch |
I tried to build & install geant4_pybind for the Geant4 package installed via conda-forge on macOS 14.3. The Geant4 package is built with the After installing Geant4 via conda-forge, I also had to install However, when I try to run an example, I get segmentation fault. The output of
Do you have any idea what might have gone wrong here? Edit: I should add that I can install the package via pip and run examples without a problem. The above issue only happens after installing from source. |
I'm not sure how conda works on MacOS, but it might be that the conda geant4 package was linked against a c/c++ library shipped with conda while the packages you installed with hombrew are linked against the system c/c++ library. Might be worth trying out whether you can install those additional packages via conda-forge instead. Also make sure you are in the conda environment when building the bindings. |
The installation went fine, but the example usage failed,
I put here some info about my installation of Geant4 using
geant4-config
to help the debug,The text was updated successfully, but these errors were encountered: