vle-forge / vle

Virtual Laboratory Environment
http://www.vle-project.org
GNU General Public License v3.0
21 stars 22 forks source link

gvle: undefine symbols from QCustomPlot #372

Closed rtrepos closed 5 years ago

rtrepos commented 5 years ago

On master branch. When using the plot of gvle, an error occurs which is related to the missing link with QCustomPlot. The cmake macro DeclareGvle does not link the target with QCustomPlot (QCustomPlot_LIBRARIES). The solution depends on the strategy :

quesnel commented 5 years ago

Link only with the DefaultSimsubpanel.

quesnel commented 5 years ago

Can you test this patch @rtrepos ?

rtrepos commented 5 years ago

Hi, Not sure yet it is working. I tried to modify the template dynamics (Simple.cpp) in order to observe a value::Double and I had another error :

symbol lookup error: /pub/vlehomeexp/vle-2001/pkgs/titi/plugins/simulator/libSimple.so: undefined symbol: _ZN3vle7versionEv

Not related bu prevent me from testing the commit. I will dig further.

rtrepos commented 5 years ago

It is ok you can push this commit on master. Thanks.

quesnel commented 5 years ago

0k. Merged. Thx.