1
General / Undefined Reference to TGUI functions
« on: January 17, 2020, 04:09:21 pm »
Hello,
I'm using Linux Mint, installed TGUI via the manual on the tutorial page and get this from my cmake file
When I try to get the example program, I get the following errors:
I tried compiling with C++17 and C++14.
I'm using Linux Mint, installed TGUI via the manual on the tutorial page and get this from my cmake file
Quote
-- Found SFML 2.4.2 in /usr/include
-- Found TGUI 0.8.6 in /usr/lib/x86_64-linux-gnu/cmake/TGUI
-- Configuring done
-- Generating done
When I try to get the example program, I get the following errors:
Quote
undefined reference to `tgui::Gui::Gui(sf::RenderWindow&)'
undefined reference to `tgui::Gui::handleEvent(sf::Event)'
undefined reference to `tgui::Gui::draw()'
I tried compiling with C++17 and C++14.