← Back to team overview

yade-users team mailing list archive

Re: help compiling

 

Andreas Plesch said:     (by the date of Fri, 21 Oct 2005 13:49:54 -0700 (PDT))

> So I added -lGL and -lGLU to yade.pro in
> yade-core/projects/kdevelop/yade/
> and could then compile_install until ...

this is interesting. I had similar problem once, I thought that it
was compiler version dependant. Now looks like it is not only compiler
version, because 3.4 was OK on debian and fedora.


> GL/freeglut_ext.h: No such file or directory
> 
> I did not have freeglut_ext.h on my system.

I will add this on the website for other people that will use gentoo.
 
> ok, so I replaced glut with freeglut on my system and
> tried again. 
> 
> It got past the last error until ...
> 
> g++ -c -pipe -Wall -W -march=opteron -O2 -pipe
> -lpthread -pthread -fPIC  -DQT_NO_DEBUG -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT
> -I/usr/qt/3/mkspecs/linux-g++ -I.
> -I/tmp/yade/usr/include
> -I../../../DataClass/InteractionGeometry/ErrorTolerantContactModel
> -I/usr/qt/3/include -o ErrorTolerantLaw.o
> ErrorTolerantLaw.cpp
> In file included from ErrorTolerantLaw.cpp:24:
> ErrorTolerantLaw.hpp:67: error:
> `boost::numeric::ublas::sparse_matrix' has not been
> declared
> 
> I believe this is the issue with boost 1.33 you had
> mentioned. 
> 
> Should I just downgrade to boost 1.32 ?

you have two solutions:

1. downgrade or,
2. read this post: https://lists.berlios.de/pipermail/yade-users/2005q3/000009.html

-- 
# Janek Kozicki
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users



References