[Insight-developers] can't build ITK with xcode and cmake 2.4.3
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Thu Nov 2 04:39:57 EST 2006
On Fri, 27 Oct 2006 16:19:50 +0200, Bill Hoffman
<bill.hoffman at kitware.com> wrote:
> Gaëtan Lehmann wrote:
>>
>> I can't succeed to build itk with xcode.
>> It works with make.
>> Any idea ?
>>
>>
>> [glehmann at gbook build-xcode]$ cmake -G Xcode ..
>> -- Check for working C compiler: gcc
>>
>> <snip>
>>
>> -- Checking for struct tms - found
>> -- Checking for clock_t
>> -- Checking for clock_t - found
>> running /bin/sh
>> "/Users/glehmann/src/Insight/Utilities/CableSwig/GCC/config_cmake/gcc_platform.sh"
>> "/Users/glehmann/src/Insight/build-xcode/Utilities/CableSwig/GCC/config_cmake/gcc_platform.cmake"
>> "/usr/bin/cmake" 2>&1
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to:
>> /Users/glehmann/src/Insight/build-xcode
>> [glehmann at gbook build-xcode]$ xcodebuild
>> 2006-10-27 13:21:54.717 xcodebuild[12222] CFLog (0):
>> CFPropertyListCreateFromXMLData(): Old-style plist parser: missing
>> semicolon in dictionary.
>> 2006-10-27 13:21:54.719 xcodebuild[12222] CFLog (0):
>> CFPropertyListCreateFromXMLData(): The file name for this data might be
>> (or it might not):
>> /Users/glehmann/src/Insight/build-xcode/ITK.xcodeproj/project.pbxproj
>> 2006-10-27 13:21:54.735 xcodebuild[12222] XML parser error:
>> Unexpected character / at line 1
>> Old-style plist parser error:
>> Missing ';' on line 5284
>> xcodebuild: Error: couldn't load project
>> /Users/glehmann/src/Insight/build-xcode/ITK.xcodeproj
>> [glehmann at gbook build-xcode]$ cmake --version
>> cmake version 2.4-patch 3
>> [glehmann at gbook build-xcode]$ xcodebuild -version
>> Component versions: DevToolsCore-747.0; DevToolsSupport-733.0
> What is in the file
> /Users/glehmann/src/Insight/build-xcode/ITK.xcodeproj/project.pbxproj?
> It looks like it has a parse error on the very first line.
>
Hi Bill,
Sorry, I missed your mail last friday.
The file is quite big, so I give only the first lines:
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {
/* Begin PBXAggregateTarget section */
2B6BD302B6BD302B6BD30000 /* ALL_BUILD */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 2B6D4502B6D4502B6D450000 /*
Build configuration list for PBXAggregateTarget "ALL_BUILD" */;
buildPhases = (
2B6BFA02B6BFA02B6BFA0000 /* CMake ReRun */,
2B6C8B02B6C8B02B6C8B0000 /* CMake PostBuild
Rules */,
);
buildSettings = {
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS =
"CMAKE_INTDIR=\\\"$(CONFIGURATION)\\\"";
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
HEADER_SEARCH_PATHS =
"/Users/glehmann/src/Insight/build-xcode
/Users/glehmann/src/Insight/Code/Algorithms /Users/glehmann/src/
Insight/Code/BasicFilters /Users/glehmann/src/Insight/Code/Common
/Users/glehmann/src/Insight/Code/Numerics
/Users/glehmann/src/Insight/Code/IO /Users/gleh
mann/src/Insight/Code/Numerics/FEM
/Users/glehmann/src/Insight/Code/Numerics/Statistics
/Users/glehmann/src/Insight/Code/Numerics/NeuralNetworks /Users/gle
hmann/src/Insight/Code/SpatialObject
/Users/glehmann/src/Insight/Utilities/MetaIO
/Users/glehmann/src/Insight/Utilities/NrrdIO /Users/glehmann/src/Insight/
Utilities/DICOMParser
/Users/glehmann/src/Insight/build-xcode/Utilities/DICOMParser
/Users/glehmann/src/Insight/build-xcode/Utilities/expat /Users/glehmann
/src/Insight/Utilities/expat
/Users/glehmann/src/Insight/Utilities/nifti/niftilib
/Users/glehmann/src/Insight/Utilities/nifti/znzlib /Users/glehmann/src/In
sight/Utilities/itkExtHdrs
/Users/glehmann/src/Insight/build-xcode/Utilities
/Users/glehmann/src/Insight/Utilities
/Users/glehmann/src/Insight/build-xcode/
Code/Common /Users/glehmann/src/Insight/Utilities/vxl/vcl
/Users/glehmann/src/Insight/Utilities/vxl/core
/Users/glehmann/src/Insight/build-xcode/Utilities/
vxl/vcl /Users/glehmann/src/Insight/build-xcode/Utilities/vxl/core
/Users/glehmann/src/Insight/build-xcode/Utilities/gdcm
/Users/glehmann/src/Insight/Utili
ties/gdcm/src /Users/glehmann/src/Insight/Utilities/vxl/v3p/netlib ";
INSTALL_PATH = "";
OPTIMIZATION_CFLAGS = "";
OTHER_CFLAGS = " ";
OTHER_LDFLAGS = "";
OTHER_REZFLAGS = "";
PREBINDING = NO;
PRODUCT_NAME = ALL_BUILD;
SECTORDER_FLAGS = "";
USE_HEADERMAP = NO;
WARNING_CFLAGS = "-Wmost
-Wno-four-char-constants -Wno-unknown-pragmas";
};
Do you know what is wrong ?
Thanks,
Gaetan
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
More information about the Insight-developers
mailing list