Trouble installing samples on win64 - Printable Version +- Tilengine - The 2D retro graphics engine forum (http://tilengine.org/forum) +-- Forum: English forums (http://tilengine.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (http://tilengine.org/forum/forumdisplay.php?fid=7) +--- Thread: Trouble installing samples on win64 (/showthread.php?tid=1199) |
Trouble installing samples on win64 - Azecy_ - 06-29-2021 Hello. I just got the win64 itch binary & am trying to follow the instructions. When trying to install the samples, I get this error: gcc -c -m32 -msse2 -I"../include" -std=c99 -O2 Barrel.c -o Barrel.o gcc -c -m32 -msse2 -I"../include" -std=c99 -O2 Simon.c -o Simon.o gcc Barrel.o Simon.o -o barrel ../lib/win32/Tilengine.lib -s gcc: error: ../lib/win32/Tilengine.lib: No such file or directory mingw32-make: *** [Makefile:42: barrel] Error 1 Please let me know what I need to do next. Thank you. RE: Trouble installing samples on win64 - megamarc - 06-29-2021 Hi, What file did you exactly download? 32-bit import library library is in /lib/win32/Tilengine.lib directory (please check it). If you're aiming 64-bit, i cannot give support on mingw64 as I use mainly Visual Studio Community on windows. RE: Trouble installing samples on win64 - Azecy_ - 06-30-2021 (06-29-2021, 06:36 PM)megamarc Wrote: Hi, I used "Windows 64-bit" from itch. The only directory inside lib is x64. RE: Trouble installing samples on win64 - Azecy_ - 06-30-2021 Also, I was using mingw64. I will try Visual Studio Community & see if that works for me. RE: Trouble installing samples on win64 - megamarc - 07-01-2021 Hi, is it working for you? If you're targeting windows x64, you can use tcc (Tiny C Compiler): https://bellard.org/tcc/ I also have an alternative build script (build.bat) that builds samples using this tool, I use it internally to build and test samples: https://github.com/megamarc/Tilengine/blob/master/samples/build.bat RE: Trouble installing samples on win64 - Azecy_ - 07-02-2021 (07-01-2021, 07:46 PM)megamarc Wrote: Hi, is it working for you? Hey, thanks for checking! I finally got the samples to build using tcc. I also had to get SDL2.dll from the SDL website. It turns out that I need mingw64 for raylib, so I couldn't just have 32 installed instead. It looked like you might not be able to have both 64 and 32 on the same computer since 64 tries to function as 32 when it's installed & they use the same command. tcc worked perfectly, so that solved the problem. By the way, I have one small question. Can you disable the escape key from exiting the application? RE: Trouble installing samples on win64 - megamarc - 07-02-2021 Hi! I'm glad using tcc solved the compatibility problems. Regarding redefining ESC, yes, you can disable it by remapping INPUT_QUIT to scancode 0 after creating the main window: Code: TLN_CreateWindow (NULL, 0); Please take a look here for further information about input remapping: Windowing - redefining inputs RE: Trouble installing samples on win64 - Azecy_ - 07-02-2021 Thanks a lot for your help! |