Skip to content

Build fails on some platforms #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andy5995 opened this issue Jan 31, 2024 · 1 comment
Open

Build fails on some platforms #1

andy5995 opened this issue Jan 31, 2024 · 1 comment

Comments

@andy5995
Copy link
Contributor

https://github.com/netpanzer/flexlay/actions/runs/7722713281/job/21051346285#step:6:116

lib/gui_manager.cpp: In constructor ‘GUIManager::GUIManager()’:
lib/gui_manager.cpp:42:75: error: no matching function for call to ‘CL_ResourceManager::CL_ResourceManager(std::__cxx11::basic_string, bool)’
42 | impl->resources = new CL_ResourceManager(datadir + "/gui/gui.xml", false);

@andy5995
Copy link
Contributor Author

andy5995 commented Feb 1, 2024

The build now works on Ubuntu 22.04 but fails on Manjaro:

[andy@prometheus flexlay](main)$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o ruby/ruby_meta_data.os -c -Wno-uninitialized -I/usr/include/ruby-3.0.0 -I/usr/include/ruby-3.0.0/x86_64-linux -fPIC -Iruby -I/usr/lib/ruby/3.0.0/x86_64-linux -Ilib -I/usr/include/ClanLib-1.0 ruby/ruby_meta_data.cpp
In file included from /usr/include/ruby-3.0.0/ruby/ruby.h:144,
                 from /usr/include/ruby-3.0.0/ruby.h:38,
                 from ruby/ruby_meta_data.hpp:24,
                 from ruby/ruby_meta_data.cpp:19:
/usr/include/boost/assert/source_location.hpp: In member function ‘std::string boost::source_location::to_string() const’:
/usr/include/ruby-3.0.0/ruby/subst.h:14:18: error: ‘ruby_snprintf’ is not a member of ‘std’; did you mean ‘vsnprintf’?
   14 | #define snprintf ruby_snprintf
      |                  ^~~~~~~~~~~~~
/usr/include/ruby-3.0.0/ruby/subst.h:14:18: error: ‘ruby_snprintf’ is not a member of ‘std’; did you mean ‘vsnprintf’?
   14 | #define snprintf ruby_snprintf
      |                  ^~~~~~~~~~~~~
scons: *** [ruby/ruby_meta_data.os] Error 1
scons: building terminated because of errors.

@andy5995 andy5995 changed the title Build fails Build fails on some platforms Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant