[Insight-developers] calling itk from IDL
海明 张
zhanghaiming54 at hotmail.com
Thu Jun 10 04:28:28 EDT 2010
hi fellows,
I am trying to call itk from IDL. What I did is first generate a .dll share library from itk and then call this .dll from IDL. I tried \Examples\Registration\ImageRegistration1.cxx. In the CMakeLists.txt, I deleted unwanted commonds and change "ADD_EXECUTABLE()" to "ADD_LIBRARY(ImageRegistration1 SHARED ImageRegistration1.cxx). The cmake process did not give any error and I got a dll file. However, when I called the dll file from IDL an error message occured "Program caused arithmetic error: Floating underflow".
Anyone familar with "calling itk from IDL" or know "how to generate dll from itk and call the dll from IDL"? Please help me figure this out. Thanks.
Hai Ming
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100610/8375d85d/attachment.htm>
More information about the Insight-developers
mailing list