Failed to load texture
noahmacaulay opened this issue · comments
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.
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
Thank you, that worked.