plugging module on development version

Questions about Anatomist manipulation

Moderators: denghien, riviere

Post Reply
marie chupin
Posts: 14
Joined: Wed Mar 02, 2005 12:23 pm

plugging module on development version

Post by marie chupin »

Hello,

How can I plug my module on the development version of anatomist? It's compiling and creating the library.

Thanks,

Marie.
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Post by riviere »

Hi Marie,

You mean to load it in anatomist after it is built ?
Place it (or symlink it) somewhere accessible via the LD_LIBRARY_PATH environment variable, and create a ~/.anatomist/plugins directory on your account and a plugins file ~/.anatomist/plugins/anatomist.plugins indicating your plugin file
Look at the default plugins file in anatomist-main/shared/plugins/anatomist.plugins for the syntax.
If it still doesn't get loaded (and you have recent sources), try running anatomist with the --verbose option to see the error message of the dynamic loader, this may give you some clues about why it failed.

Denis
marie chupin
Posts: 14
Joined: Wed Mar 02, 2005 12:23 pm

error message

Post by marie chupin »

hi,

the module is detected now but I have an error message when I run anatomist with the --verbose option:

Code: Select all

undefined symbol: _ZN15LinearResamplerIsEC1Ev
I don't know where it comes from, as I am using an Anatomist compiled on my pc, with the same gcc and Qt than my module.

Thanks,

Marie.
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Post by riviere »

Are you using any resampler in your module code ?
If not, I guess there was a bug in the sources the day you got them...
try a "ldd -r" on libaimsalgopub to see if the library is incomplete.
Denis
Post Reply