sudasana / armcom2

Armoured Commander II
104 stars 13 forks source link

missing libtcod.so #8

Closed brianpath999 closed 5 years ago

brianpath999 commented 5 years ago

I seem to be missing this. I see that there's the .dlls. But, libtcod clearly wants libtcod.so. How can I get this?

brianpath999 commented 5 years ago

alright I built it myself but now I get the error: undefined symbol: TCOD_console_get_foreground_color_image

sudasana commented 5 years ago

I suspect that this is an issue with libtcod rather than the armcom2 code - I've never run it on Linux though so I'm not 100% certain.

https://bitbucket.org/libtcod/libtcod/src/default/

Zireael07 commented 5 years ago

@brianpath999: Looks like you got a different version of Libtcod than the one armcom2 uses?

brianpath999 commented 5 years ago

hm, I've tried 2 versions of libtcod. Building the so from the latest on that default branch, and the version built in the linux fork of ArmCom1. Same issue for either. I suppose I could try another version, but I'd be interested to know what version of the library other people who have run ArmCom2 on linux before use.

brianpath999 commented 5 years ago

Alright, I've tried building every version of libtcod that will build, and I can't get any to work.

brianpath999 commented 5 years ago

I figured out the source of the issue. The libtcodpy-local file is targeting a way outdated copy of libtcod, and causing problems. The file isn't really needed anymore in the new version of libtcodpy, but armcom2 uses it so closely I think that it might be difficult to remove. I'll try though and see.

brianpath999 commented 5 years ago

I have gotten the game working. If you'd like, I can make a branch for it in this repo.

Zireael07 commented 5 years ago

@brianpath999: Are you familiar with how forking works on GitHub? It's not just 'making a branch in this repo', as 'this repo' is RevSudasana's.

brianpath999 commented 5 years ago

sorry, I meant a fork. I know how forking works.

brianpath999 commented 5 years ago

linux fork is set https://github.com/brianpath999/armcom2

brianpath999 commented 5 years ago

I also updated the ArmCom1 linux fork to 1.04: https://github.com/brianpath999/ArmouredCommanderLinux