← Back to team overview

yade-users team mailing list archive

Re: Problem with g++ version ????

 

> I checked about the version of QGLviewer I have. Apparently
lib3dviewer 
> version 2.2.2-3-1+0, lib3dviewer-dev version 2.2.2-3-1+0 and 
> libqglviewer-gd-dev version 2.2.2-3-1+0 are installed.
> 

Once you found compiler that works ;-), I would recompile qglviewer. Its
version doesn't really matter I think but it should be compiled by the
same compiler as yade. Maybe I am wrong but I suspect some subtle ABI
changes between g++ 3.x and 4.x. Janek, any ideas? I had qglviewer
(hence yade) crashes because of libqglviewer linked with some ancient
libs (libstdc++) survived on newer system.

HTH, Vaclav

> Hello,
> 
> I tried your first solution, but I added "CXX=g++-4.1" because  I 
> installed g++-3.4 before to find the differences with g++-4.1, I didn't 
> know it was possible to do that during the compilation.
> 
> So I compiled with "scons PREFIX=/home/username/YADE CXX=g++-4.1 
> pretty=0 jobs=1", and it apparently works except about the graphics, 
> wich actually doesn't work.
> 

> bye, lionel
> 
> // Hi, Lionel, could you try running
> 
> // scons pretty=0 jobs=1
> 
> // and paste full output for the critical file here? It is a compiler bug, 
> // though what triggers it is yet to be investigated.
> 
> // You can also try installing g++-4.2 package and compile with scons 
> // CXX=g++-4.2 instead, to see if it makes any difference.
> 
> 
> _______________________________________________
> Yade-users mailing list
> Yade-users@xxxxxxxxxxxxxxxx
> https://lists.berlios.de/mailman/listinfo/yade-users
> 

_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users



Follow ups

References