Skip to content

Build TGUI On FreeBSD

TGUI

Build TGUI On FreeBSD

1. Get TGUI Source

Get from git:
FreeBSD% git clone --depth=1 https://github.com/texus/TGUI tgui

2. Build TGUI from Source

Use cmake generators.
FreeBSD% cd tgui
FreeBSD% mkdir build
FreeBSD% cd build
FreeBSD% ccmake -G "Unix Makefiles" ../ \
-DCMAKE_MAKE_PROGRAM=/usr/local/bin/bmake \
-DSFML_ROOT=${HOME}/bin/local/sfml \
-DCMAKE_INSTALL_PREFIX=${HOME}/bin/local/tgui \
-DTGUI_BUILD_EXAMPLES=ON -DTGUI_BUILD_GUI_BUILDER=ON
FreeBSD% bmake
FreeBSD% bmake install
FreeBSD% cd ~/bin/local/tgui
FreeBSD% ls
include lib     share
FreeBSD% ls include/TGUI lib 
include/TGUI:
AbsoluteOrRelativeValue.hpp Font.hpp                    TextStyle.hpp
Animation.hpp               Global.hpp                  Texture.hpp
Any.hpp                     Gui.hpp                     TextureData.hpp
Aurora                      Layout.hpp                  TextureManager.hpp
Clipboard.hpp               Loading                     TGUI.hpp
Clipping.hpp                ObjectConverter.hpp         to_string.hpp
Color.hpp                   Outline.hpp                 ToolTip.hpp
Config.hpp                  RendererDefines.hpp         Vector2f.hpp
Container.hpp               Renderers                   Widget.hpp
DefaultFont.hpp             Signal.hpp                  Widgets
Exception.hpp               Sprite.hpp
FloatRect.hpp               Text.hpp

lib:
libtgui.so       libtgui.so.0.8.0

 

 

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.