yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03887
Re: How to use a plugin
Thanks Vaclav. Yes, I have included Scene and Omega in the header. After some trial and error, this works:
Scene* scene = Omega::instance().getScene().get();
Is it different from the previous: shared_ptr<Scene> scene = Omega()::instance().getScene() ?
Another weird error I got is this, although I've included the path in LIBPATH and CPPPATH:
13 FATAL yade.Omega /home/chiab/yadeNew/Branch6/core/Omega.cpp:229 loadPlugins: /home/chiab/yadeNew/YADEb6/lib/yade-b6/extra/libCWBoonPlugin3.so: libnagc_nag.so: cannot open shared object file: No such file or directory
I did a check:
chiab@engs-018383:/usr/local/NAG/cll6a09dhl/lib$ ls -l libnagc_nag.so
lrwxrwxrwx 1 root root 19 2010-04-07 11:10 libnagc_nag.so -> ./libnagc_nag.so.09
Yours,
Boon
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
Follow ups
References
-
How to use a plugin
From: boon chiaweng, 2010-04-01
-
Re: How to use a plugin
From: Anton Gladky, 2010-04-01
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-07
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-08