You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download OpenTTD from the Website, extract it and "./configure" and "gmake install clean" it.
Here is my shell:
# ./configure --enable-dedicated
checking awk... awk
detecting OS... FREEBSD
checking build system type... x86_64-unknown-freebsd11.2
checking host system type... x86_64-unknown-freebsd11.2
checking universal build... no
checking build cc... cc
checking host cc... cc
checking build c++... c++
checking host c++... c++
checking host strip... strip
checking builtin depend... yes
checking makedepend... disabled
detecting cpu-type... 64 bits
detecting SSE... found
checking static... no
checking unicode... no
using debug level... no
using desync debug level... no
using link time optimization... no
checking OSX sysroot... not OSX, skipping
checking Allegro... dedicated server, skipping
checking SDL... dedicated server, skipping
checking COCOA... dedicated server, skipping
checking GDI video driver... dedicated server, skipping
checking dedicated... found
checking console application... not Windows, skipping
checking network... found
checking squirrel... found
checking translator... no
checking assert... disabled
checking zlib... found
checking liblzma... found
checking lzo2... found
checking Uniscribe text layout... not Windows, skipping
checking libxdg-basedir... not found
checking libpng... found
checking freetype2... dedicated server, skipping
checking fontconfig... dedicated server, skipping
checking icu-lx... dedicated server, skipping
checking icu-i18n... dedicated server, skipping
checking libtimidity... dedicated server, skipping
checking fluidsynth... not found
checking direct-music... not Windows, skipping
checking xaudio2... not Windows, skipping
checking sort... sort
suppress language errors... no
checking stripping... strip -s
checking distcc... no (only used when forced)
checking ccache... no (only used when forced)
checking grfcodec... not found
checking nforenum... not found
checking OSX application bundle... not OSX, skipping
checking revision... source tarball
checking iconv... not OSX, skipping
personal home directory... .openttd
shared data directory... none
installation directory... /
icon theme directory... share/icons/hicolor
manual page directory... share/man/man6
menu item directory... share/applications
using CFLAGS_BUILD... -fno-strict-aliasing -Wall -W -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-multichar -Wno-self-assign -Wno-parentheses-equality -Wno-unused-variable -DFREEBSD -DNDEBUG
using CXXFLAGS_BUILD... -std=c++11
using LDFLAGS_BUILD... -rdynamic
using CFLAGS... -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -W -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-multichar -Wno-self-assign -Wno-parentheses-equality -Wno-unused-variable -DFREEBSD -DWITH_SSE -DUNIX -DWITH_ZLIB -DWITH_LZMA -DWITH_LZO -D_SQ64 -I/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/local/include/libpng16 -DDEDICATED -DENABLE_NETWORK -DNDEBUG -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\".openttd\\" -DGLOBAL_DATA_DIR=\\"/usr/local/share/games/openttd\\"
using CXXFLAGS... -std=c++11
using LDFLAGS... -lpthread -lc -lz -llzma -llzo2 -L/usr/local/lib -lpng16 -lz -rdynamic
Generating Makefile...
Generating menu item...
Generating lang/Makefile...
Generating setting/Makefile...
Generating grf/Makefile...
Generating objs/Makefile...
# gmake install clean
gmake[1]: Entering directory '/usr/temp/openttd-1.9.1/objs/lang'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/usr/temp/openttd-1.9.1/objs/lang'
gmake[1]: Entering directory '/usr/temp/openttd-1.9.1/objs/setting'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/usr/temp/openttd-1.9.1/objs/setting'
gmake[1]: Entering directory '/usr/temp/openttd-1.9.1/objs/extra_grf'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/usr/temp/openttd-1.9.1/objs/extra_grf'
gmake[1]: Entering directory '/usr/temp/openttd-1.9.1/objs/release'
[SRC] Compiling 3rdparty/squirrel/squirrel/sqvm.cpp
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:148:85: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:148:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:149:85: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:149:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:150:88: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type lowest() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:150:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type lowest() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:159:89: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:159:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:160:93: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:160:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:172:90: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:172:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:173:91: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:173:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:174:95: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:174:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:175:92: error: expected expression
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type();}
^
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:24: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
^
In file included from /usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:9:
In file included from /usr/include/c++/v1/math.h:310:
/usr/include/c++/v1/limits:175:61: error: no return statement in constexpr function
_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type();}
^
/usr/include/c++/v1/limits:206:53: error: member reference base type 'int' is not a structure or union
static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
^~~~~~~~
/usr/temp/openttd-1.9.1/src/3rdparty/squirrel/squirrel/sqobject.h:99:25: note: expanded from macro 'type'
#define type(obj) ((obj)._type)
~~~~~^~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[1]: *** [Makefile:237: 3rdparty/squirrel/squirrel/sqvm.o] Error 1
gmake[1]: Leaving directory '/usr/temp/openttd-1.9.1/objs/release'
gmake: *** [Makefile:56: all] Error 1
The text was updated successfully, but these errors were encountered:
Version1.9.1
Compiling OpenTTD
Bugs with 3rd party files "squirrel"
Download OpenTTD from the Website, extract it and "./configure" and "gmake install clean" it.
Here is my shell:
The text was updated successfully, but these errors were encountered: