On 2010-02-21, at 9:50 PM, Adam R. Maxwell wrote:
>
> On Feb 21, 2010, at 6:35 PM, Philippe Sismondi wrote:
>
>> I am quite new to both xcode and subversion, so please bear with me as I
>> learn.
>>
>> I checked out the skim app trunk and tried to build it. This did not
>> succeed; I spent quite a bit of time trying to figure out why.
>>
>> Eventually I checked out the trunk again and it built fine.
>>
>> The difference was that the first time my checked out version was here:
>>
>> /Users/Philippe/software/skim-app (this failed to build)
>>
>> whereas the second time the checked out version was here:
>>
>> /Users/Philippe/skim-app (this worked)
>>
>> In other words, the success of the build seems to depend on the project
>> directory's location being right under my home directory.
>
> Without seeing the failure messages in the build transcript, there's no way
> to know what went wrong. However, I have skim sources in ~/build/skim and
> it's always worked fine, so it certainly doesn't have to be under your home
> directory.
Ok. I'll start with the first error. It seems to be having a problem finding a
header file. This build is of Skim as checked out, i.e. I have done no changes
to anything. As I said, it does not do this when I build the version just under
my home directory. Here is the transcript:
CompileC
build/SkimImporter.build/Debug/SkimImporter.build/Objects-normal/i386/GetMetadataForFile.o
GetMetadataForFile.m normal i386 objective-c com.apple.compilers.gcc.4_2
cd "/Users/David/Software Development/Skim-app/trunk/SkimImporter"
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe
-Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wmissing-braces
-Wunused-variable -Wsign-compare -DDEBUG -isysroot
/Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5
-gdwarf-2 -iquote "/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/SkimImporter.build/Debug/SkimImporter.build/SkimImporter-generated-files.hmap"
"-I/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/SkimImporter.build/Debug/SkimImporter.build/SkimImporter-own-target-headers.hmap"
"-I/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/SkimImporter.build/Debug/SkimImporter.build/SkimImporter-all-target-headers.hmap"
-iquote "/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/SkimImporter.build/Debug/SkimImporter.build/SkimImporter-project-headers.hmap"
-Wfloat-equal "-F/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/Debug" -F/Users/David/Software
-FDevelopment/Skim-app/trunk/SkimImporter/../SkimNotes/build/Debug
"-I/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/Debug/include"
"-I/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/SkimImporter.build/Debug/SkimImporter.build/DerivedSources/i386"
"-I/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/SkimImporter.build/Debug/SkimImporter.build/DerivedSources"
-c "/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m" -o
"/Users/David/Software
Development/Skim-app/trunk/SkimImporter/build/SkimImporter.build/Debug/SkimImporter.build/Objects-normal/i386/GetMetadataForFile.o"
/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m:43:40: error:
SkimNotesBase/SkimNotesBase.h: No such file or directory
/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m: In function
'GetMetadataForFile':
/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m:91: warning:
'NSFileManager' may not respond to '-readSkimNotesFromSkimFileAtURL:error:'
/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m:91: warning:
(Messages without a matching method signature
/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m:91: warning: will
be assumed to return 'id' and accept
/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m:91: warning: '...'
as arguments.)
/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m:94: warning:
'NSFileManager' may not respond to '-readSkimNotesFromPDFBundleAtURL:error:'
/Users/David/Software
Development/Skim-app/trunk/SkimImporter/GetMetadataForFile.m:101: warning:
'NSFileManager' may not respond to
'-bundledFileWithExtension:inPDFBundleAtPath:error:'
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
skim-app-develop mailing list
skim-app-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-develop