News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

r10475 - compile

Started by Andarix, February 08, 2022, 09:38:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

Windows

Quote...
2022-02-07T23:35:57.2867167Z "D:\a\simutrans\simutrans\Simutrans-SDL2.vcxproj" (default target) (1) ->
2022-02-07T23:35:57.2867616Z (ClCompile target) ->
2022-02-07T23:35:57.2868187Z   D:\a\simutrans\simutrans\src\simutrans\gui\minimap.cc(921): error C2039: 'min': is not a member of 'std' [D:\a\simutrans\simutrans\Simutrans-SDL2.vcxproj]
2022-02-07T23:35:57.2868941Z   D:\a\simutrans\simutrans\src\simutrans\gui\minimap.cc(921): error C2275: 'uint64': illegal use of this type as an expression [D:\a\simutrans\simutrans\Simutrans-SDL2.vcxproj]
2022-02-07T23:35:57.2869819Z   D:\a\simutrans\simutrans\src\simutrans\gui\minimap.cc(921): error C2789: 'saturated_demand': an object of const-qualified type must be initialized [D:\a\simutrans\simutrans\Simutrans-SDL2.vcxproj]
2022-02-07T23:35:57.2870626Z   D:\a\simutrans\simutrans\src\simutrans\gui\minimap.cc(922): error C2039: 'min': is not a member of 'std' [D:\a\simutrans\simutrans\Simutrans-SDL2.vcxproj]
2022-02-07T23:35:57.2871393Z   D:\a\simutrans\simutrans\src\simutrans\gui\minimap.cc(922): error C2275: 'uint64': illegal use of this type as an expression [D:\a\simutrans\simutrans\Simutrans-SDL2.vcxproj]
2022-02-07T23:35:57.2872201Z   D:\a\simutrans\simutrans\src\simutrans\gui\minimap.cc(922): error C2789: 'saturated_supply': an object of const-qualified type must be initialized [D:\a\simutrans\simutrans\Simutrans-SDL2.vcxproj]
...

Android

Quote...
2022-02-07T23:38:42.2668650Z ===> HOSTCXX src/simutrans/gui/player_frame.cc
2022-02-07T23:38:42.3031270Z /opt/android-sdk-linux/ndk/23.0.7599858/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi16-clang++  -g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC  -isystem/android-sdl/project/jni/application/../SDL2/include  -isystem/android-sdl/project/jni/application/../png/include -isystem/android-sdl/project/jni/application/../freetype/include -isystem/android-sdl/project/jni/application/../bzip2/include -isystem/android-sdl/project/jni/application/../ssl/include -isystem/android-sdl/project/jni/application/../crypto/include -isystem/android-sdl/project/jni/application/../curl/include -isystem/android-sdl/project/jni/application/../zip/include -isystem/android-sdl/project/jni/application/../fluidsynth/include  -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -ffunction-sections -fdata-sections  -frtti -fexceptions -g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC  -isystem/android-sdl/project/jni/application/../SDL2/include  -isystem/android-sdl/project/jni/application/../png/include -isystem/android-sdl/project/jni/application/../freetype/include -isystem/android-sdl/project/jni/application/../bzip2/include -isystem/android-sdl/project/jni/application/../ssl/include -isystem/android-sdl/project/jni/application/../crypto/include -isystem/android-sdl/project/jni/application/../curl/include -isystem/android-sdl/project/jni/application/../zip/include -isystem/android-sdl/project/jni/application/../fluidsynth/include  -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -ffunction-sections -fdata-sections  -O1 -g -DDEBUG -DMSG_LEVEL=3 -DUSE_FREETYPE -I/android-sdl/project/jni/application/../freetype/include -DUSE_FLUIDSYNTH_MIDI -DREVISION=9908 -DGIT_HASH=0x3ad0a30 -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align  -I/android-sdl/project/jni/application/../SDL2/include -DCOLOUR_DEPTH=16 -c -MMD -o build/armeabi-v7a/src/simutrans/gui/player_frame.o src/simutrans/gui/player_frame.cc
2022-02-07T23:38:42.3221105Z src/simutrans/gui/pakinstaller.cc:119:10: fatal error: 'utils/simstring.h' file not found
2022-02-07T23:38:42.3223184Z #include <utils/simstring.h>
2022-02-07T23:38:42.3224501Z          ^~~~~~~~~~~~~~~~~~~
2022-02-07T23:38:42.3340184Z 1 error generated.
...

Dwachs

it is a simple typo: should be

#include "utils/simstring.h"
Parsley, sage, rosemary, and maggikraut.

prissi

MSVC autogenrated that thing, sorry, I just clicks ok, overlooking the brackets.