← Back to team overview

yade-users team mailing list archive

Re: compiling problem - cannot find lminiWm3

 

> here joined the build.log associated with my problem.
Hi Luc, I am doing alright :-)

For your problem, you are using quite new scons (post-1.0, I think). I
fixed that hopefully in SVN, to get your change to .12.1, edit
pkg/common/SConscript, and change lines approx 25-27 like this:

    env.SharedLibrary('BodyRedirectionVector',[],LIBS=[]),
    env.SharedLibrary('InteractionVecSet',[],LIBS=[]),
    env.SharedLibrary('PhysicalActionVectorVector',[],LIBS=[]),

(add the LIBS=[] after each of them).

The reason is that new scons thinks that empty files are plain c (not
c++), links with gcc (not g++), but doesn't add some paths to other libs
that are normally needed. Since these plugins are just empty, you can
safely declare it needs no libs and your error should be gone.

HTH, Vaclav




References