yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00772
Re: Installation problem of Yade-0.11.1 in
Dear Jernome,
It works. Thanks.
Regards,
Abraham
>Date: Wed, 12 Dec 2007 14:36:23 +0100
>From: Jerome Duriez
>Subject: Re: [Yade-users] Installation problem of Yade-0.11.1 in
>Kubuntu 7.10
>To: yade-users@xxxxxxxxxxxxxxxx
>Message-ID: <475FE3D7.3090001@xxxxxxxxxxxxxxx>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hello, I faced the same problem. If I remember well, I solved it (in
>fact I was helped to solve it) by modifying the file SConstruct which is
>in your folder yade- 0.11.1. At the line 229 it should be written :
>if
>conf.CheckLibWithHeader
>('QGLViewer','QGLViewer/qglviewer.h','c++','QGLViewer(1);'):
>env['QGLVIEWER_LIB']='QGLViewer'
>If it is the case you have to replace some capital letters by lower case
>ones, like that :
>if
>conf.CheckLibWithHeader
>('qglviewer','QGLViewer/qglviewer.h','c++','QGLViewer(1);'):
>env['QGLVIEWER_LIB']='qglviewer'
>
>For me I think it solved the problem...
>
>Jerome
>
>Chung Fai Abraham Chiu a ?crit :
> Dear all,
>
> Recently I've tried to install Yade-0.11.1 in Kubuntu 7.10 using the
> following commands as recommended in the website:
> *tar -xvzf yade- 0.11.1 .tar.gz*
> *cd yade- 0.11.1*
> *scons PREFIX=/home/abraham/YADE optimize=1*
> The following messages poped out:
>
> /Checking whether c++ compiler "g++" works...yes/
> /Checking for pthread_exit(NULL) in C library pthread... yes/
> /Checking for glutGetModifiers() in C library glut... yes/
> /Checking for boost::posix_time::time_duration::time_duration() in C++
> library bo//ost_date_time-mt... yes/
> /Checking for boost::thread::thread() in C++ library
> boost_thread-mt... yes/
> /Checking for boost::filesystem::path() in C++ library
> boost_filesystem-mt...yes/
> /Checking for qt-mt in /usr/share/qt3... yes/
> /Checking for QGLViewer(1) in C++ library QGLViewer... no/
> /Checking for QGLViewer(1) in C++ library 3dviewer... no/
> //
> /One of the essential libraries above was not found, unable to continue./
> //
> /Check `/home/abraham/build- 0.11.1 /config.log' for possible causes,
> note that there are options that you may need to customize:/
>
> Then I've proceeded to check the config.log and spotted out the
> following errors:
>
> /scons: Configure: Checking for QGLViewer(1) in C++ library QGLViewer... /
> //home/abraham/build- 0.11.1 /.sconf_temp/conftest_7.cpp <-/
> / |/
> / |/
> / |#include "QGLViewer/qglviewer.h"/
> / |/
> / |int/
> / |main() {/
> / | QGLViewer(1);/
> / |return 0;/
> / |}/
> / |/
> /g++-o /home/abraham/build- 0.11.1 /.sconf_temp/conftest_7.o -c
> -I/home/abraham/build-0.11.1/include/yade-0.11.1
> -I/home/abraham/build-0.11.1/include/yade-0.11.1/yade/lib-miniWm3
> -I/usr/share/qt3/include -I/usr/share/qt3/include
> /home/abraham/build-0.11.1/.sconf_temp/conftest_7.cpp/
> /close failed: [Errno 9] Bad file descriptor/
> /g++ -o /home/abraham/build- 0.11.1 /.sconf_temp/conftest_7
> /home/abraham/build-0.11.1/.sconf_temp/conftest_7.o
> -L/usr/share/qt3/lib -L/usr/share/qt3/lib -lpthread -lglut
> -lboost_date_time-mt -lboost_thread-mt -lboost_filesystem-mt -lqt-mt
> -lqt-mt -lQGLViewer/
> //usr/bin/ld: cannot find -lQGLViewer/
> /collect2: ld returned 1 exit status/
> /close failed: [Errno 9] Bad file descriptor/
> /scons: Configure: no/
>
> It seems that qglviewer.h cannot be located.
>
> I have downloaded the debian files libqglviewer-dev_ 2.2.6
> -3-1_i386.deb and libqglviewer2_2.2.6-3-1_i386.deb from
> http://packages.debian.org/source/lenny/libqglviewer. After installing
> the libqglviewer 2.2.6-3-1, I could compile and run the examples
> provided from http://artis.imag.fr/Software/QGLViewer.
> I've also checked that the path for qglviewer.h is
> /usr/include/QGLViewer/qglviewer.h, but YADE still can't locate it.
>
> Any suggestions?
>
> Regards,
>
> Abraham Chiu
>
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yade-users mailing list
> Yade-users@xxxxxxxxxxxxxxxx
> https://lists.berlios.de/mailman/listinfo/yade-users
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users