Hi!
I'm trying to compile OpenMSX 17 from source in Kubuntu 18.04 ( from Ubuntu official repositories in stable last version available is 15)
After installing documented dependencies, this is the result of ./configure:
Using Python: python3 Probing target system... Updating derived/x86_64-linux-opt/config/probed_defs.mk... Up to date: derived/x86_64-linux-opt/config/systemfuncs.hh Found libraries: ALSA: version 1.1.3 GLEW: version unknown libogg: version unknown libpng: version 1.6.34 libtheora: version unknown libvorbis: version unknown OpenGL: version 4.6 SDL2: version 2.0.8 SDL2_ttf: version 2.0.14 Tcl: version 8.6.8 zlib: version 1.2.11 Components overview: Emulation core: yes GL renderer: yes Laserdisc: yes ALSA MIDI: yes Customisable options: Install to /opt/openMSX (you can edit these in build/custom.mk) All required and optional components can be built. If the detected libraries differ from what you think is installed on this system, please check the log file: derived/x86_64-linux-opt/config/probe.log
Then, when trying to compile with make this happens:
Using Python: python3 Creating derived/x86_64-linux-opt/config/components_defs.mk... Using Python: python3 Build configuration: Platform: x86_64-linux Flavour: opt Compiler: g++ Subset: full build Creating derived/x86_64-linux-opt/config/Version.ii... Creating derived/x86_64-linux-opt/config/build-info.hh... Creating derived/x86_64-linux-opt/config/components.hh... Compiling Autofire.cc... In file included from src/settings/Setting.hh:8:0, from src/settings/IntegerSetting.hh:4, from src/Autofire.hh:7, from src/Autofire.cc:1: src/utils/StringOp.hh:7:10: fatal error: charconv: The file or directory doesn't exists #include ^~~~~~~~~~ compilation terminated. build/main.mk:495: recipe for target 'derived/x86_64-linux-opt/obj/Autofire.cc.o' failed make: *** [derived/x86_64-linux-opt/obj/Autofire.cc.o] Error 1
I've been investigating and it seems that charconv is part of the strings library of C++ compilers, so i don't know what can be missing because it should be included with the g++ installation, doesn't? My version of make is 4.1 and versions of g++ is 8.4 ( but I'm not sure what versions is used because I've several versions installed ( 4:7.4 , 7.5.3 and 8.4) but I assume the newest one is the version used).
BTW, this is a copy of the configure log Probe.log
Probing system: Compiler works: g++ -m64 (LC_ALL=C.UTF-8) Found function: ftruncate Found function: mmap Found function: posix_memalign Found function: nftw ALSA: Found header ALSA: Found lib GL: Found header GL: Found lib GLEW: Found header GLEW: Found lib OGG: Found header OGG: Found lib PNG: Found header PNG: Found lib SDL2: Found header SDL2: Found lib SDL2_TTF: Found header SDL2_TTF: Found lib TCL: Found header TCL: Found lib THEORA: Found header THEORA: Found lib VORBIS: Found header VORBIS: Found lib ZLIB: Found header ZLIB: Found lib
I'm missing something?
Thank you!