Posts: 7
Threads: 2
Joined: Mar 2020
Reputation:
0
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.
Posts: 7
Threads: 2
Joined: Mar 2020
Reputation:
0
Well I figured it out.
My hard drive has dealt it's last datum.
Kindly disregard this thread folks!
Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
Sorry about your hard drive, time to get a new one
Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
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
Posts: 7
Threads: 2
Joined: Mar 2020
Reputation:
0
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.
Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
Can you include the output of samples compilation process? They don't require any other library besides Tilengine.
Posts: 7
Threads: 2
Joined: Mar 2020
Reputation:
0
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!
Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
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!