yoyoberenguer / PythonFireFx

Python procedural fire effect
GNU General Public License v3.0
1 stars 0 forks source link

Software does not build #1

Open gh-markt opened 1 month ago

gh-markt commented 1 month ago

Whether via pip install PythonFireFx

Or

python setup.py build python setup.py install

This error is hit:

PythonFireFx/FireFx.c:1253:10: fatal error: Include/Shaderlib.c: No such file or directory
 1253 | #include "Include/Shaderlib.c"
      |          ^~~~~~~~~~~~~~~~~~~~~
yoyoberenguer commented 1 month ago

Hello and thank you for reporting this.

The picture below is showing PIP installation from Windows.

image

Could you please confirm if you are installing this project from Linux platform and the Linux platform and version used? If you are installing the project from Windows, could you please let me know the Python version used to build the project. This error might be triggered due to an older Python version copying the C files in a different location from the main project directory

And last please let me know the project version you are installing (in the above screenshot, I see version 1.0.0) Downloading PythonFireFx-1.0.0.tar.gz (12.6 MB)

Kind Regards

gh-markt commented 1 month ago

I'm using Python 3.11, My Linux kernel version is 5.15.161, it is Slackware based. I'm using GCC 14.2

Both pip install and the manual build via setup.py produced the same result

I'm using version 1.00 of the software on the website

I'm running inside of a venv With all appropriate libraries installed, and all the most recent versions

I'm thinking that the GCC command might need to explicitly have a -I For the directory where the Source files Being compiled are, so It will see the include folder within it. But I haven't been able to figure out exactly where this would need to go

On Mon, Oct 7, 2024 at 1:26 AM Yoann Berenguer @.***> wrote:

Hello and thank you for reporting this.

The picture below is showing PIP installation from Windows.

image.png (view on web) https://github.com/user-attachments/assets/61071403-f382-488f-8676-5794a7ffde0d

Could you please confirm if you are installing this project from Linux platform and the Linux platform and version used? If you are installing the project from Windows, could you please let me know the Python version used to build the project. This error might be triggered due to an older Python version copying the C files in a different location from the main project directory

And last please let me know the project version you are installing (in the above screenshot, I see version 1.0.0) Downloading PythonFireFx-1.0.0.tar.gz (12.6 MB)

Kind Regards

— Reply to this email directly, view it on GitHub https://github.com/yoyoberenguer/PythonFireFx/issues/1#issuecomment-2396252166, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHR74N6Q6XU46UYNOIRJ4I3Z2JATFAVCNFSM6AAAAABPOXWAZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJWGI2TEMJWGY . You are receiving this because you authored the thread.Message ID: @.***>