Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake error: Could NOT find AntTweakBar (missing: ANT_TWEAK_BAR_INCLUDE_PATH ANT_TWEAK_BAR_LIBRARY) on Ubuntu 15.10 #112

Closed
cirosantilli opened this issue May 1, 2016 · 4 comments

Comments

@cirosantilli
Copy link
Contributor

cirosantilli commented May 1, 2016

cmake fails with:

-- Could NOT find AntTweakBar (missing:  ANT_TWEAK_BAR_INCLUDE_PATH ANT_TWEAK_BAR_LIBRARY)
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found Fontconfig: /usr/lib/x86_64-linux-gnu/libfontconfig.so
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ANT_TWEAK_BAR_INCLUDE_PATH
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos
   used as include directory in directory /home/ciro/git/freetype-gl/demos

-- Configuring incomplete, errors occurred!
See also "/home/ciro/git/freetype-gl/build/CMakeFiles/CMakeOutput.log".

Ubuntu 15.10, after installing GLFW from source to prevent: #94

There seems to package for http://anttweakbar.sourceforge.net/doc/ .

What system do you test on, rougier? Arch? Please don't use such obscure projects :-)

Tried compiling anttweak from source (cd src && make, there is no install target... nor cmake files) and then:

ANT_TWEAK_BAR_INCLUDE_PATH=/home/ciro/git/anttweakbar/include ANT_TWEAK_BAR_LIBRARY=/home/ciro/git/anttweakbar/lib cmake ..

but nothing changed. I gotta learn some cmake :-)

@cirosantilli
Copy link
Contributor Author

cirosantilli commented May 1, 2016

OK, now that I've found the .travis.yml, it works :-) https://github.com/rougier/freetype-gl/blob/master/.travis.yml#L27

We should fork that project (sourceforge says unmaintained) and add an install target :-)

Or better, replace it with some of: http://gamedev.stackexchange.com/questions/3617/good-gui-for-opengl

@behdad
Copy link

behdad commented May 1, 2016

I also tried building for half hour today, gave up. Linking to glfw fails and I don't know enough cmake to want to fix it.

@cirosantilli
Copy link
Contributor Author

@behdad I'm exactly at that point now!!! :-)

@cirosantilli
Copy link
Contributor Author

@behdad now I've done exactly what Travis says at

# Bug in GLFW upstream: https://github.com/glfw/glfw/pull/460
(the mv and the sed) and it works. Finally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants