Help with compiling openttd

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
joshwoo69
Engineer
Engineer
Posts: 5
Joined: 22 Dec 2015 14:22

Help with compiling openttd

Post by joshwoo69 »

I played openttd for sometime and saw there are these amazing patches for the game by compiling. so i decided to try it myself.
However i have encountered many issue regarding tables/strings.h Even though i compiled from solution.
it basically all boils down to this line

Code: Select all

function 'int vsnprintf(char *const ,const size_t,const char *const ,va_list)' already has a body
besides that.. all works fine so i could not think of a way to do it.
Can anybody help? thanks!
User avatar
kamnet
Moderator
Moderator
Posts: 8705
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Help with compiling openttd

Post by kamnet »

Patches are developed against specific versions of OpenTTD. If the patch isn't recent then it is likely that the OpenTTD source code has change, and the patch will need to be modified, if it's still applicable at all. You'll likely get better help in a topic dedicated to the particular patch you're trying to apply.
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Help with compiling openttd

Post by Zuu »

Have you succeeded in compiling without any patch applied first?
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
joshwoo69
Engineer
Engineer
Posts: 5
Joined: 22 Dec 2015 14:22

Re: Help with compiling openttd

Post by joshwoo69 »

Zuu wrote:Have you succeeded in compiling without any patch applied first?
Not yet.
joshwoo69
Engineer
Engineer
Posts: 5
Joined: 22 Dec 2015 14:22

Re: Help with compiling openttd

Post by joshwoo69 »

kamnet wrote:Patches are developed against specific versions of OpenTTD. If the patch isn't recent then it is likely that the OpenTTD source code has change, and the patch will need to be modified, if it's still applicable at all. You'll likely get better help in a topic dedicated to the particular patch you're trying to apply.
Thanks! I will look into it : :)

EDIT: after trying to compile the unmodified openttd solution, i got this :

Code: Select all

syntax error: missing ';' before 'namespace' (compiling source file ..\src\newgrf_text.cpp)
which basically means that it does not make tables/strings.h ... which is problematic.

EDIT2: second run after puting the ; 's it gives me this :

Code: Select all

function 'int vsnprintf(char *const ,const size_t,const char *const ,va_list)' already has a body
which is the same as above so i am quite confused :?:
Last edited by joshwoo69 on 24 Dec 2015 02:11, edited 1 time in total.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Help with compiling openttd

Post by Alberth »

joshwoo69 wrote:
Zuu wrote:Have you succeeded in compiling without any patch applied first?
Not yet.
Then do so first.

Unmodified OpenTTD source is known to compile correctly, so it serves as a sanity test for your compiler setup.
Once the setup is correct, applying a patch and recompiling is a matter of minutes.

It also helps if you tell us what compiler you use, on what platform, how you build things, and more such details.
Right now, all we know is something like "24 is not the answer I expected, please help me fix my spreadsheet", which is really not enough to give you any good directions on what to do.

I trust you tried searching the Internet for that error already?
Being a retired OpenTTD developer does not mean I know what I am doing.
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Help with compiling openttd

Post by Eddi »

Alberth wrote:Unmodified OpenTTD source is known to compile correctly
you're leaning yourself out of the window quite far there :p
joshwoo69
Engineer
Engineer
Posts: 5
Joined: 22 Dec 2015 14:22

Re: Help with compiling openttd

Post by joshwoo69 »

I am using MSVC 2015 with openttd useful 6.0. followed the instructions for MSVC 2012.
User avatar
Sylf
President
President
Posts: 957
Joined: 23 Nov 2010 21:25
Location: ::1

Re: Help with compiling openttd

Post by Sylf »

If you actually followed the wiki page word for word, then at least there's one package that's out of date: see details here.
joshwoo69
Engineer
Engineer
Posts: 5
Joined: 22 Dec 2015 14:22

Re: Help with compiling openttd

Post by joshwoo69 »

Sylf wrote:If you actually followed the wiki page word for word, then at least there's one package that's out of date: see details here.
uhh... i did put above that i am using openttd useful 6.0
ah well maybe compiling openttd is not for my computer? who knows.. i would like to close this topic.
User avatar
openbu.org
Engineer
Engineer
Posts: 74
Joined: 14 Nov 2014 07:40
Location: USA
Contact:

