-
Notifications
You must be signed in to change notification settings - Fork 54
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
libtiff fails to build when opengl/glut are found #204
Comments
Those packages are required for things like Qt and VTK, for example so it's
not a huge deal for further to require. That said, I agree libtiff should
have a disable option an and Gl should not be required by it.
I've been bit by the counter some times on systems where GL isn't installed
but other packages are.
…On Aug 24, 2017 7:48 PM, "Jon Crall" ***@***.***> wrote:
Seems related to these errors:
1. https://bugs.orfeo-toolbox.org/view.php?id=1306
2. https://ubuntuforums.org/showthread.php?t=1703770
When OPENGL_GLU_FOUND OPENGL_GLU_FOUND and GLUT_FOUND libtiff forces
HAVE_OPENGL to be true. This caused me to encounter the error: GLUT_Xmu_LIBRARY
NOTFOUND
Ideally, there would be an option to turn opengl off in libtiff itself.
Following the directions in the second link, I was able to continue by
installing the packages
sudo apt-get install libxmu-dev libxi-dev
but obviously forcing the user to install packages isn't an ideal fix for
a superbuild, so it might be a good idea to incorporate the lines from the
first lines that set an initial cache with opengl forced off, set(WITH_OPENGL
"FALSE" CACHE BOOL "Initial cache" FORCE) or we can make a patch for
libtiff that fixes the issue and might eventually be pushed to the parent
repo.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#204>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFRAWqz_Yr84M4V8NpYVCfMOCSDNl-jxks5sbgu0gaJpZM4PCEV1>
.
|
Its more the GLUT dependency than the OpenGL dependency. Isn't GLUT depricated? I have OpenGL on my system, what I didn't have was |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems related to these errors:
When OPENGL_GLU_FOUND OPENGL_GLU_FOUND and GLUT_FOUND libtiff forces HAVE_OPENGL to be true. This caused me to encounter the error:
GLUT_Xmu_LIBRARY NOTFOUND
Ideally, there would be an option to turn opengl off in libtiff itself.
Following the directions in the second link, I was able to continue by installing the packages
but obviously forcing the user to install packages isn't an ideal fix for a superbuild, so it might be a good idea to incorporate the lines from the first lines that set an initial cache with opengl forced off,
set(WITH_OPENGL "FALSE" CACHE BOOL "Initial cache" FORCE)
or we can make a patch for libtiff that fixes the issue and might eventually be pushed to the parent repo.The text was updated successfully, but these errors were encountered: