I followed your advice regarding the String class, I then made a patch to remove the useless methods and it is now working well, somehow.
Thanks for your help.
Thanks for your help.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
[ 95%] Linking CXX shared library ../../lib/libtgui.dylib
Undefined symbols for architecture x86_64:
"std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<<<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
tgui::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, tgui::String const&) in String.cpp.o
"std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >& std::__1::operator<<<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&)", referenced from:
tgui::operator<<(std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >&, tgui::String const&) in String.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libtgui.0.8.6.dylib] Error 1
make[1]: *** [src/TGUI/CMakeFiles/tgui.dir/all] Error 2
make: *** [all] Error 2
m_window->getRenderer()->setTitleBarHeight(50);
ChildWindow {
TitleBarHeight = 50;
}
window->getRenderer()->setTitleBarHeight(...);