Show Posts

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.


Messages - N0things

Pages: [1]
1
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.

2
Hello,

I am currently making a little project using SFML (2.5.1) and TGUI (0.8, the current stable one) with CMake. I am building SFML and TGUI from sources before building my project, however I can't manage to build TGUI 0.8 correctly on OSX (macOS Mojave 10.14.6) using Clang.

I figured out that, by changing the branch from 0.8 to 0.7, TGUI compiles successfully. I can not get satisfied with this however because I am using some 0.8 features. Here is the piece of log that describes my error :

Code: [Select]
[ 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

I don't know if I did something wrong, but I developed this project few months ago and everything worked fine with TGUI 0.8 back in this time. Now, I just wanted to add a bit of continuous integration to the project with linux (works fine with Gitlab-CI) and osx (fails with Travis-CI).

Here is my Travis-CI log for OSX : https://travis-ci.com/matthieu-locussol/golPlayground/jobs/272932475, interesting log informations are under the (line 88) $ sudo ./INSTALL.sh command. The source code for my project is therefore on Github (you can access it using Travis) if you need to look at the CMake files / Installation file.

If you need any other information let me know, I am a bit desperate as I've been investigating this issue for a few days now. Thank you in advance for your time :)

3
Help requests / Re: ChildWindow - TitleBarHeight
« on: 25 February 2019, 08:29:07 »
Sure ! Thanks for the quick fix !  ;)

4
Help requests / Re: ChildWindow - TitleBarHeight
« on: 25 February 2019, 06:56:17 »
However, something is still a bit surprising, setting the TitleBarHeight through :

Code: [Select]
m_window->getRenderer()->setTitleBarHeight(50);
works well ! But, if I removed the previous line and instead add the following line to my theme file "default.txt" :

Code: [Select]
ChildWindow {
    TitleBarHeight = 50;
}

It doesn't change anything. But this property is still recognized by the parser as I have no error message, just that setting is to 5, 50, 500 or whatever will not affect the TitleBarHeight at all.

Is that normal ? (just wondering)

5
Help requests / Re: ChildWindow - TitleBarHeight
« on: 25 February 2019, 06:00:05 »
That's my really bad, didn't update to TGUI last version. I was still using 0.8.1....

Sorry for bothering ! It works now !

6
Help requests / ChildWindow - TitleBarHeight
« on: 24 February 2019, 19:08:50 »
Hello !

I'm currently designing a GUI for a game and I was wondering if there is a way to change the ChildWindow's TitleBar's height ?

I found the property "TitleBarHeight" but changing it doesn't seem to make any difference, is that normal ? I change it using :

Code: [Select]
window->getRenderer()->setTitleBarHeight(...);

Pages: [1]