← Back to team overview

yade-users team mailing list archive

Re: [Question #159123]: how to link an external library with YADE

 

Question #159123 on Yade changed:
https://answers.launchpad.net/yade/+question/159123

    Status: Open => Answered

Chareyre proposed the following answer:
1/ You should really try to compile a simple program out of yade first,
with a simple makefile, so you know where problems come from.
This error means (I think) that libparMetisDecomp has other dependencies
(e.g. blas, lapack, or whatever it can be), you would have find this
with a simple "helloOFoamWorld" program.
2/ Don't modify $HOME/trunk/SConstruct or profile.default. They are root
system files that you will (almost) never commit. Create user-defined
profile:
"scons profile='name' CXXFLAGS=... SHCCFLAGS=... ". It has the same
result, except that it will be easier for you and us to understand what
you are doing (e.g. by asking the output of "scons -h", I know what's in
your profile, but I can't tell if you messed up the SConstruct :-)).

Bruno

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