RE: SDL2-Mixer Support - Wurzelgnom -  15-05-2018
 
 
sim64-8433-sdl2mixer.zip ~1,7 MByte 
sim64-8433-posix.zip ~1,7 MByte 
 
Zitat:FIX: savegames were not stepping in the right sync_step mode (FIX_RATIO) 
ADD: Server can be now started at the UI when loading a game. 
ADD: switch -easyserver on commandline to host a game with dynamic IP behind a router 
.. 
 
keine Ahnung warum der das ausgibt 
 
Code: ===> LD  /home/xubuntu/Desktop/simutrans-src-8433/sim 
make: Warnung: Mit der Uhr stimmt etwas nicht.  
         Der Bauauftrag könnte unvollständig sein.
  
bei der 8432 war das noch nicht
 
 
 
RE: sim64 / SDL2-Mixer Support - Wurzelgnom -  18-05-2018
 
 
also upnp fehlt bei der obigen Datei noch 
 
Welche Version von miniupnpc braucht es? 
 
mit der 1.6 bekomme ich nämlich Fehler 
 
Code: ... 
===> HOSTCXX network/network.cc 
network/network.cc: In function ‘bool prepare_for_server(char*, int)’: 
network/network.cc:849:18: error: ‘UPNP_LOCAL_PORT_ANY’ was not declared in this scope 
  int localport = UPNP_LOCAL_PORT_ANY; 
                  ^ 
