What's keeping you from compiling, DCSS?


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

Blades Runner

Posts: 536

Joined: Friday, 1st April 2016, 18:15

Post Thursday, 14th July 2016, 23:50

What's keeping you from compiling, DCSS?

  Code:
Student@C-5820B1746A8A MSYS /c/git-sdk-64/crawl/crawl-ref/source
$ make package-windows-zips
sh: cc: command not found
make: gcc: Command not found
/bin/sh: g++: command not found
/bin/sh: g++: command not found
make clean
make[1]: Entering directory '/c/git-sdk-64/crawl/crawl-ref/source'
sh: cc: command not found
make[1]: gcc: Command not found
/bin/sh: g++: command not found
/bin/sh: g++: command not found
rm -f dat/tiles/floor.png dat/tiles/wall.png dat/tiles/feat.png dat/tiles/main.png dat/tiles/player.png dat/tiles/gui.png dat/tiles/icons.png
make -C rltiles distclean
make[2]: Entering directory '/c/git-sdk-64/crawl/crawl-ref/source/rltiles'
make[2]: gcc: Command not found
rm -f tiledef-main.h tiledef-dngn.h tiledef-floor.h tiledef-wall.h tiledef-feat.h tiledef-player.h tiledef-gui.h tiledef-icons.h tool/tile_colour.o tool/tile.o tool/tile_page.o tool/tile_list_processor.o tool/main.o tool/tilegen.elf tiledef-main.cc tiledef-dngn.cc tiledef-floor.cc tiledef-wall.cc tiledef-feat.cc tiledef-player.cc tiledef-gui.cc tiledef-icons.cc main.png dngn.png floor.png wall.png feat.png player.png gui.png icons.png tile-main.html tile-dngn.html tile-floor.html tile-wall.html tile-feat.html tile-player.html tile-gui.html tile-icons.html \
        tool/tile_colour.d tool/tile.d tool/tile_page.d tool/tile_list_processor.d tool/main.d main.d dngn.d floor.d wall.d feat.d player.d gui.d icons.d tileinfo-main.js tileinfo-dngn.js tileinfo-floor.js tileinfo-wall.js tileinfo-feat.js tileinfo-player.js tileinfo-gui.js tileinfo-icons.js .cflags
