[Insight-users] Cocoa app with ITK, VTK to read DICOM file
Max Putrik
pmb-88 at mail.ru
Fri Aug 12 00:14:55 EDT 2011
I thought a file .cxx will be in the folder SimpleCocoaVTK and this file will
be included in project.
I have Xcode 3.2.6 and Mac OS X 10.6.8 I tried to set different SDK and
deployment target from 10.4 to 10.6, I have used all variants, but this
SimpleCocoaVTK does not want to work, also I tried to change gcc from 4.2 to
4.0 - no result... and in SimpleCocoaVTK file "info.plist" is highlighted in
red color.
full message of mistake is:
Undefined symbols:
"_fopen$UNIX2003", referenced from:
vtkJPEGReader::CanReadFile(char const*)in libvtkIO.a(vtkJPEGReader.o)
vtkJPEGReader::ExecuteInformation() in
libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<double>(vtkJPEGReader*, double*, int*, int*,
long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<float>(vtkJPEGReader*, float*, int*, int*,
long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<long long>(vtkJPEGReader*, long long*, int*,
int*, long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<unsigned long long>(vtkJPEGReader*,
unsigned long long*, int*, int*, long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<long>(vtkJPEGReader*, long*, int*, int*,
long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<unsigned long>(vtkJPEGReader*, unsigned
long*, int*, int*, long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<int>(vtkJPEGReader*, int*, int*, int*,
long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<unsigned int>(vtkJPEGReader*, unsigned int*,
int*, int*, long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<short>(vtkJPEGReader*, short*, int*, int*,
long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<unsigned short>(vtkJPEGReader*, unsigned
short*, int*, int*, long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<char>(vtkJPEGReader*, char*, int*, int*,
long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<signed char>(vtkJPEGReader*, signed char*,
int*, int*, long)in libvtkIO.a(vtkJPEGReader.o)
int vtkJPEGReaderUpdate2<unsigned char>(vtkJPEGReader*, unsigned
char*, int*, int*, long)in libvtkIO.a(vtkJPEGReader.o)
vtkPNGReader::CanReadFile(char const*)in libvtkIO.a(vtkPNGReader.o)
vtkPNGReader::ExecuteInformation() in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<double>(vtkPNGReader*, double*, int*, int*,
long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<float>(vtkPNGReader*, float*, int*, int*,
long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<long long>(vtkPNGReader*, long long*, int*,
int*, long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<unsigned long long>(vtkPNGReader*,
unsigned long long*, int*, int*, long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<long>(vtkPNGReader*, long*, int*, int*,
long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<unsigned long>(vtkPNGReader*, unsigned long*,
int*, int*, long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<int>(vtkPNGReader*, int*, int*, int*, long)in
libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<unsigned int>(vtkPNGReader*, unsigned int*,
int*, int*, long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<short>(vtkPNGReader*, short*, int*, int*,
long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<unsigned short>(vtkPNGReader*, unsigned
short*, int*, int*, long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<char>(vtkPNGReader*, char*, int*, int*,
long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<signed char>(vtkPNGReader*, signed char*,
int*, int*, long)in libvtkIO.a(vtkPNGReader.o)
void vtkPNGReaderUpdate2<unsigned char>(vtkPNGReader*, unsigned char*,
int*, int*, long)in libvtkIO.a(vtkPNGReader.o)
vtksys::SystemTools::DetectFileType(char const*, unsigned long,
double)in libvtksys.a(SystemTools.o)
vtksys::SystemTools::FileHasSignature(char const*, char const*,
long)in libvtksys.a(SystemTools.o)
vtksys::SystemTools::Touch(char const*, bool)in
libvtksys.a(SystemTools.o)
vtkBMPReader::CanReadFile(char const*)in libvtkIO.a(vtkBMPReader.o)
vtkBMPReader::ExecuteInformation() in libvtkIO.a(vtkBMPReader.o)
vtkPNMReader::CanReadFile(char const*)in libvtkIO.a(vtkPNMReader.o)
vtkPNMReader::ExecuteInformation() in libvtkIO.a(vtkPNMReader.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
Sean McBride wrote:
>
> On Thu, 11 Aug 2011 01:35:46 -0700, Max Putrik said:
>
>>I tried to use SimpleCocoaVTK but there is no file .cxx in the folder
>
> True, there are no .cxx files. Why do you expect any? You can add your
> own code to expand the sample.
>
>>SimpleCocoaVTK and this project does not work - 1 error appears
>>"_fopen$UNIX2003", referenced from: [a lot of files ] ld: symbol(s) not
>>found... I changed SDK from 10.4 to 10.6 and nothing helps, so I don't
know
>>for what reason, maybe there is a conflict between VTK, ITK, Xcode and Mac
>>OS..
>
> Which version of Mac OS and Xcode are you using? What SDK and deployment
> target did you choose?
>
> Sean
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.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
>
--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Cocoa-app-with-ITK-VTK-to-read-DICOM-file-tp6671082p6679140.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list