[Insight-developers] SimpleITK - Lua on Snow Lepard

Daniel Blezek Blezek.Daniel at mayo.edu
Tue Mar 22 15:43:46 EDT 2011


Ah, yes, the Snow Lepard swig is very old.  We should add a test for SWIG 2
in the CMake configuration.  I may have inadvertently used some 2.x
features.

-dan


On 3/22/11 11:00 AM, "Bradley Lowekamp" <blowekamp at mail.nih.gov> wrote:

> Dan,
> 
> I have also had several other error with TCL, and Ruby. I think the problem is
> with swig 1.3 that comes with Snow Lepoard. I upgraded to swig 2.0.2, and
> everything went away.
> 
> I am thinking that SimpleITK may just require swig 2.0.x+.
> 
> Brad
> 
> On Mar 22, 2011, at 11:48 AM, Daniel Blezek wrote:
> 
>> Brad,
>> 
>>   Can you make this a Jira issue?
>> 
>> Thanks,
>> -dan
>> 
>> 
>> On 3/21/11 8:37 AM, "Bradley Lowekamp" <blowekamp at mail.nih.gov
>> <x-msg://38/blowekamp@mail.nih.gov> > wrote:
>> 
>>> Dan,
>>> 
>>> I have always gotten the following error when I turn on wrapping for Lua on
>>> my macs:
>>> 
>>> /build/SimpleITK/Wrapping/SimpleITKLUA_wrap.cxx:711:20: error: malloc.h: No
>>> such file or directory
>>> 
>>> Now, I can hack the file to refer to stdlib.h, or hack:
>>> 
>>> /usr/share/swig/1.3.31/lua/luarun.swg
>>> 
>>> to include the same. But these are both hacks in a bad way. I see that you
>>> are wrapping Lua on you dashboard machines. Are you using the same version
>>> of swig that comes with the OS, or a more recent version?
>>> 
>>> I also get some funky error when trying to wrap for TCL as well.
>>> 
>>> Brad
>>> 
>>> 
>>> ========================================================
>>> 
>>> Bradley Lowekamp
>>> 
>>> Lockheed Martin Contractor for
>>> 
>>> Office of High Performance Computing and Communications
>>> 
>>> National Library of Medicine
>>> 
>>> blowekamp at mail.nih.gov <x-msg://38/blowekamp@mail.nih.gov>
>>> 
>>> 

-- 
Daniel Blezek, PhD
Medical Imaging Informatics Innovation Center

P 127 or (77) 8 8886
T 507 538 8886
E blezek.daniel at mayo.edu

Mayo Clinic
200 First St. S.W.
Harwick SL-44
Rochester, MN 55905
mayoclinic.org
"It is more complicated than you think." -- RFC 1925

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110322/4f1bb0dd/attachment.htm>


More information about the Insight-developers mailing list