Trouble compiling crawl


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

User avatar

Spider Stomper

Posts: 195

Joined: Friday, 6th November 2015, 01:35

Post Sunday, 15th January 2017, 15:03

Trouble compiling crawl

  Code:
$ make TILES=Y
sh: cc: command not found
make: gcc: Command not found
/bin/sh: g++: command not found
/bin/sh: g++: command not found
which: no advpng in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
which: no pngcrush in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
  * If you experience any problems building Crawl, please take a second look
  * at INSTALL.txt: the solution to your problem just might be in there!
    * Need to build contribs: pcre freetype libpng sdl2 sdl2-image zlib lua/src sqlite
make[1]: Entering directory '/home/tihom_000/crawl/crawl-ref/source/contrib'
make[2]: Entering directory '/home/tihom_000/crawl/crawl-ref/source/contrib/pcre'
    CC pcre_byte_order.o
/bin/sh: gcc: command not found
make[2]: *** [Makefile:115: pcre_byte_order.o] Error 127
make[2]: Leaving directory '/home/tihom_000/crawl/crawl-ref/source/contrib/pcre'
make[1]: *** [Makefile:24: pcre] Error 2
make[1]: Leaving directory '/home/tihom_000/crawl/crawl-ref/source/contrib'
make: *** [Makefile:1564: .contrib-libs] Error 2

Umm... plese help?

I'm using MSYS2 on Win10
I followed all the instructions found here.
Memento mori
User avatar

Spider Stomper

Posts: 216

Joined: Friday, 19th August 2016, 21:21

Post Sunday, 15th January 2017, 17:07

Re: Trouble compiling crawl

Hi, did you exit and restarted the mingw64.exe after each package install? (I'm assuming you installed the c dev tools as specified in the install notes, ofc)
make food great again
User avatar

Spider Stomper

Posts: 195

Joined: Friday, 6th November 2015, 01:35

Post Sunday, 15th January 2017, 17:21

Re: Trouble compiling crawl

I don't think I did. I think I only restarted once
Memento mori

Dungeon Master

Posts: 543

Joined: Sunday, 9th June 2013, 17:13

Post Monday, 16th January 2017, 09:05

Re: Trouble compiling crawl

It looks like you have make, so you have the dev toolchain probably, but you don't have a compiler. Maybe you didn't follow the instructions from here:

  Code:
pacman -S mingw-w64-x86_64-toolchain

Verify that you've run this pacman command to install the compiler toolchain. If so you should be able to simply type 'gcc -v' from the bash shell and get a bunch of gcc version info.

For this message the author gammafunk has received thanks:
dracos369
User avatar

Spider Stomper

Posts: 195

Joined: Friday, 6th November 2015, 01:35

Post Monday, 16th January 2017, 20:06

Re: Trouble compiling crawl

It appears it was not installed. Funny, I distinctly remember doing that step. Oh, well.
Memento mori
User avatar

Spider Stomper

Posts: 195

Joined: Friday, 6th November 2015, 01:35

Post Monday, 16th January 2017, 21:45

Re: Trouble compiling crawl

OK, I reinstalled the package (and it said reinstalling), but I still get the same message.
Memento mori

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.