cannot find GUI-libs during compilation

Asked by Luc Scholtès

Hi all,

I tried to compile YADE in its new version (ubuntu 10.04 lucid). Everything just went fine except that I cannot open the GUI because the GUI-libs could not be found during compilation (the GUI feature is therefore disable). Is there a way to solve that point? It would help me a lot not to work only with paraview.

Thanks for your help

Cheers

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Luc Scholtès
Solved:
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi Luc,

please, be sure, you have installed all necessary libraries, listed here [1].
Yade-daily for Lucid builds the GUI [2]:
...
-- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL GL2PS
...

If it does not help, cmake should produce a meaningful information,
why the GUI was disabled.
Cheers,

Anton

[1] https://yade-dem.org/doc/installation.html#prerequisities
[2] https://launchpadlibrarian.net/114837562/buildlog_ubuntu-lucid-amd64.yade-daily_3%2B3264%2B42~lucid1_BUILDING.txt.gz

Revision history for this message
Luc Scholtès (luc) said :
#2

Thanks Anton,

Actually, I do not understand why the GUI-libs cannot be found since I carefully checked that all libs were installed... My question should have been: What are the GUI-libs?

Luc

This is what I get when doing cmake

-- Version is set to 2012-09-04.git-e931dee
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Boost_VERSION: 104000
-- Boost_LIB_VERSION: 1_40
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.so/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so
-- Found Eigen3
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GTS
-- Found QGLViewer: /usr/lib/libqglviewer-qt4.so
-- GUI-LIBS NOT found
-- GMP libs: /usr/lib/libgmp.so /usr/lib/libgmpxx.so
-- GMP libs: /usr/lib/libgmp.so /usr/lib/libgmpxx.so
-- Found CGAL
-- Found GL2PS
Yade will be installed to /home/invite/Bureau/LUC
-- Suffix is set to -2012-09-04.git-e931dee
-- LIBRARY_OUTPUT_PATH is set to lib
-- runtimePREFIX is set to /home/invite/Bureau/LUC
-- ===========================================================
-- Yade configured with following features: Eigen3 VTK OpenMP GTS CGAL GL2PS
-- Disabled features: GUI
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/invite/Bureau/LUC

Revision history for this message
Luc Scholtès (luc) said :
#3

Ok, my mistake... I forgot freeglut... Sorry for that

Revision history for this message
Anton Gladky (gladky-anton) said :
#4

> What are the GUI-libs?

QT4, OPENGL, GLUT, GLIB2, QGLVIEWER

Anton