← Back to team overview

yade-users team mailing list archive

[Question #235459]: "Make" error ("no rule to build target")

 

New question #235459 on Yade:
https://answers.launchpad.net/yade/+question/235459

Hi,

I want to install Yade from source code (what an idea...). I have my "three folders" :

- /home/3S-LAB/jduriez/Yade should be my install install folder, containing moreover the two other directories (is it a problem ?) :
- /home/3S-LAB/jduriez/Yade/BuildYade : as build-directory
- /home/3S-LAB/jduriez/Yade/trunk : containing the code

First step :
       cmake -DINSTALL_PREFIX=/home/3S-LAB/jduriez/Yade/ /home/3S-LAB/jduriez/Yade/trunk/
was apparently ok, even if gts and minieigen were not found (?). Output below :

********** FINAL OUTPUT OF CMAKE *********** 
Yade will be installed to /home/3S-LAB/jduriez/Yade
-- Suffix is set to -2013-09-09.git-a7c38e5
-- LIBRARY_OUTPUT_PATH is set to lib/x86_64-linux-gnu
-- runtimePREFIX is set to /home/3S-LAB/jduriez/Yade
-- Could NOT find gts (missing:  PY_gts) 
-- Use embedded version of gts. Please, consider installing the corresponding package
-- Could NOT find minieigen (missing:  PY_minieigen) 
-- Use embedded version of minieigen. Please, consider installing the corresponding package
-- Found Tkinter: /usr/lib/python2.7/lib-tk/Tkinter.pyc 
-- ===========================================================
-- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL PFVflow LinSolv GL2PS
-- Disabled features:
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/3S-LAB/jduriez/Yade/BuildYade
********** END OF FINAL OUTPUT OF CMAKE *********** 


But second step finished with an error :

jduriez@lt-med010:~/Yade/BuildYade$ make
.......
[  4%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/moc_OpenGLManager.cxx.o
make[2]: *** Pas de règle pour fabriquer la cible « /usr/lib/x86_64-linux-gnu/libGL.so », nécessaire pour « gui/lib/x86_64-linux-gnu/_GLViewer.so ». Arrêt.
make[1]: *** [gui/CMakeFiles/_GLViewer.dir/all] Erreur 2
make: *** [all] Erreur 2

The error should be, in english, "No rule to build the target « /usr/lib/x86_64-linux-gnu/libGL.so », necessary for « gui/lib/x86_64-linux-gnu/_GLViewer.so ». Stop"

Did I do something wrong ?

You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.