network/network.cc:855:95: error: invalid conversion from ‘unsigned char’ to ‘int*’ [-fpermissive] 
  if(  (devlist = upnpDiscover( 2000, multicastif, minissdpdpath, localport, ipv6, ttl, &error ))  ) { 
                                                                                               ^ 
network/network.cc:855:95: error: too many arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, int*)’ 
In file included from network/network.cc:838:0: 
/usr/include/miniupnpc/miniupnpc.h:53:1: note: declared here 
 upnpDiscover(int delay, const char * multicastif, 
 ^ 
network/network.cc:846:14: warning: unused variable ‘rootdescurl’ [-Wunused-variable] 
  const char *rootdescurl = 0; 
              ^ 
network/network.cc: In function ‘void remove_port_forwarding(int)’: 
network/network.cc:908:18: error: ‘UPNP_LOCAL_PORT_ANY’ was not declared in this scope 
  int localport = UPNP_LOCAL_PORT_ANY; 
                  ^ 
network/network.cc:914:95: error: invalid conversion from ‘unsigned char’ to ‘int*’ [-fpermissive] 
  if(  (devlist = upnpDiscover( 2000, multicastif, minissdpdpath, localport, ipv6, ttl, &error ))  ) { 
                                                                                               ^ 
network/network.cc:914:95: error: too many arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, int*)’ 
In file included from network/network.cc:838:0: 
/usr/include/miniupnpc/miniupnpc.h:53:1: note: declared here 
 upnpDiscover(int delay, const char * multicastif, 
 ^ 
network/network.cc:923:10: warning: unused variable ‘iport’ [-Wunused-variable] 
    char *iport = eport; 
          ^ 
network/network.cc:912:7: warning: unused variable ‘has_IP’ [-Wunused-variable] 
  bool has_IP = false; 
       ^ 
make: *** [build/default/network/network.o] Fehler 1
  
 
 
 
RE: sim64 / SDL2-Mixer Support - prissi -  18-05-2018
 
 
Für die Windowsversion musst du am besten die Datei (und includes) von vom englischen Server holen: https://forum.simutrans.com/index.php?action=dlattach;topic=16688.0;attach=27308 Ansonsten sollte apt-get install miniupnpc-dev das erledigen. Klappte bei mir jedenfalls. 
 
Es gibt aber diverse Varianten als binaries von libminiupnpc, die einen Datei main beeinhalten. Mit einer solchen gelinkt, verwandelt sich Simutrans in minupnpc. Diese Varianten (unter anderem im offiziellen Packet von mingw64) sind also völlig nutzlos.
 
 
 
RE: sim64 / SDL2-Mixer Support - Wurzelgnom -  18-05-2018
 
 
Ich hab Xubuntu 14.04.5 64bit und da ist in den Paketquellen eben nur Version 1.6 vorhanden. 
 
Und wenn die installiert ist, dann kommen eben obige Fehlermeldungen. 
 
Zitat:libminiupnpc-dev 
 
UPnP IGD client lightweight library development files  
   
The UPnP protocol is supported by most home adsl/cable routers and Microsoft 
Windows 2K/XP. The aim of the MiniUPnP project is to bring a free software 
solution to support the "Internet Gateway Device" part of the protocol. The 
MediaServer/MediaRenderer UPnP protocol is also becoming very popular. 
 
Miniupnpc aims at the simplest library possible, with the smallest footprint 
and no dependencies to other libraries such as XML parsers or HTTP 
implementations. All the code is pure ANSI C. Compiled on a x86 PC, the 
miniupnp client library have less than 15KB code size. For instance, the upnpc 
sample program is around 20KB. The miniupnp daemon is much smaller than any 
other IGD daemon and is ideal for using on low memory device for this reason. 
 
This package contains development files needed to build using libminiupnpc 
 
 
 
RE: sim64 / SDL2-Mixer Support - prissi -  19-05-2018
 
 
Tja, auf meinem Antiken Debian auf dem Server geht es. Das Paket mit den vier Parametern war aber in allen getesteten Version kaputt, damit gelinkte Programme melden sich als minipnpc Client, weil die Bibliothek die Funktion "main" enthielt.
 
 
 
RE: sim64 / SDL2-Mixer Support - Wurzelgnom -  19-05-2018
 
 
hab grade wieder das Gefühl das wir aneinander vorbei reden, was soll es bin es ja schon gewohnt
 
 
 
RE: SDL2-Mixer Support - Wurzelgnom -  19-05-2018
 
 
sim64_mixer_sdl2-r8444.zip ~1,7 MByte 
 
ohne upnp-Support 
 
Zitat:ADD: Support Truetype fonts on windows up to 19 pts. For MAC and Linux support there is a way needed to find the font path. 
 ADD: Server can be now started at the UI when loading a game. 
 
 
 
RE: SDL2-Mixer Support - Wurzelgnom -  20-05-2018
 
 
sim64_mixer_sdl2-r8447.zip ~1,7 MByte 
sim64_posix-r8447.zip ~1,7 MByte 
 
Zitat:ADD: Support Truetype fonts on windows up to 19 pts. For MAC and Linux support there is a way needed to find the font path. 
ADD: Server can be now started at the UI when loading a game. 
FIX: savegames were not stepping in the right sync_step mode (FIX_RATIO) 
ADD: Server can be now started at the UI when loading a game. 
ADD: switch -easyserver on commandline to host a game with dynamic IP behind a router 
.. 
 
 
 
RE: SDL2-Mixer Support - Wurzelgnom -  25-05-2018
 
 
sim64_mixer_sdl2-r8460.zip ~2 MByte 
sim64_posix-r8460.zip ~1,9 MByte
 
 
 
RE: SDL2-Mixer Support - Wurzelgnom -  30-05-2018
 
 
sim64_mixer_sdl2-r8477.zip ~2 MByte 
sim64_posix-r8477.zip ~1,9 MByte 
 
ohne FreeType 
 
EDIT 
neu hochgeladen mit FreeType 
 
weil folgende Fehler 
 
Code: ... 
===> HOSTCXX music/sdl_midi.cc 
Usage: freetype-config [OPTION]... 
Get FreeType compilation and linking information. 
 
Options: 
  --prefix               display `--prefix' value used for building the 
                         FreeType library 
  --prefix=PREFIX        override `--prefix' value with PREFIX 
  --exec-prefix          display `--exec-prefix' value used for building 
                         the FreeType library 
  --exec-prefix=EPREFIX  override `--exec-prefix' value with EPREFIX 
  --version              display libtool version of the FreeType library 
  --ftversion            display FreeType version number 
  --libs                 display flags for linking with the FreeType library 
  --libtool              display library name for linking with libtool 
  --cflags               display flags for compiling with the FreeType 
                         library 
===> LD  /home/xubuntu/Desktop/simutrans_src_8477/sim_mixer_sdl2 
build/default/gui/loadfont_frame.o: In Funktion `loadfont_frame_t::check_file(char const*, char const*)': 
loadfont_frame.cc:(.text+0x28e): Nicht definierter Verweis auf `FT_New_Face' 
loadfont_frame.cc:(.text+0x2a2): Nicht definierter Verweis auf `FT_Get_Char_Index' 
loadfont_frame.cc:(.text+0x2ca): Nicht definierter Verweis auf `FT_Done_Face' 
loadfont_frame.cc:(.text+0x339): Nicht definierter Verweis auf `FT_Get_Char_Index' 
build/default/gui/loadfont_frame.o: In Funktion `loadfont_frame_t::fill_list()': 
loadfont_frame.cc:(.text+0x78e): Nicht definierter Verweis auf `FT_Init_FreeType' 
loadfont_frame.cc:(.text+0x809): Nicht definierter Verweis auf `FT_New_Face' 
loadfont_frame.cc:(.text+0x860): Nicht definierter Verweis auf `FT_Done_Face' 
loadfont_frame.cc:(.text+0x878): Nicht definierter Verweis auf `FT_Done_FreeType' 
build/default/display/font.o: In Funktion `load_FT_font(font_t*, char const*, int)': 
font.cc:(.text+0x25): Nicht definierter Verweis auf `FT_Init_FreeType' 
font.cc:(.text+0x40): Nicht definierter Verweis auf `FT_New_Face' 
font.cc:(.text+0x5d): Nicht definierter Verweis auf `FT_Set_Pixel_Sizes' 
font.cc:(.text+0x141): Nicht definierter Verweis auf `FT_Get_Char_Index' 
font.cc:(.text+0x156): Nicht definierter Verweis auf `FT_Load_Glyph' 
font.cc:(.text+0x170): Nicht definierter Verweis auf `FT_Render_Glyph' 
font.cc:(.text+0x2e6): Nicht definierter Verweis auf `FT_Done_Face' 
font.cc:(.text+0x2ef): Nicht definierter Verweis auf `FT_Done_FreeType' 
font.cc:(.text+0x349): Nicht definierter Verweis auf `FT_Done_FreeType' 
font.cc:(.text+0x384): Nicht definierter Verweis auf `FT_Done_Face' 
font.cc:(.text+0x38d): Nicht definierter Verweis auf `FT_Done_FreeType' 
collect2: error: ld returned 1 exit status 
make: *** [/home/xubuntu/Desktop/simutrans_src_8477/sim_mixer_sdl2] Fehler 1
  
Bei r8460 ging das noch.  
Diesmal hab ich autoconf und dann configure benutzt zum erstellen der config.default. Autoconf war nicht installiert gewesen. 
 
 
In der config.default.in fehlt noch der Eintrag für mixer_sdl2 bei den Backends.
 
 
 
 |