← Back to team overview

yade-users team mailing list archive

Re: Compilation Problem


Miller, Frank said:     (by the date of Thu, 26 Apr 2007 13:28:18 -0600)

> I'm trying to compile YADE-all-0.10.0 on an Ubuntu 6.10 machine.  I
> understand it won't compile with g++ 4.1, but when I remove 4.1 with
> Synaptec, it also removes g++. I've tried installin g++ 3.4 and 4.0, but
> they don't install g++ and the compilation fails with a g++: Command not
> found error.  Installing g++, also re-installs  g++ 4.1 and I'm back to
> square one.  Is there a workaround for this?  

when g++ 4.0 is installed, the command that you want to use is
g++-4.0. Check that. So it means that you need to pass an additional
flag CXX='g++-4.0' to the make command. I type this off the top of my
head, so please ask if you still have problems and I will check more
carefully :)

# Janek Kozicki
Yade-users mailing list