1
General discussions / Re: GUI with SFML
« on: February 29, 2020, 11:10:46 pm »
It is okay now, thanks. I checked stdc++14 in Settings->Compiler...
I can start learning tgui now
I can start learning tgui now
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.
||=== Build: Debug in TGUI Test (compiler: GNU GCC Compiler) ===|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\Widgets\MenuBar.hpp||In member function 'unsigned int tgui::MenuBar::connectMenuItem(const std::vector<sf::String>&, Func&&, const Args& ...)':|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\Widgets\MenuBar.hpp|165|warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|63|error: expected primary-expression before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|63|error: expected ')' before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|63|error: expected unqualified-id before 'decltype'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|70|error: expected primary-expression before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|70|error: expected ')' before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|70|error: expected unqualified-id before 'decltype'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|77|error: expected primary-expression before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|77|error: expected ')' before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|77|error: expected unqualified-id before 'decltype'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|113|error: expected primary-expression before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|113|error: expected ')' before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|113|error: expected unqualified-id before 'decltype'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|121|error: expected primary-expression before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|121|error: expected ')' before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|121|error: expected unqualified-id before 'decltype'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|147|error: expected primary-expression before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|147|error: expected ')' before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|147|error: expected unqualified-id before 'decltype'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|155|error: expected primary-expression before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|155|error: expected ')' before 'auto'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|155|error: expected unqualified-id before 'decltype'|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp||In member function 'unsigned int tgui::SignalWidgetBase::connect(std::__cxx11::string, Func&&, const Args& ...)':|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|323|warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp||In member function 'unsigned int tgui::SignalWidgetBase::connect(std::__cxx11::string, Func&&, BoundArgs&& ...)':|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalImpl.hpp|333|warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalManagerImpl.hpp||In member function 'unsigned int tgui::SignalManager::connect(std::__cxx11::string, std::__cxx11::string, Func&&, const Args& ...)':|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalManagerImpl.hpp|78|warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalManagerImpl.hpp||In member function 'unsigned int tgui::SignalManager::connect(std::__cxx11::string, std::__cxx11::string, Func&&, BoundArgs&& ...)':|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\SignalManagerImpl.hpp|90|warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14|
C:\Users\Asmitta\Documents\C++Docs\Jeu\TGUI Test\main.cpp|23|warning: 'virtual void tgui::Widget::mouseNoLongerDown()' is deprecated: Use leftMouseButtonNoLongerDown instead [-Wdeprecated-declarations]|
C:\Users\Asmitta\Downloads\TGUI-0.8\include\TGUI\Widget.hpp|659|note: declared here|
||=== Build failed: 21 error(s), 6 warning(s) (0 minute(s), 47 second(s)) ===|
What fails exactly?My TGUI file doesn't contains the libs folder. The linking is then incomplete