make[2]: Leaving directory '/c/git-sdk-64/crawl/crawl-ref/source/rltiles'
rm -f webserver/game_data/static/floor.png webserver/game_data/static/wall.png webserver/game_data/static/feat.png webserver/game_data/static/main.png webserver/game_data/static/player.png webserver/game_data/static/gui.png webserver/game_data/static/icons.png webserver/static/stone_soup_icon-32x32.png webserver/static/title_denzi_dragon.png webserver/static/title_denzi_kitchen_duty.png webserver/static/title_denzi_summoner.png webserver/static/title_denzi_undead_warrior.png webserver/static/title_omndra_zot_demon.png webserver/static/title_firemage.png webserver/static/title_shadyamish_octm.png webserver/static/title_denzi_evil_mage.png webserver/static/title_denzi_invasion.png webserver/static/title_psiweapon_kiku.png webserver/static/title_white_noise_entering_the_dungeon.png webserver/static/title_white_noise_grabbing_the_orb.png webserver/static/title_pooryurik_knight.png webserver/static/title_psiweapon_roxanne.png webserver/static/title_baconkid_gastronok.png webserver/static/title_baconkid_mnoleg.png webserver/static/title_peileppe_bloax_eye.png webserver/static/title_baconkid_duvessa_dowan.png webserver/game_data/static/tileinfo-floor.js webserver/game_data/static/tileinfo-wall.js webserver/game_data/static/tileinfo-feat.js webserver/game_data/static/tileinfo-main.js webserver/game_data/static/tileinfo-player.js webserver/game_data/static/tileinfo-gui.js webserver/game_data/static/tileinfo-icons.js webserver/game_data/static/tileinfo-dngn.js webserver/*.pyc
rm -f util/monster/monster util/monster/vault_monster_data.h tile_info.txt
make -C util/ clean
make[2]: Entering directory '/c/git-sdk-64/crawl/crawl-ref/source/util'
rm -f levcomp.tab.cc levcomp.tab.h levcomp.lex.cc *.o *.d
make[2]: Leaving directory '/c/git-sdk-64/crawl/crawl-ref/source/util'
rm -f crawl.exe crawl.exe.exe art-enum.h config.h mon-mst.h  art-data.h mi-enum.h rltiles/dc-unrand.txt build.h compflag.h dat/dlua/tags.lua cmd-name.h icon.o util/levcomp.tab.o util/levcomp.lex.o version.o libw32c.o\
    libunix.o ability.o abyss.o acquire.o act-iter.o actor-los.o actor.o adjust.o areas.o arena.o artefact.o attack.o attitude-change.o beam.o behold.o bitary.o branch.o butcher.o bloodspatter.o chardump.o cio.o cloud.o clua.o cluautil.o colour.o command.o coord.o coord-circle.o coordit.o crash.o ctest.o dactions.o database.o dbg-asrt.o dbg-maps.o dbg-objstat.o dbg-scan.o dbg-util.o decks.o delay.o describe.o describe-god.o describe-spells.o dgl-message.o dgn-delve.o dgn-height.o dgn-irregular-box.o dgn-labyrinth.o dgn-layouts.o dgn-overview.o dgn-proclayouts.o dgn-shoals.o dgn-swamp.o dgnevent.o directn.o dlua.o domino.o dungeon.o end.o english.o errors.o evoke.o exclude.o exercise.o fearmonger.o feature.o fight.o files.o fineff.o food.o format.o fprop.o geom2d.o ghost.o godabil.o godblessing.o godcompanions.o godconduct.o goditem.o godmenu.o godpassive.o godprayer.o godwrath.o hash.o hints.o hiscores.o initfile.o invent.o item_use.o itemname.o itemprop.o items.o jobs.o json.o kills.o l_colour.o l_crawl.o l_debug.o l_dgn.o l_dgnbld.o l_dgnevt.o l_dgngrd.o l_dgnit.o l_dgnlvl.o l_dgnmon.o l_dgntil.o l_feat.o l_file.o l_food.o l_global.o l_item.o l_los.o l_mapgrd.o l_mapmrk.o l_moninf.o l_mons.o l_option.o l_spells.o l_subvault.o l_travel.o l_view.o l_you.o lang-fake.o lev-pand.o libutil.o lookup_help.o los.o los_def.o losglobal.o losparam.o luaterp.o macro.o makeitem.o map_knowledge.o mapdef.o mapmark.o maps.o melee_attack.o menu.o message-stream.o message.o misc.o mon-abil.o mon-act.o mon-behv.o mon-cast.o mon-clone.o mon-death.o mon-ench.o mon-gear.o mon-grow.o mon-info.o mon-movetarget.o mon-pathfind.o mon-pick.o mon-place.o mon-poly.o mon-project.o mon-speak.o mon-stealth.o mon-tentacle.o mon-transit.o mon-util.o monster.o mutation.o newgame.o ng-init.o ng-input.o ng-restr.o ng-setup.o ng-wanderer.o notes.o orb.o ouch.o output.o package.o pattern.o pcg.o perlin.o place-info.o place.o playable.o player-act.o player-equip.o player-reacts.o player-stats.o player.o potion.o prompt.o quiver.o randbook.o random.o random-var.o ranged_attack.o ray.o rot.o religion.o shopping.o shout.o show.o showsymb.o skill_menu.o skills.o species.o spl-book.o spl-cast.o spl-clouds.o spl-damage.o spl-goditem.o spl-miscast.o spl-monench.o spl-other.o spl-pick.o spl-selfench.o spl-summoning.o spl-tornado.o spl-transloc.o spl-util.o spl-wpnench.o spl-zap.o sprint.o sqldbm.o stairs.o startup.o stash.o state.o status.o stepdown.o store.o stringutil.o syscalls.o tags.o target.o teleport.o terrain.o throw.o timed_effects.o transform.o traps.o travel.o tutorial.o uncancel.o unicode.o view.o viewchar.o viewgeom.o viewmap.o wcwidth.o wiz-dgn.o wiz-dump.o wiz-fsim.o wiz-item.o wiz-mon.o wiz-you.o worley.o xom.o tilepick.o tileview.o libw32c.o rltiles/tiledef-floor.o rltiles/tiledef-wall.o rltiles/tiledef-feat.o rltiles/tiledef-main.o rltiles/tiledef-player.o rltiles/tiledef-gui.o rltiles/tiledef-icons.o rltiles/tiledef-dngn.o rltiles/tiledef-unrand.o tiledoll.o tilemcache.o tilepick-p.o tilecell.o glwrapper.o libgui.o tilebuf.o tiledgnbuf.o tilefont.o tilereg.o tilereg-abl.o tilereg-cmd.o tilereg-crt.o tilereg-dgn.o tilereg-doll.o tilereg-grid.o tilereg-inv.o tilereg-map.o tilereg-mem.o tilereg-menu.o tilereg-mon.o tilereg-msg.o tilereg-popup.o tilereg-skl.o tilereg-spl.o tilereg-stat.o tilereg-tab.o tilereg-text.o tilereg-title.o tilesdl.o tiletex.o windowmanager-sdl.o glwrapper-ogl.o fontwrapper-ft.o tileweb.o tileweb-text.o util/levcomp.tab.o util/levcomp.lex.o rltiles/tiledef-floor.o rltiles/tiledef-wall.o rltiles/tiledef-feat.o rltiles/tiledef-main.o rltiles/tiledef-player.o rltiles/tiledef-gui.o rltiles/tiledef-icons.o rltiles/tiledef-dngn.o rltiles/tiledef-unrand.o libw32c.o libunix.o main.o util/monster/monster-main.o version.o ability.d abyss.d acquire.d act-iter.d actor-los.d actor.d adjust.d areas.d arena.d artefact.d attack.d attitude-change.d beam.d behold.d bitary.d branch.d butcher.d bloodspatter.d chardump.d cio.d cloud.d clua.d cluautil.d colour.d command.d coord.d coord-circle.d coordit.d crash.d ctest.d dactions.d database.d dbg-asrt.d dbg-maps.d dbg-objstat.d dbg-scan.d dbg-util.d decks.d delay.d describe.d describe-god.d describe-spells.d dgl-message.d dgn-delve.d dgn-height.d dgn-irregular-box.d dgn-labyrinth.d dgn-layouts.d dgn-overview.d dgn-proclayouts.d dgn-shoals.d dgn-swamp.d dgnevent.d directn.d dlua.d domino.d dungeon.d end.d english.d errors.d evoke.d exclude.d exercise.d fearmonger.d feature.d fight.d files.d fineff.d food.d format.d fprop.d geom2d.d ghost.d godabil.d godblessing.d godcompanions.d godconduct.d goditem.d godmenu.d godpassive.d godprayer.d godwrath.d hash.d hints.d hiscores.d initfile.d invent.d item_use.d itemname.d itemprop.d items.d jobs.d json.d kills.d l_colour.d l_crawl.d l_debug.d l_dgn.d l_dgnbld.d l_dgnevt.d l_dgngrd.d l_dgnit.d l_dgnlvl.d l_dgnmon.d l_dgntil.d l_feat.d l_file.d l_food.d l_global.d l_item.d l_los.d l_mapgrd.d l_mapmrk.d l_moninf.d l_mons.d l_option.d l_spells.d l_subvault.d l_travel.d l_view.d l_you.d lang-fake.d lev-pand.d libutil.d lookup_help.d los.d los_def.d losglobal.d losparam.d luaterp.d macro.d makeitem.d map_knowledge.d mapdef.d mapmark.d maps.d melee_attack.d menu.d message-stream.d message.d misc.d mon-abil.d mon-act.d mon-behv.d mon-cast.d mon-clone.d mon-death.d mon-ench.d mon-gear.d mon-grow.d mon-info.d mon-movetarget.d mon-pathfind.d mon-pick.d mon-place.d mon-poly.d mon-project.d mon-speak.d mon-stealth.d mon-tentacle.d mon-transit.d mon-util.d monster.d mutation.d newgame.d ng-init.d ng-input.d ng-restr.d ng-setup.d ng-wanderer.d notes.d orb.d ouch.d output.d package.d pattern.d pcg.d perlin.d place-info.d place.d playable.d player-act.d player-equip.d player-reacts.d player-stats.d player.d potion.d prompt.d quiver.d randbook.d random.d random-var.d ranged_attack.d ray.d rot.d religion.d shopping.d shout.d show.d showsymb.d skill_menu.d skills.d species.d spl-book.d spl-cast.d spl-clouds.d spl-damage.d spl-goditem.d spl-miscast.d spl-monench.d spl-other.d spl-pick.d spl-selfench.d spl-summoning.d spl-tornado.d spl-transloc.d spl-util.d spl-wpnench.d spl-zap.d sprint.d sqldbm.d stairs.d startup.d stash.d state.d status.d stepdown.d store.d stringutil.d syscalls.d tags.d target.d teleport.d terrain.d throw.d timed_effects.d transform.d traps.d travel.d tutorial.d uncancel.d unicode.d view.d viewchar.d viewgeom.d viewmap.d wcwidth.d wiz-dgn.d wiz-dump.d wiz-fsim.d wiz-item.d wiz-mon.d wiz-you.d worley.d xom.d tilepick.d tileview.d libw32c.d rltiles/tiledef-floor.d rltiles/tiledef-wall.d rltiles/tiledef-feat.d rltiles/tiledef-main.d rltiles/tiledef-player.d rltiles/tiledef-gui.d rltiles/tiledef-icons.d rltiles/tiledef-dngn.d rltiles/tiledef-unrand.d tiledoll.d tilemcache.d tilepick-p.d tilecell.d glwrapper.d libgui.d tilebuf.d tiledgnbuf.d tilefont.d tilereg.d tilereg-abl.d tilereg-cmd.d tilereg-crt.d tilereg-dgn.d tilereg-doll.d tilereg-grid.d tilereg-inv.d tilereg-map.d tilereg-mem.d tilereg-menu.d tilereg-mon.d tilereg-msg.d tilereg-popup.d tilereg-skl.d tilereg-spl.d tilereg-stat.d tilereg-tab.d tilereg-text.d tilereg-title.d tilesdl.d tiletex.d windowmanager-sdl.d glwrapper-ogl.d fontwrapper-ft.d tileweb.d tileweb-text.d util/levcomp.tab.d util/levcomp.lex.d rltiles/tiledef-floor.d rltiles/tiledef-wall.d rltiles/tiledef-feat.d rltiles/tiledef-main.d rltiles/tiledef-player.d rltiles/tiledef-gui.d rltiles/tiledef-icons.d rltiles/tiledef-dngn.d rltiles/tiledef-unrand.d libw32c.d libunix.d main.d util/monster/monster-main.d version.d *.ixx  \
    .contrib-libs .cflags AppHdr.h.gch AppHdr.h.d util/fake_pty \
            rltiles/tiledef-unrand.cc
rm -f -r build-win
rm -f -r build
make[1]: Leaving directory '/c/git-sdk-64/crawl/crawl-ref/source'
make TILES=y DESTDIR=build-win/stone_soup-tiles-0.19 install
make[1]: Entering directory '/c/git-sdk-64/crawl/crawl-ref/source'
sh: cc: command not found
make[1]: gcc: Command not found
/bin/sh: g++: command not found
/bin/sh: g++: command not found
which: no advpng in (/c/Users/Student/bin:/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 (/c/Users/Student/bin:/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!
    * rebuilding crawl: new build flags or prefix
TRACK_CFLAGS = gcc g++ -O2 -pipe -DWINMM_PLAY_SOUNDS -D__USE_MINGW_ANSI_STDIO -DUSE_TILE -DUSE_TILE_LOCAL -DUSE_SDL -DUSE_GL -DUSE_FT -DUSE_SOUND -Wall -Wformat-security -Wundef -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -Wuninitialized -Iutil -I. -Irltiles -isystem contrib/install/unknown/include/SDL2 -isystem contrib/install/unknown/include/freetype2 -isystem contrib/install/unknown/include -DWIZARD -DASSERTS -DPROPORTIONAL_FONT=\"dat/tiles/DejaVuSans.ttf\" -DMONOSPACED_FONT=\"dat/tiles/DejaVuSansMono.ttf\" -DREGEX_PCRE -DCLUA_BINDINGS #EOL
OLD_CFLAGS   =  #EOL
    * Need to build contribs: pcre freetype libpng sdl2 sdl2-image zlib lua/src sqlite
make[2]: Entering directory '/c/git-sdk-64/crawl/crawl-ref/source/contrib'
make[3]: Entering directory '/c/git-sdk-64/crawl/crawl-ref/source/contrib/pcre'
    * rebuilding pcre: new build flags or prefix
    CC pcre_byte_order.o
/bin/sh: gcc: command not found
make[3]: *** [Makefile:115: pcre_byte_order.o] Error 127
make[3]: Leaving directory '/c/git-sdk-64/crawl/crawl-ref/source/contrib/pcre'
make[2]: *** [Makefile:24: pcre] Error 2
make[2]: Leaving directory '/c/git-sdk-64/crawl/crawl-ref/source/contrib'
make[1]: *** [Makefile:1638: .contrib-libs] Error 2
make[1]: Leaving directory '/c/git-sdk-64/crawl/crawl-ref/source'
make: *** [Makefile:1785: package-windows-zips] Error 2


I've cloned crawl, and ran submodule update --init. Why is my screen barfing errors when I try to compile?
twelwe wrote:It's like Blink, but you end up drowning.

Shoals Surfer

Posts: 257

Joined: Thursday, 6th November 2014, 02:32

Post Friday, 15th July 2016, 00:35

Re: What's keeping you from compiling, DCSS?

/bin/sh: g++: command not found

Looks like you don't actually have a c++ compiler. Its either not installed or the MSYS isn't linking to it correctly.

Blades Runner

Posts: 536

Joined: Friday, 1st April 2016, 18:15

Post Friday, 15th July 2016, 02:56

Re: What's keeping you from compiling, DCSS?

triorph wrote:/bin/sh: g++: command not found

Looks like you don't actually have a c++ compiler. Its either not installed or the MSYS isn't linking to it correctly.


But... but... but...

I compiled last month, and I was fine! Updating to Windows 10 (dammit windows) shouldn't have done anything, as I still have git-sdk. What gives, computer?
twelwe wrote:It's like Blink, but you end up drowning.
User avatar

Dungeon Master

Posts: 431

Joined: Tuesday, 13th September 2011, 17:34

Post Friday, 15th July 2016, 05:55

Re: What's keeping you from compiling, DCSS?

I dunno if this is correct, but I wouldn't be surprised if switching to Windows 10 messed up your PATH in some way. If so, reinstalling git-sdk would fix it (you can edit your PATH too but that's really painful).
User avatar

Tartarus Sorceror

Posts: 1891

Joined: Monday, 1st April 2013, 04:41

Location: Toronto, Canada

Post Friday, 15th July 2016, 06:04

Re: What's keeping you from compiling, DCSS?

ontoclasm wrote:I dunno if this is correct, but I wouldn't be surprised if switching to Windows 10 messed up your PATH in some way. If so, reinstalling git-sdk would fix it (you can edit your PATH too but that's really painful).


BUT IT SAID IT LEFT MY FILES ALONE.
take it easy

Dungeon Master

Posts: 585

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

Post Friday, 15th July 2016, 07:17

Re: What's keeping you from compiling, DCSS?

jwoodward48ss wrote:I compiled last month, and I was fine! Updating to Windows 10 (dammit windows) shouldn't have done anything, as I still have git-sdk. What gives, computer?


I'm not sure how the Win 10 upgrade messed up paths in the git-for-windows MSYS, but I recommend you follow the latest Windows installation instructions in INSTALL.txt. This has you install MSYS2 directly without using git-for-windows SDK, since the latter isn't meant as a general development environment. As a bonus you'll get a more recent compiler and build toolchain.

You should install it to a different directory than your current MSYS stuff (which will happen automatically), and you can either copy over the crawl source from the old directory or reclone it in your new MSYS2 home dir.

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 21 guests

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