Welcome, Guest. Please login or register. Did you miss your activation email?

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 - thephysicist

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

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.

Pages: [1]