New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when building on Ubuntu #450

Closed
freddyb opened this Issue Dec 8, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@freddyb

freddyb commented Dec 8, 2017

Indeed that wasn't the most useful comment. Here's what I get for 'make' after installing the required packages via apt as suggested:

make mingw OPT="-O3 -Wall -std=c99 -DTIC80_PRO"
make[1]: Entering directory '/home/freddy/TIC-80'
tools/bin2txt/bin2txt demos/fire.tic bin/assets/fire.tic.dat -z
make[1]: tools/bin2txt/bin2txt: Command not found
Makefile:350: recipe for target 'bin/assets/fire.tic.dat' failed
make[1]: *** [bin/assets/fire.tic.dat] Error 127
make[1]: Leaving directory '/home/freddy/TIC-80'
Makefile:295: recipe for target 'mingw-pro' failed
make: *** [mingw-pro] Error 2

Going to tools/bin2txt and compiling via 'make' gives me bin2txt.exe, renaming it to bin2txt (without exe) makes it go further but fail somewhere else:

make[1]: Entering directory '/home/freddy/TIC-80'
gcc -O3 -Wall -std=c99 -DTIC80_PRO -shared bin/tic80.o bin/tic.o bin/tools.o bin/blip_buf.o bin/jsapi.o bin/luaapi.o bin/duktape.o bin/gif.o -Llib/mingw -llua -lgif -Wl,--out-implib,bin/libtic80.a -o bin/tic80.dll
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "de_DE:en",
	LC_ALL = (unset),
	LC_NAME = "de_DE.UTF-8",
	LC_NUMERIC = "de_DE.UTF-8",
	LC_TIME = "de_DE.UTF-8",
	LC_MONETARY = "de_DE.UTF-8",
	LC_TELEPHONE = "de_DE.UTF-8",
	LC_PAPER = "de_DE.UTF-8",
	LC_MEASUREMENT = "de_DE.UTF-8",
	LC_IDENTIFICATION = "de_DE.UTF-8",
	LC_ADDRESS = "de_DE.UTF-8",
	LANG = "CC"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "de_DE:en",
	LC_ALL = (unset),
	LC_NAME = "de_DE.UTF-8",
	LC_NUMERIC = "de_DE.UTF-8",
	LC_TIME = "de_DE.UTF-8",
	LC_MONETARY = "de_DE.UTF-8",
	LC_TELEPHONE = "de_DE.UTF-8",
	LC_PAPER = "de_DE.UTF-8",
	LC_MEASUREMENT = "de_DE.UTF-8",
	LC_IDENTIFICATION = "de_DE.UTF-8",
	LC_ADDRESS = "de_DE.UTF-8",
	LANG = "CC"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/usr/bin/ld.bfd.real: unrecognized option '--out-implib'
/usr/bin/ld.bfd.real: use the --help option for usage information
collect2: error: ld returned 1 exit status
Makefile:286: recipe for target 'bin/tic80.dll' failed
make[1]: *** [bin/tic80.dll] Error 1
make[1]: Leaving directory '/home/freddy/TIC-80'
Makefile:295: recipe for target 'mingw-pro' failed
make: *** [mingw-pro] Error 2
@nesbox

This comment has been minimized.

Show comment
Hide comment
@nesbox

nesbox Dec 9, 2017

Owner

weird, TIC doesn't use Perl
anyway, you don't need bin2txt to build, just use https://github.com/nesbox/TIC-80/wiki/build-instructions#debian

sudo apt-get install git build-essential libgtk-3-dev libsdl2-dev lua5.3-dev zlib1g-dev
git clone https://github.com/nesbox/TIC-80
cd TIC-80
make linux
Owner

nesbox commented Dec 9, 2017

weird, TIC doesn't use Perl
anyway, you don't need bin2txt to build, just use https://github.com/nesbox/TIC-80/wiki/build-instructions#debian

sudo apt-get install git build-essential libgtk-3-dev libsdl2-dev lua5.3-dev zlib1g-dev
git clone https://github.com/nesbox/TIC-80
cd TIC-80
make linux

@nesbox nesbox closed this Dec 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment