chrxh / alien

ALIEN is a CUDA-powered artificial life simulation program.
https://alien-project.org
BSD 3-Clause "New" or "Revised" License
3.48k stars 106 forks source link

Failed to load texture #64

Closed noahmacaulay closed 1 year ago

noahmacaulay commented 1 year ago

I'm trying to build the project on Windows. After following the instructions in the readme, I appear to succeed and get an executable in the 'build/Release' folder, but when I try to run it it immediately closes and writes the following in the log file:

2023-02-20 16-04-50: set full screen mode 2023-02-20 16-04-50: The following exception occurred: Failed to load texture

I am running Windows 10 64-bit. I have Visual Studio 2022 version 17.1.2 installed and CUDA version 11.6.

chrxh commented 1 year ago

Hi, the executable should be built in [...]build\Release\alien.exe. When you run alien.exe directly from the Release folder, it does not find the resource files. Instead you should run it from the build/working directory in the console via .\Release\alien.exe

noahmacaulay commented 1 year ago

Thank you, that worked.