Re: Help with compiling openttd

Post by openbu.org »

./configure

Code: Select all

 ./configure
checking awk... awk
detecting OS... MINGW
checking build system type... x86_64-pc-msys
checking host system type... x86_64-pc-msys
checking universal build... no
checking build cc... gcc
checking host cc... gcc
checking build c++... g++
checking host c++... g++
checking host windres... windres
checking strip... disabled
checking builtin depend... yes
checking makedepend... disabled
detecting cpu-type... 64 bits
detecting SSE... found
checking static... yes
checking unicode... yes
using debug level... no
using desync debug level... no
using link time optimization... no
checking OSX sysroot... not OSX, skipping
checking allegro... not found
checking sdl... not found
checking COCOA... not OSX, skipping
checking GDI video driver... found
checking dedicated... not selected
checking console application... disabled (only used when forced)
checking network... found
checking squirrel... found
checking translator... no
checking assert... enabled
checking zlib... found
checking liblzma... found
checking lzo2... found
checking libxdg-basedir... not found
checking libpng... found
checking freetype2... not found
checking libfontconfig... WIN32, skipping
checking icu-lx... found
checking icu-i18n... found
checking psp-config... not PSP, skipping
checking libtimidity... not found
checking direct-music... not found
checking sort... sort
checking endianness... AUTO
suppress language errors... no
checking stripping... skipped
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... git detection
checking iconv... not OSX, skipping
personal home directory... OpenTTD
shared data directory... none
installation directory... /
icon theme directory... none
manual page directory... none
menu item directory... none
checking dbghelp... found
checking libbfd... found
checking abi::__cxa_demangle... found
using CFLAGS_BUILD...  -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DMINGW
using CXXFLAGS_BUILD...  -std=gnu++0x -Wno-narrowing
using LDFLAGS_BUILD...  -rdynamic -static-libgcc -static-libstdc++
using CFLAGS... -O2 -fomit-frame-pointer  -DCUSTOM_ALLOCATOR -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DMINGW -DWITH_SSE -mno-ms-bitfields -DWITH_DBGHELP -DWITH_BFD -g1 -DWITH_DEMANGLE -DWIN -DWITH_ZLIB -I/mingw64/include   -DWITH_LZMA -I/mingw64/include   -DLZMA_API_STATIC -DWITH_LZO -D_SQ64 -IC:/msys64/home/Founder/OpenTTD-patches/src/3rdparty/squirrel/include -DWITH_PNG -I/mingw64/include/libpng16   -DWITH_ICU_LAYOUT -I/mingw64/include   -DWITH_ICU_SORT -I/mingw64/include   -DUNICODE -D_UNICODE -DENABLE_NETWORK -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\"OpenTTD\\" -DGLOBAL_DATA_DIR=\\"/usr/local/share/games/openttd\\"
using CXXFLAGS...  -std=gnu++0x -Wno-narrowing
using LDFLAGS... -lstdc++ -lws2_32 -lwinmm -lgdi32 -ldxguid -lole32 -limm32 -lbfd -liberty -lintl -lz -L/mingw64/lib -lz   -L/mingw64/lib -llzma   /usr/lib/liblzo2.a -L/mingw64/lib -lpng16 -lz   -L/mingw64/lib -liculx -licule -licuuc -licudt -lpthread -lm   -L/mingw64/lib -licuin -licuuc -licudt -lpthread -lm    -rdynamic -Wl,--subsystem,windows -static
Generating Makefile...
Generating lang/Makefile...
Generating setting/Makefile...
Generating grf/Makefile...
Generating objs/Makefile...

make

Code: Select all

