Open Newk77 opened 5 years ago
still does not build... :'( ...does it really need liblua6.3?
newk@lubu64:~/chipmachine build/build$ cmake ../chipmachine -GNinja -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 6.5.0
-- The CXX compiler identification is GNU 6.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Creating directory, /home/newk/chipmachine build/build/ap1mods/grappix/freetype/freetype-2.5.5/include/freetype2.
-- Creating /home/newk/chipmachine build/build/ap1mods/grappix/freetype/freetype-2.5.5/include/freetype2/ftconfig.h.
FREETYPE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
GLFW is dynamic
/home/newk/chipmachine build/apone/mods/grappix/grappix/shaders/font_f.glsl
/home/newk/chipmachine build/apone/mods/grappix/grappix/shaders/font_v.glsl
/home/newk/chipmachine build/apone/mods/grappix/grappix/shaders/fontdf_f.glsl
/home/newk/chipmachine build/apone/mods/grappix/grappix/shaders/plain_f.glsl
/home/newk/chipmachine build/apone/mods/grappix/grappix/shaders/plain_v.glsl
/home/newk/chipmachine build/apone/mods/grappix/grappix/shaders/texture_f.glsl
/home/newk/chipmachine build/apone/mods/grappix/grappix/shaders/texture_v.glsl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/newk/chipmachine build/build
newk@lubu64:~/chipmachine build/build$ ninja
[0/2] Re-checking globbed directories...
[6/954] Building CXX object CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o
FAILED: CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o
/usr/bin/c++ -I/usr/local/include -I"/home/newk/chipmachine build/chipmachine/../apone/mods/grappix" -I"/home/newk/chipmachine build/chipmachine/../musicplayer/plugins" -I"/home/newk/chipmachine build/apone/mods/coreutils/.." -I"/home/newk/chipmachine build/apone/mods/coreutils" -g -funsigned-char -g -funsigned-char -O2 -std=gnu++1z -MD -MT CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o -MF CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o.d -o CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o -c '/home/newk/chipmachine build/chipmachine/src/SongFileIdentifier.cpp'
In file included from /home/newk/chipmachine build/apone/mods/coreutils/../coreutils/environment.h:21:0,
from /home/newk/chipmachine build/chipmachine/src/SongFileIdentifier.cpp:5:
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/path.h:26:46: error: ‘empty_string’ declared as an ‘inline’ field
inline static std::string empty_string = "";
^~
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/path.h:26:46: error: in-class initialization of static data member ‘std::__cxx11::string utils::path::empty_string’ of non-literal type
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/path.h:26:46: error: call to non-constexpr function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
In file included from /home/newk/chipmachine build/chipmachine/src/SongFileIdentifier.cpp:5:0:
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/environment.h:120:28: error: ‘homeDir’ declared as an ‘inline’ field
inline static utils::path homeDir;
^~~~~~~
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/environment.h:121:31: error: ‘exeDir’ declared as an ‘inline’ field
inline static utils::path exeDir;
^~~~~~
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/environment.h:122:31: error: ‘configDir’ declared as an ‘inline’ field
inline static utils::path configDir;
^~~~~~~~~
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/environment.h:123:31: error: ‘cacheDir’ declared as an ‘inline’ field
inline static utils::path cacheDir;
^~~~~~~~
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/environment.h:124:31: error: ‘appDir’ declared as an ‘inline’ field
inline static utils::path appDir;
^~~~~~
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/environment.h:126:31: error: ‘appName’ declared as an ‘inline’ field
inline static std::string appName;
^~~~~~~
/home/newk/chipmachine build/apone/mods/coreutils/../coreutils/environment.h:127:30: error: ‘m’ declared as an ‘inline’ field
inline static std::mutex m;
^
[8/954] Building CXX object CMakeFiles/mksonglist.dir/mksonglist/mksonglist.cpp.o
ninja: build stopped: subcommand failed.
so i thought a space in the path might be a problem so i did a fresh download and tried again:
newk@lubu64:~/chipmachine_build/build$ cmake ../chipmachine -GNinja -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 6.5.0
-- The CXX compiler identification is GNU 6.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Creating directory, /home/newk/chipmachine_build/build/ap1mods/grappix/freetype/freetype-2.5.5/include/freetype2.
-- Creating /home/newk/chipmachine_build/build/ap1mods/grappix/freetype/freetype-2.5.5/include/freetype2/ftconfig.h.
FREETYPE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
GLFW is dynamic
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/font_f.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/font_v.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/fontdf_f.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/plain_f.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/plain_v.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/texture_f.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/texture_v.glsl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/newk/chipmachine_build/build
newk@lubu64:~/chipmachine_build/build$ ninja
[0/2] Re-checking globbed directories...
[6/954] Building CXX object CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o
FAILED: CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o
/usr/bin/c++ -I/usr/local/include -I/home/newk/chipmachine_build/chipmachine/../apone/mods/grappix -I/home/newk/chipmachine_build/chipmachine/../musicplayer/plugins -I/home/newk/chipmachine_build/apone/mods/coreutils/.. -I/home/newk/chipmachine_build/apone/mods/coreutils -g -funsigned-char -g -funsigned-char -O2 -std=gnu++1z -MD -MT CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o -MF CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o.d -o CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o -c /home/newk/chipmachine_build/chipmachine/src/SongFileIdentifier.cpp
In file included from /home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:21:0,
from /home/newk/chipmachine_build/chipmachine/src/SongFileIdentifier.cpp:5:
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/path.h:26:46: error: ‘empty_string’ declared as an ‘inline’ field
inline static std::string empty_string = "";
^~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/path.h:26:46: error: in-class initialization of static data member ‘std::__cxx11::string utils::path::empty_string’ of non-literal type
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/path.h:26:46: error: call to non-constexpr function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
In file included from /home/newk/chipmachine_build/chipmachine/src/SongFileIdentifier.cpp:5:0:
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:120:28: error: ‘homeDir’ declared as an ‘inline’ field
inline static utils::path homeDir;
^~~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:121:31: error: ‘exeDir’ declared as an ‘inline’ field
inline static utils::path exeDir;
^~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:122:31: error: ‘configDir’ declared as an ‘inline’ field
inline static utils::path configDir;
^~~~~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:123:31: error: ‘cacheDir’ declared as an ‘inline’ field
inline static utils::path cacheDir;
^~~~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:124:31: error: ‘appDir’ declared as an ‘inline’ field
inline static utils::path appDir;
^~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:126:31: error: ‘appName’ declared as an ‘inline’ field
inline static std::string appName;
^~~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:127:30: error: ‘m’ declared as an ‘inline’ field
inline static std::mutex m;
^
[8/954] Building CXX object external/lua/CMakeFiles/lua.dir/lapi.c.o
ninja: build stopped: subcommand failed.
so i thought a space in the path might be a problem so i did a fresh download and tried again:
newk@lubu64:~/chipmachine_build/build$ cmake ../chipmachine -GNinja -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 6.5.0
-- The CXX compiler identification is GNU 6.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Creating directory, /home/newk/chipmachine_build/build/ap1mods/grappix/freetype/freetype-2.5.5/include/freetype2.
-- Creating /home/newk/chipmachine_build/build/ap1mods/grappix/freetype/freetype-2.5.5/include/freetype2/ftconfig.h.
FREETYPE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
GLFW is dynamic
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/font_f.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/font_v.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/fontdf_f.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/plain_f.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/plain_v.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/texture_f.glsl
/home/newk/chipmachine_build/apone/mods/grappix/grappix/shaders/texture_v.glsl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/newk/chipmachine_build/build
newk@lubu64:~/chipmachine_build/build$ ninja
[0/2] Re-checking globbed directories...
[6/954] Building CXX object CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o
FAILED: CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o
/usr/bin/c++ -I/usr/local/include -I/home/newk/chipmachine_build/chipmachine/../apone/mods/grappix -I/home/newk/chipmachine_build/chipmachine/../musicplayer/plugins -I/home/newk/chipmachine_build/apone/mods/coreutils/.. -I/home/newk/chipmachine_build/apone/mods/coreutils -g -funsigned-char -g -funsigned-char -O2 -std=gnu++1z -MD -MT CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o -MF CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o.d -o CMakeFiles/mksonglist.dir/src/SongFileIdentifier.cpp.o -c /home/newk/chipmachine_build/chipmachine/src/SongFileIdentifier.cpp
In file included from /home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:21:0,
from /home/newk/chipmachine_build/chipmachine/src/SongFileIdentifier.cpp:5:
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/path.h:26:46: error: ‘empty_string’ declared as an ‘inline’ field
inline static std::string empty_string = "";
^~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/path.h:26:46: error: in-class initialization of static data member ‘std::__cxx11::string utils::path::empty_string’ of non-literal type
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/path.h:26:46: error: call to non-constexpr function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
In file included from /home/newk/chipmachine_build/chipmachine/src/SongFileIdentifier.cpp:5:0:
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:120:28: error: ‘homeDir’ declared as an ‘inline’ field
inline static utils::path homeDir;
^~~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:121:31: error: ‘exeDir’ declared as an ‘inline’ field
inline static utils::path exeDir;
^~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:122:31: error: ‘configDir’ declared as an ‘inline’ field
inline static utils::path configDir;
^~~~~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:123:31: error: ‘cacheDir’ declared as an ‘inline’ field
inline static utils::path cacheDir;
^~~~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:124:31: error: ‘appDir’ declared as an ‘inline’ field
inline static utils::path appDir;
^~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:126:31: error: ‘appName’ declared as an ‘inline’ field
inline static std::string appName;
^~~~~~~
/home/newk/chipmachine_build/apone/mods/coreutils/../coreutils/environment.h:127:30: error: ‘m’ declared as an ‘inline’ field
inline static std::mutex m;
^
[8/954] Building CXX object external/lua/CMakeFiles/lua.dir/lapi.c.o
ninja: build stopped: subcommand failed.
You actually need a c++17 compiler now... so I think gcc 6 is too old
thank you for pointing that out! installed gcc 9.1 now and got WAY further with compiling.. but it tripped on compiling the Gameboy Advanced plugin:
[848/954] Building CXX object plugins/gsfplugin/CMakeFiles/gsfplugin.dir/playgsf/VBA/GBA.cpp.o
FAILED: plugins/gsfplugin/CMakeFiles/gsfplugin.dir/playgsf/VBA/GBA.cpp.o
/usr/bin/c++ -DC_CORE -DLINUX -I/usr/local/include -I/home/newk/chipmachine_build/musicplayer/plugins/gsfplugin/playgsf -I/home/newk/chipmachine_build/musicplayer/plugins/gsfplugin/playgsf/libresample-0.1.3/include -I/home/newk/chipmachine_build/musicplayer/plugins/gsfplugin/.. -I/home/newk/chipmachine_build/musicplayer/psf/include -I/home/newk/chipmachine_build/apone/mods/coreutils/.. -I/home/newk/chipmachine_build/apone/mods/coreutils -g -funsigned-char -g -funsigned-char -O2 -std=gnu++17 -MD -MT plugins/gsfplugin/CMakeFiles/gsfplugin.dir/playgsf/VBA/GBA.cpp.o -MF plugins/gsfplugin/CMakeFiles/gsfplugin.dir/playgsf/VBA/GBA.cpp.o.d -o plugins/gsfplugin/CMakeFiles/gsfplugin.dir/playgsf/VBA/GBA.cpp.o -c /home/newk/chipmachine_build/musicplayer/plugins/gsfplugin/playgsf/VBA/GBA.cpp
c++: fatal error: Terminated signal terminated program cc1plus
compilation terminated.
[850/954] Building CXX object CMakeFiles/cm.dir/src/MusicDatabase.cpp.o
ninja: build stopped: subcommand failed.
full log here on pastebin: https://pastebin.com/pPESJh7r
Getting much closer to run this most awesome chiptune player now! : >
First, i want to thank you for making this!! <3 After i got it on raspberry pi i want it on my desktop too.. i'm on Lubuntu 16.04 (with some ppa to update gcc cmake and c++)
i am allmost there but it fails at the end (whole thing for reference):
and a note on the build instructions: liblua6 in the dependencies? is that out allread? :p