[Insight-users] Problem reading Raw files of different types

Neha D itkneha@yahoo.com
Thu, 27 Feb 2003 18:13:54 -0800 (PST)


--0-72540183-1046398434=:42333
Content-Type: text/plain; charset=us-ascii


Hi All,
Is anybody working on raw image files ? I am trying to use "RawImageReadWrite" example. For a unsigned char images, it works fine. I need to read short type raw ( REAL type ) files ( big-endian ), so I have built this program out of ITK source and in that, I  have defined the image type with short datatype and 2 dimension , program crashes. 
Does anybody have idea about this ? 
Thanks,
Neha
 Robb Brown <brownr@ucalgary.ca> wrote:
I've tried compiling ITK, both the release and CVS versions, on OS X. 
In both cases, I get the following error:

Building shared library 
/Network/Servers/mrc-filer.crha-health.ab.ca/vol/home/brownr/common/ 
development/unstable/Insight1.0b/bin/libVXLNumerics.dylib...
ld: common symbols not allowed with MH_DYLIB output format with the 
-multi_module option
rpoly.o definition of common _global_ (size 4232)
/usr/bin/libtool: internal link edit command failed
make[7]: *** 
[/Network/Servers/mrc-filer.crha-health.ab.ca/vol/home/brownr/common/ 
development/unstable/Insight1.0b/bin/libVXLNumerics.dylib] Error 1
make[6]: *** 
[/Network/Servers/mrc-filer.crha-health.ab.ca/vol/home/brownr/common/ 
development/unstable/Insight1.0b/bin/libVXLNumerics.dylib] Error 2
make[5]: *** 
[/Network/Servers/mrc-filer.crha-health.ab.ca/vol/home/brownr/common/ 
development/unstable/Insight1.0b/bin/libITKCommon.dylib] Error 2
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Numerics] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Code] Error 2
make: *** [default_target] Error 2


This is with CMake 1.65 (release binaries on cmake.org). CVS CMake 
gives errors. I had to set CMake to 1.4 compatibility to get it to 
work with the 1.0 release version of ITK.

I'm using the Dec 2002 release of Apple's developer tools, GCC 3.1.

Any advice would be appreciated. Has anyone looked at making more 
detail available through the dashboard system about some of the 
configuration parameters that result in successful compilation? 
Compiler version, CMake version and even a copy of the CMakeCache.txt 
file would be invaluable.

Thanks,

Robb

_______________________________________________
Insight-users mailing list
Insight-users@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-users


---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--0-72540183-1046398434=:42333
Content-Type: text/html; charset=us-ascii

<P>Hi All,
<P>Is anybody working on raw image files ? I am trying to use "RawImageReadWrite" example. For a unsigned char images, it works fine. I need to read short type raw ( REAL type ) files ( big-endian ), so I have built this program out of ITK source and in that, I&nbsp; have defined the image type with short datatype and 2 dimension&nbsp;, program crashes. 
<P>Does anybody have idea about this ? 
<P>Thanks,
<P>Neha
<P>&nbsp;<B><I>Robb Brown &lt;brownr@ucalgary.ca&gt;</I></B> wrote:
<BLOCKQUOTE style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><BR>I've tried compiling ITK, both the release and CVS versions, on OS X. <BR>In both cases, I get the following error:<BR><BR>Building shared library <BR>/Network/Servers/mrc-filer.crha-health.ab.ca/vol/home/brownr/common/ <BR>development/unstable/Insight1.0b/bin/libVXLNumerics.dylib...<BR>ld: common symbols not allowed with MH_DYLIB output format with the <BR>-multi_module option<BR>rpoly.o definition of common _global_ (size 4232)<BR>/usr/bin/libtool: internal link edit command failed<BR>make[7]: *** <BR>[/Network/Servers/mrc-filer.crha-health.ab.ca/vol/home/brownr/common/ <BR>development/unstable/Insight1.0b/bin/libVXLNumerics.dylib] Error 1<BR>make[6]: *** <BR>[/Network/Servers/mrc-filer.crha-health.ab.ca/vol/home/brownr/common/ <BR>development/unstable/Insight1.0b/bin/libVXLNumerics.dylib] Error 2<BR>make[5]: *** <BR>[/Network/Servers/mrc-filer.crha-health.ab.ca/vol/home/brownr/common/ <BR>development/unstable/Insight1.0b/bin/libITKCommon.dylib] Error 2<BR>make[4]: *** [default_target] Error 2<BR>make[3]: *** [default_target_Numerics] Error 2<BR>make[2]: *** [default_target] Error 2<BR>make[1]: *** [default_target_Code] Error 2<BR>make: *** [default_target] Error 2<BR><BR><BR>This is with CMake 1.65 (release binaries on cmake.org). CVS CMake <BR>gives errors. I had to set CMake to 1.4 compatibility to get it to <BR>work with the 1.0 release version of ITK.<BR><BR>I'm using the Dec 2002 release of Apple's developer tools, GCC 3.1.<BR><BR>Any advice would be appreciated. Has anyone looked at making more <BR>detail available through the dashboard system about some of the <BR>configuration parameters that result in successful compilation? <BR>Compiler version, CMake version and even a copy of the CMakeCache.txt <BR>file would be invaluable.<BR><BR>Thanks,<BR><BR>Robb<BR><BR>_______________________________________________<BR>Insight-users mailing list<BR>Insight-users@public.kitware.com<BR>http://public.kitware.com/mailman/listinfo/insight-users</BLOCKQUOTE><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>
--0-72540183-1046398434=:42333--