[Insight-users] Anyone built ITK + Java bindings on OS X?
Mike Jackson
mike.jackson at imts.us
Mon Jan 22 21:45:51 EST 2007
One thing that I noticed on my build is that I am actually building
ITK 2.8.1 instead of ITK 3.0. How I got it all to compile is to pull
down the latest CableSwig from CVS today into the Utilities folder in
the ITK Directory. I ran ccmake and chose to have Java bindings. I
configured and compiled ITK 2.8.1 with java bindings just fine. I
have not run any tests though. Compiling was the first hurdle to get
over.
Cheers
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Jan 22, 2007, at 5:24 PM, Blair Cruz wrote:
> If a do a check out of the latest CableSwig, I get the following
> error:
> CMake Error: Cannot find gcc_platform.cmake.
>
> I found a thread regarding this here:
> http://public.kitware.com/pipermail/insight-users/2004-February/
> 007061.html
>
> I followed the recommended solution, however it still get the same
> error.
>
> I can build CableSwig 3.0 successfully with CMake however I still get
> the same errors from xcodebuild when opening the project. Id ask to
> try your CableSwig binaries but you're on a Intel chipset. I'm on the
> powerbook.
>
> I upgraded to OS X 10.4.8 and I'm on Xcode 2.4.1
>
> I'm confident that I can build ITK once I get a compiled CableSwig.
>
> Thanks very much for the help on this.
>
> Thanks,
> Blair Cruz
>
> On 1/22/07, Mike Jackson <mike.jackson at imts.us> wrote:
>> OK,
>> I just checked out CableSwig from CVS (this morning, about 10:00
>> AM EST) and built it using the default cmake values. It built clean
>> with out any errors.
>>
>> The file that your build could not find should be located in the
>> following location in the CableSwig Build directory:
>> ./Cable/Expat/expatConfig.h
>>
>> if it is NOT there then there is something else going wrong.
>>
>> Also, I have noticed that you are on OS X 10.4.6. Is there a reason
>> for not running 10.4.8? Could you update and try again. Also are you
>> running the latest version of the Xcode IDE? The latest is 2.4.1 from
>> developer.apple.com. If you are not running the latest can you
>> update? Those are the major differences between your system and mine,
>> besides the PPC/Intel thing..
>>
>> I'll try and build ITK with java wrappings and report back..
>>
>>
>> --
>> Mike Jackson Senior Research Engineer
>> Innovative Management & Technology Services
>>
>>
>> On Jan 21, 2007, at 8:22 PM, Blair Cruz wrote:
>>
>> > If I build CableSwig alone for make, I get the following error from
>> > make:
>> > -----------------
>> > /Users/jannettdean/Desktop/JC_Stuff/CableSwig-ITK-3.0.0/Cable/
>> Expat/
>> > xmlparse.c:6:25:
>> > error: expatConfig.h: No such file or directory
>> > /Users/jannettdean/Desktop/JC_Stuff/CableSwig-ITK-3.0.0/Cable/
>> Expat/
>> > xmlparse.c:
>> > In function 'XML_ExpatVersion':
>> > /Users/jannettdean/Desktop/JC_Stuff/CableSwig-ITK-3.0.0/Cable/
>> Expat/
>> > xmlparse.c:1311:
>> > error: 'VERSION' undeclared (first use in this function)
>> > /Users/jannettdean/Desktop/JC_Stuff/CableSwig-ITK-3.0.0/Cable/
>> Expat/
>> > xmlparse.c:1311:
>> > error: (Each undeclared identifier is reported only once
>> > /Users/jannettdean/Desktop/JC_Stuff/CableSwig-ITK-3.0.0/Cable/
>> Expat/
>> > xmlparse.c:1311:
>> > error: for each function it appears in.)
>> > make[2]: *** [Cable/Expat/CMakeFiles/CableExpat.dir/xmlparse.o]
>> > Error 1
>> > make[1]: *** [Cable/Expat/CMakeFiles/CableExpat.dir/all] Error 2
>> > make: *** [all] Error 2
>> > -----------------
>>
>>
>>
More information about the Insight-users
mailing list