Main Menu
Menu

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.

Show posts Menu

Messages - Snarky

#1
Help requests / Re: Build issues
25 December 2018, 23:26:49
I use the GNU GCC compiler.
I looked at the Build log and it said I was using the -std=c++11 option so I looked in compiler settings and in there it was ticked instead of -std=c++14 so I changed it and it built correctly. Thanks again.
#2
Help requests / Build issues
24 December 2018, 23:51:10
Whenever I try to build the following code:
#include <TGUI/TGUI.hpp>

int main()
{
    sf::RenderWindow window{{800, 600}, "Window"};
    tgui::Gui gui{window};

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();

            gui.handleEvent(event);
        }

        window.clear();
        gui.draw();
        window.display();
    }

    return EXIT_SUCCESS;
}

Which came from the TGUI Minimal code tutorial for version 0.8, I get the following errors for 7 lines in the SignalImpl.hpp:
  • expected primary-expression before 'auto'
  • expected ')' before 'auto'
  • expected unqualified-id before 'decltype'
I also get 2 warnings about lambda capture initializers only available in -std=c++14 or -std=gnu++14 even though I have compile with that standard on in build options. I get the same warning in MenuBar.hpp.
What should I do (if I can do anything)?
#3
Installation help / Re: libintl-8.dll not found?
24 December 2018, 20:09:27
It worked. Thank you so much!
#4
Installation help / Re: libintl-8.dll not found?
24 December 2018, 19:40:46
My compiler doesn't seem to be in my PATH at all. I reinstalled both codeblocks and cmake and then rebooted my computer and it still says that. If it's because the compiler isn't in my PATH how would I go about adding it?
#5
Installation help / libintl-8.dll not found?
24 December 2018, 01:07:03
As the title suggests CMake can't find libintl-8.dll. I am trying to follow this installation tutorial: https://tgui.eu/tutorials/0.8/codeblocks/.
I have the correct directory for the source code entered and a similar build directory. The generator is also correct but when I try to generate the files it brings up this error:
QuoteThe code execution cannot proceed because libintl-8.dll was not found. Reinstalling the program may fix this problem.

After clicking ok a few times CMake tells me to look at CMakeError.log and that has a whole bunch of errors (obviously) in it. What should I do? I'm trying to compile TGUI 0.8.2 for SFML 2.5.1