dougmencken / HeadOverHeels

The free and open source remake of the game “Head over Heels”
GNU General Public License v3.0
33 stars 10 forks source link

Linux compilation error #38

Closed attuska closed 1 year ago

attuska commented 1 year ago

In file included from Ism.cpp:2: Ism.hpp: In function ‘std::string isomot::numberToString(int)’: Ism.hpp:109:97: error: taking address of rvalue [-fpermissive]

dougmencken commented 1 year ago

Can you try the just-updated master?

attuska commented 1 year ago

Yes. New error, after autoreconf:

./configure: line 17909: syntax error near unexpected token fi' ./configure: line 17909:fi'

dougmencken commented 1 year ago

Try now, please

--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ else if test x"$with_allegro4" = x"yes" -a x"$with_allegro5" = x"no" -a test x"$
         AC_MSG_NOTICE(building with allegro4)
 else if test x"$with_allegro4" = x"yes" -a x"$with_allegro5" = x"yes" -a test x"$with_allegro" = x"yes" ; then
         AC_MSG_ERROR(--with-allegro5 and --with-allegro4 are mutually exclusive)
-else if test x"$with_allegro" = x"no" ;
+else if test x"$with_allegro" = x"no" ; then
         AC_MSG_NOTICE(building without allegro libraries)
 fi
attuska commented 1 year ago

New error: ./configure: line 20419: syntax error: unexpected end of file

attuska commented 1 year ago

The commit https://github.com/dougmencken/HeadOverHeels/commit/f79776fd110a39737ce4449531392f47441542bd compiliert.