← Back to team overview

yade-users team mailing list archive

Re: [Question #153589]: Adding an IGeomFunctor subclass

 

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

    Status: Answered => Open

Kneib François is still having a problem:
Ok, I think I found the answer (note that CylScGeom6D is defined in
Cylinder.hpp) : I imported Cylinder.hpp in
CohesiveFrictionalContactLaw.cpp instead of .hpp file. I remember I made
this because I obtained a dependency cycle error, which I by-pass with :

#ifndef ScGeom6D
#include<yade/pkg/common/Cylinder.hpp>
#endif

(I never known I it really works ...)
Now I import Cylinder.hpp in the CohesiveFrictionalContactLaw.hpp file, but I get this dependency cycle error :

(...)
cp -f py/ymport.py lib/yade-trunk/py/yade/ymport.py
scons: done building targets.

scons: *** Found dependency cycle(s):
  lib/yade-trunk/plugins/libCylinder.so -> /home/francoisk/build-trunk/libplugins.so -> lib/yade-trunk/plugins/libplugins.so -> /home/francoisk/build-trunk/libCylinder.so -> lib/yade-trunk/plugins/libCylinder.so
  /home/francoisk/build-trunk/libplugins.so -> lib/yade-trunk/plugins/libplugins.so -> /home/francoisk/build-trunk/libCylinder.so -> lib/yade-trunk/plugins/libCylinder.so -> /home/francoisk/build-trunk/libplugins.so
  lib/yade-trunk/plugins/libplugins.so -> /home/francoisk/build-trunk/libCylinder.so -> lib/yade-trunk/plugins/libCylinder.so -> /home/francoisk/build-trunk/libplugins.so -> lib/yade-trunk/plugins/libplugins.so
  Internal Error: no cycle found for node lib/yade-trunk/plugins (<SCons.Node.FS.Dir instance at 0x3c07e60>) in state pending
  Internal Error: no cycle found for node lib/yade-trunk/py (<SCons.Node.FS.Dir instance at 0x4844908>) in state pending

File "/usr/lib/scons/SCons/Taskmaster.py", line 1024, in cleanup
(end)

How can I get rid of that ?

Tx

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