Latest version: 1.16
Download: AntTweakBar_116.zip
This package includes the complete AntTweakBar library source code for Linux, MacOSX and Windows, as well as 32 and 64-bit binaries for Windows. It also includes some examples that show how the library can be integrated in several graphic frameworks.
The project and source code repository is here. Note that the project is not maintained anymore.
Unzip the archive in a directory of your choice.
Under Windows, it is not necessary to rebuild AntTweakBar since a precompiled version is provided in the directory lib
. But if you want to recompile it, you can use the provided Visual Studio solution. You’d also need the DirectX SDK, and the path to the DirectX shader compiler fxc.exe
(included in the DirectX SDK) must be listed in the VC++ directories.
To build the library on Linux, open a terminal, go in the directory src
and type make
To build the library on MacOSX, open a terminal, go in the directory src
and type make -f Makefile.osx
Compiled versions of the examples for 32 and 64-bit systems can be found in the directories examples/bin32
and examples/bin64
. A Visual Studio solution is also provided in the directory examples
if you want to rebuild them.
Under Linux and OSX, you may need to rebuild the examples. To do so, under Linux, open a terminal, go in the directory examples
and type make
. Under OSX, open a terminal, go in the directory examples
and type make -f Makefile.osx
.
To recompile the examples you also need the following external libraries: GLFW, GLUT, SDL, SFML.
To use the AntTweakBar library in your program, modify your project or makefile as follow:
- add the AntTweakBar include
directory to your project include paths,
- add the AntTweakBar lib
directory to your project library paths,
- and link with AntTweakBar.lib
if you are using 32-bit Windows, AntTweakBar64.lib
if you are using 64-bit Windows, or AntTweakBar
if you are using Linux or OSX.
→ Note for Windows:
Your program will be dynamically linked toAntTweakBar.dll
orAntTweakBar64.dll
. To run your program, the fileAntTweakBar.dll
orAntTweakBar64.dll
must have been copied in the same directory as your executable.
→ Notes for Linux and OSX:
Your program will be dynamically linked tolibAntTweakBar.so
on Linux orlibAntTweakBar.dylib
on OSX. To run your program, these files must have been copied to your shared libraries directory (usually/usr/local/lib/
), or their path must have been added to the environment variableLD_LIBRARY_PATH
on Linux andDYLD_LIBRARY_PATH
on OSX.
Go to this page to see how to integrate AntTweakBar into your application. Go here to see the examples.