Closed ledragna closed 2 months ago
Yeah, it is very possible. Have you tried to add -Wincompatible-pointer-types option to setup.py as a temporal solution? meanwhile I will try to fix this.
Also in pypi I uploaded wheels up to python 3.11. If you can prepare a python environment with this python version and install posym from pypi it will probably work.
Hi Abel,
thanks for the quick reply
The first option -Wincompatible-pointer-types
didn't worked for me.
I'll try the second and I'll let you know.
Actually, I think this is probably related to the new numpy C-API
Thanks for the info. I will try to find some time to check all this out. It is quite annoying because I have several codes that will need to be updated to support both numpy 1.x and 2.x.
I fixed the issue and now It should compile with the latest version of numpy. Just waiting for github actions to deploy to pypi.
Hi, sorry, I freshly cloned the repository and retried to compile it, but I still got errors. Am I missing something? compilation_out.log
Ok, I fixed the other c file. Can you try to compile it again?
OK I confirm that it compiles and works perfectly now. Thanks!
Great! I’m closing this issue then
Hi,
I wanted to try your really interesting library but I faced problems installing it both via pypi both cloning the git repository.
In both the cases the process stops when compiling the c code:
My system: GCC: gcc version 14.1.1 20240522 (GCC) python: 3.12.4 (main, Jun 7 2024, 06:33:07) [GCC 14.1.1 20240522] on linux cython: 3.0.10-5 numpy: 2.0.0-1
However it installs successfully in colab, do you think this may related with the newer gcc version?
Thanks for your help
Marco