Error while compiling trunk


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

Dungeon Dilettante

Posts: 1

Joined: Monday, 4th April 2011, 07:38

Post Monday, 4th April 2011, 07:40

Error while compiling trunk

In short:

*@*:~/crawl/crawl-ref/source$ make wizard TILES=y
make -C rltiles all
make[1]: Entering directory `/home/thomas/crawl/crawl-ref/source/rltiles'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/thomas/crawl/crawl-ref/source/rltiles'
CXX tilereg-menu.o
tilereg-menu.cc: In member function ‘virtual void MenuRegion::place_entries()’:
tilereg-menu.cc:223: error: ‘class formatted_string’ has no member named ‘substr’
tilereg-menu.cc:226: error: ‘class formatted_string’ has no member named ‘substr’
make: *** [tilereg-menu.o] Error 1

I have done the git submodule update --init, and installed all the packages in the install.txt file. I am running Ubuntu Lucid (10.04 LTS). Please advise.
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Monday, 4th April 2011, 08:28

Re: Error while compiling trunk

This bug has been introduced by a recent change. You'll either have to wait for a fix (should be quick), checkout a version prior to the bug (git checkout 09b5222^) or compile a console build.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...

For this message the author galehar has received thanks:
KujiUn

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests

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