![]() |
This is embarassing... - 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: This is embarassing... (/showthread.php?tid=490) |
This is embarassing... - Aerosol - 03-01-2020 How do you install this? I'm on crunchbang (debian) and not used to installing things from source. I've cloned the github page and typed "./sudo install" No such file or directory. Tried "sudo install" and I'm missing a file operand. Tried "sudo install install" and "sudo install ./install" and I'm missing destination operands. Gulp. RE: This is embarassing... - Aerosol - 03-01-2020 Well I figured it out. My hard drive has dealt it's last datum. Kindly disregard this thread folks! RE: This is embarassing... - megamarc - 03-02-2020 Sorry about your hard drive, time to get a new one RE: This is embarassing... - megamarc - 03-02-2020 I work mostly under windows, maybe linux install is a bit broken. There's a linux command called install that may be conflicting with my own install sh RE: This is embarassing... - Aerosol - 03-02-2020 I got lucky and after a 3 hour fsck, I'm back into my linux laptop, and I got Tilengine installed without further hassle. I can't seem to compile the samples though, so maybe not? The install command didnt throw up any errors, but make can't seem to find any of the libraries it needs. RE: This is embarassing... - megamarc - 03-02-2020 Can you include the output of samples compilation process? They don't require any other library besides Tilengine. RE: This is embarassing... - Aerosol - 03-02-2020 Code: gcc Barrel.o Simon.o -o barrel -L/home/aerosol/Tilengine/lib -lTilengine -lm -s -Wl,-rpath,/home/aerosol/Tilengine/lib Here ya go. FYI, I installed Tilengine with "sudo ./install" in Tilengine's root directory, and tried to compile with just "make" in the samples directory. RE: This is embarassing... - Aerosol - 03-02-2020 Double post so this doesn't get lost. So I got it working. I had to adjust the makefile to point to the correct directory, and I also had to rebuild Tilengine from source in order for the binary to actually find libpng (which I had already installed). Problem solved mate! RE: This is embarassing... - megamarc - 03-02-2020 libpng in unix is tricky: some distros bundle old release 1.2, whereas other have newer 1.6. They're somewhat incompatible so library filenames are different. Watching your log, seems that tilengine was built against older release 1.2. When you recompiled it, you linked against your own libpng version so everything works now. I'm glad you have it working, feel free to ask any other issues you may have! |