make[1]: Entering directory '/home/Founder/OpenTTD-patches/objs/lang'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/Founder/OpenTTD-patches/objs/lang'
make[1]: Entering directory '/home/Founder/OpenTTD-patches/objs/setting'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/Founder/OpenTTD-patches/objs/setting'
make[1]: Entering directory '/home/Founder/OpenTTD-patches/objs/extra_grf'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/Founder/OpenTTD-patches/objs/extra_grf'
make[1]: Entering directory '/home/Founder/OpenTTD-patches/objs/release'
[SRC] Compiling ai/ai_gui.cpp
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:17:0,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:314:35: error: ‘SetNonBlocking’ declared as an ‘inline’ variable
 static inline bool SetNonBlocking(SOCKET d)
                                   ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:314:35: error: ‘SOCKET’ was not declared in this scope
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:315:1: error: expected ‘,’ or ‘;’ before ‘{’ token
 {
 ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:333:31: error: ‘SetNoDelay’ declared as an ‘inline’ variable
 static inline bool SetNoDelay(SOCKET d)
                               ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:333:31: error: ‘SOCKET’ was not declared in this scope
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:334:1: error: expected ‘,’ or ‘;’ before ‘{’ token
 {
 ^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:12:0:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:346:23: error: ‘in_addr’ was not declared in this scope
 assert_compile(sizeof(in_addr)  ==  4); ///< IPv4 addresses should be 4 bytes.
                       ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../stdafx.h:369:45: note: in definition of macro ‘assert_compile’
  #define assert_compile(expr) static_assert(expr, #expr )
                                             ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:347:23: error: ‘in6_addr’ was not declared in this scope
 assert_compile(sizeof(in6_addr) == 16); ///< IPv6 addresses should be 16 bytes.
                       ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../stdafx.h:369:45: note: in definition of macro ‘assert_compile’
  #define assert_compile(expr) static_assert(expr, #expr )
                                             ^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:17:0,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:18,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:24:34: error: ‘SOCKET’ was not declared in this scope
 typedef SmallMap<NetworkAddress, SOCKET, 4> SocketList;    ///< Type for a mapping between address and socket.
                                  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:24:43: error: template argument 2 is invalid
 typedef SmallMap<NetworkAddress, SOCKET, 4> SocketList;    ///< Type for a mapping between address and socket.
                                           ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:24:55: error: invalid type in declaration before ‘;’ token
 typedef SmallMap<NetworkAddress, SOCKET, 4> SocketList;    ///< Type for a mapping between address and socket.
                                                       ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:35:2: error: ‘sockaddr_storage’ does not name a type
  sockaddr_storage address;               ///< The resolved address
  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:43:18: error: expected identifier before ‘*’ token
  typedef SOCKET (*LoopProc)(addrinfo *runp);
                  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:43:29: error: ‘addrinfo’ has not been declared
  typedef SOCKET (*LoopProc)(addrinfo *runp);
                             ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:43:43: error: ‘SOCKET’ declared as function returning a function
  typedef SOCKET (*LoopProc)(addrinfo *runp);
                                           ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:45:2: error: ‘SOCKET’ does not name a type
  SOCKET Resolve(int family, int socktype, int flags, SocketList *sockets, LoopProc func);
  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:65:26: error: expected ‘)’ before ‘*’ token
  NetworkAddress(sockaddr *address, int address_length) :
                          ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:188:2: error: ‘SOCKET’ does not name a type
  SOCKET Connect();
  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:80:74: error: ‘AF_UNSPEC’ was not declared in this scope
  NetworkAddress(const char *hostname = "", uint16 port = 0, int family = AF_UNSPEC) :
                                                                          ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h: In constructor ‘NetworkAddress::NetworkAddress(sockaddr_storage&, int)’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:54:3: error: class ‘NetworkAddress’ does not have any field named ‘address’
   address(address),
   ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h: In constructor ‘NetworkAddress::NetworkAddress(const char*, uint16, int)’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:91:17: error: ‘class NetworkAddress’ has no member named ‘address’
   memset(&this->address, 0, sizeof(this->address));
                 ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:91:42: error: ‘class NetworkAddress’ has no member named ‘address’
   memset(&this->address, 0, sizeof(this->address));
                                          ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:92:9: error: ‘class NetworkAddress’ has no member named ‘address’
   this->address.ss_family = family;
         ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h: In member function ‘int NetworkAddress::CompareTo(NetworkAddress&)’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:144:25: error: ‘class NetworkAddress’ has no member named ‘address’
   if (r == 0) r = this->address.ss_family - address.address.ss_family;
                         ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:144:53: error: ‘class NetworkAddress’ has no member named ‘address’
   if (r == 0) r = this->address.ss_family - address.address.ss_family;
                                                     ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:145:33: error: ‘class NetworkAddress’ has no member named ‘address’
   if (r == 0) r = memcmp(&this->address, &address.address, this->address_length);
                                 ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/address.h:145:51: error: ‘class NetworkAddress’ has no member named ‘address’
   if (r == 0) r = memcmp(&this->address, &address.address, this->address_length);
                                                   ^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:18:0,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h: At global scope:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:36:2: error: ‘SOCKET’ does not name a type
  SOCKET sock;              ///< The socket currently connected to
  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:59:33: error: expected ‘)’ before ‘s’
  NetworkTCPSocketHandler(SOCKET s = INVALID_SOCKET);
                                 ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h: In member function ‘bool NetworkTCPSocketHandler::IsConnected() const’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:43:42: error: ‘const class NetworkTCPSocketHandler’ has no member named ‘sock’
  bool IsConnected() const { return this->sock != INVALID_SOCKET; }
                                          ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:43:50: error: ‘INVALID_SOCKET’ was not declared in this scope
  bool IsConnected() const { return this->sock != INVALID_SOCKET; }
                                                  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h: At global scope:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:72:2: error: ‘SOCKET’ does not name a type
  SOCKET sock;                ///< The socket we're connecting with
  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp.h:91:25: error: ‘SOCKET’ has not been declared
  virtual void OnConnect(SOCKET s) {}
                         ^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15:0,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:200:37: error: expected ‘)’ before ‘s’
  NetworkContentSocketHandler(SOCKET s = INVALID_SOCKET, const NetworkAddress &address = NetworkAddress()) :
                                     ^
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:16:0,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:54:2: error: ‘SOCKET’ does not name a type
  SOCKET sock;              ///< The socket currently connected to
  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:67:34: error: expected ‘)’ before ‘sock’
  NetworkHTTPSocketHandler(SOCKET sock, HTTPCallback *callback,
                                  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h: In member function ‘bool NetworkHTTPSocketHandler::IsConnected() const’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:62:16: error: ‘const class NetworkHTTPSocketHandler’ has no member named ‘sock’
   return this->sock != INVALID_SOCKET;
                ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:62:24: error: ‘INVALID_SOCKET’ was not declared in this scope
   return this->sock != INVALID_SOCKET;
                        ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h: At global scope:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:117:25: error: ‘SOCKET’ has not been declared
  virtual void OnConnect(SOCKET s)
                         ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h: In member function ‘virtual void NetworkHTTPContentConnecter::OnConnect(int)’:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:119:114: error: no matching function for call to ‘NetworkHTTPSocketHandler::NetworkHTTPSocketHandler(int&, HTTPCallback*&, const char*, const char*&, const char*&, int&)’
   new NetworkHTTPSocketHandler(s, this->callback, this->address.GetHostname(), this->url, this->data, this->depth);
                                                                                                                  ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:119:114: note: candidates are:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:42:7: note: NetworkHTTPSocketHandler::NetworkHTTPSocketHandler()
 class NetworkHTTPSocketHandler : public NetworkSocketHandler {
       ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:42:7: note:   candidate expects 0 arguments, 6 provided
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:42:7: note: constexpr NetworkHTTPSocketHandler::NetworkHTTPSocketHandler(const NetworkHTTPSocketHandler&)
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_http.h:42:7: note:   candidate expects 1 argument, 6 provided
In file included from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/tcp_content.h:17:0,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/network_content.h:15,
                 from C:/msys64/home/Founder/OpenTTD-patches/src/ai/ai_gui.cpp:26:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h: At global scope:
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:314:20: warning: ‘SetNonBlocking’ defined but not used [-Wunused-variable]
 static inline bool SetNonBlocking(SOCKET d)
                    ^
C:/msys64/home/Founder/OpenTTD-patches/src/ai/../network/core/os_abstraction.h:333:20: warning: ‘SetNoDelay’ defined but not used [-Wunused-variable]
 static inline bool SetNoDelay(SOCKET d)
                    ^
Makefile:234: recipe for target 'ai/ai_gui.o' failed
make[1]: *** [ai/ai_gui.o] Error 1
make[1]: Leaving directory '/home/Founder/OpenTTD-patches/objs/release'
Makefile:57: recipe for target 'all' failed
make: *** [all] Error 1

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 10 guests