| Thread Previous • Date Previous • Date Next • Thread Next |
> Sorry, but I added -lPeriodicEngines to QtGUI library in r2063 because
> without it per-class compiled yade-dbg don't works. see
> https://bugs.launchpad.net/yade/+bug/531394
read https://www.yade-dem.org/sphinx/prog.html#linking, you have to use
linkPlugins(['PeriodicEngines']) instead of directly specifying
['PeriodicEngines'] (please fix & commit, I cannot). Something like
env.SharedLibrary('SnapshotEngine',['qt3/SnapshotEngine.cpp'],LIBS=env['LIBS']+['QtGUI','$QGLVIEWER_LIB']+linkPlugins(['PeriodicEngines']),CPPPATH=env['CPPPATH']+['qt3']),
should work for both of you.
| Thread Previous • Date Previous • Date Next • Thread Next |