[Insight-users] rootcint and ITK
Oleksandr Dzyubak
adzyubak at gmail.com
Fri Apr 3 10:15:05 EDT 2009
Hi Niccolo,
It is not I am discouraging you but just some thoughts.
1) Even though CINT was written in C++, it's still 'interpreter' for C
and C++
which "covers most of ANSI C and ISO C++." Last time I dug into that it
was about 90% or so.
I do not remember exact number but you may want to contact
Masahary Goto (gotom at hanno.jp) for details.
2) CINT was developed by CERN and Fermilab teams for ROOT (based on CERNLIB)
framework to mainly support simulations in Nuclear and Particle Physics.
As such, the main purpose and specifics of CINT are to be a perfect
handy tool
for nuclear Physicists (detector simulations, particle interactions,
data acquisition, etc.).
3) CINT was not meant to be a compiler (actually interpreter)
with full ANSI C++ support (as it was done in ITK/VTK).
A new version of CINT claims to provide better support but still I am
not sure
what that 'better' means. Are you ready to fill the gap?
4) I do not know your ultimate goal but as far as I remember (at least
in ROOT),
it was possible to compile your code with external compiler and then
make a dynamic call from ROOT. It might create some headache but again
you might want to contact people from Fermilab who have huge experience
in doing that.
Good luck,
Alex
niccolo.camarlinghi at pi.infn.it wrote:
> Dear all,
>
> I'm trying to integrate (without success) itk in the root framework
> (root.cern.ch).
> This consists in building a root dictionary of itk classes using
> rootcint (c/c++ interpreter based on cint), in this way i should be able
> to load, in root, itk classes at runtime.
> For some reason the build of the dictionary fails because rootcint
> doesn't recognize some syntax inside the classes (maybe i'm doing
> something wrong) .
>
> Is there anyone who has already done this ? In principle is possible to
> achieve this goal or am i trying to do something of nonsense ?
>
>
> Many thanks
>
> Niccolo' Camarlinghi
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list