Hi Dave, Good news, I managed to get things to compile with help of your instructions, thank you so much! For future reference here's what I did (pretty much as Dave suggested): - create a stock Cocoa app in Xcode4 using File -> New Project (using ARC) - renamed AppDelegate.m to AppDelegate.mm, import seqan.h - followed the steps Dave outlined to get all forwards: cd seqan-trunk mkdir build; cd build cmake .. -G "Unix Makefiles" make alignment - did one extra make to get the the forwards for build/extras/include that make alignment doesn't create: make alf - in the Xcode build settings added the following User header paths: seqan-trunk/core/include seqan-trunk/extras/include seqan-trunk/build/core/include seqan-trunk/build/extras/include - and activate the Always Search User Paths option to YES that's it. I do get about 100 of these warnings: /Users/mekentosj/molbio/seqan-trunk/core/include/seqan/random/random_mt19937.h:90:16:{90:16-90:33}{90:9-90:15}: warning: implicit conversion loses integer precision: 'MTRand::uint32' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32,3] not sure how we could avoid these? Again, many thanks for the help, the library looks very promising and we're seriously considering using it in one or more future products. To be continued… Alex On Mon, Jan 30, 2012 at 7:22 PM, Alexander Griekspoor <mekentosj@gmail.com> wrote: > That would be great, thanks Dave. > Alex > > On Mon, Jan 30, 2012 at 7:20 PM, Weese, David <weese@campus.fu-berlin.de> wrote: >> Ah, you are using the release version of Seqan. That would explain some issues, as I had to rename some identifiers, e.g. id, before Seqan could be used with Objective C. These diffs are not released yet so I suggest you to use the svn trunk for now. The diffs are: >> >> http://trac.seqan.de/search?q=objective+c >> >> I can send you my xcode.app file tomorrow after it tested it under Lion. >> >> Dave >> >> Am 30.01.2012 um 20:04 schrieb Alexander Griekspoor: >> >>> Hi David, >>> >>> No, I have created a plain vanilla project using File -> New Project, >>> then added the headers from the 1.3 release download. I wanted to >>> avoid having to use CMake or the Xcode project it produces that >>> contains all the 136 seqAn targets. I figured it should be one of the >>> build settings. Would you or anyone have an example Xcode project that >>> is setup in the way I described or an Xcode project that works for >>> comparison purposes? >>> Many thanks, >>> Alex >>> >>> On Mon, Jan 30, 2012 at 6:25 PM, Weese, David <weese@campus.fu-berlin.de> wrote: >>>> Hi Alex, >>>> >>>> I have no explanation for these errors. Have you created your Xcode project with CMake? This should compile flawlessly on OS X Lion with LLVM 3.0 and also GCC 4.2. Maybe you do and compare the compilation fags of the two project files. >>>> >>>> You can ignore the wiki page you have found. It describes how to use LLVM 3.0 under Snow Leopard. >>>> >>>> Regards, >>>> David >>>> >>>> Am 30.01.2012 um 00:48 schrieb Alexander Griekspoor: >>>> >>>>> To follow up on my last email, the warnings shown while building with >>>>> the LLVM/GCC4.2 compiler setting. If I try with the LLVM3.0 option >>>>> (which would be preferred I guess) I get the following errors: >>>>> >>>>> https://mekentosj-private.s3.amazonaws.com/seqan3.png >>>>> https://mekentosj-private.s3.amazonaws.com/seqan4.png >>>>> >>>>> it seems to struggle over the same file/lines. >>>>> >>>>> I did see this article: >>>>> >>>>> http://trac.seqan.de/wiki/HowTo/UseLatestClangInXcode#HowTo:UsethelatestLLVMClanginXcode >>>>> >>>>> but it seems outdates since Xcode moved to LLVM 3.0 with C++ support >>>>> in the mean time. >>>>> Hope you have a way to get things going. >>>>> Alex >>>>> >>>>> On Sun, Jan 29, 2012 at 11:37 PM, Alexander Griekspoor >>>>> <mekentosj@gmail.com> wrote: >>>>>> Hi everybody, >>>>>> >>>>>> We're currently evaluating whether to use seqan in one or more of our >>>>>> projects, at first glance it looks awesome! >>>>>> I'm trying to get it to work in a stock Cocoa application Xcode >>>>>> project but am bumping into a number of errors being spit out. >>>>>> I'd ideally like to use it in a 32/64bit universal app. >>>>>> >>>>>> Two screenshots: >>>>>> https://mekentosj-private.s3.amazonaws.com/seqan1.png >>>>>> https://mekentosj-private.s3.amazonaws.com/seqan2.png >>>>>> >>>>>> And the simple test app: >>>>>> https://mekentosj-private.s3.amazonaws.com/SeqanTest.zip >>>>>> >>>>>> Any clues how to set this up? >>>>>> Many thanks! >>>>>> Alex >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> **************************************************** >>>>>> ** Alexander Griekspoor PhD ** >>>>>> **************************************************** >>>>>> mekentosj.com >>>>>> >>>>>> Papers - Your Personal Library of Science >>>>>> Winner of the Apple Design Awards >>>>>> Best Mac OS X Scientific Solution >>>>>> http://mekentosj.com/papers >>>>>> >>>>>> Papers for iPad - all your papers >>>>>> available wherever you go: >>>>>> http://mekentosj.com/papers/ipad >>>>>> **************************************************** >>>>> >>>>> >>>>> >>>>> -- >>>>> **************************************************** >>>>> ** Alexander Griekspoor PhD ** >>>>> **************************************************** >>>>> mekentosj.com >>>>> >>>>> Papers - Your Personal Library of Science >>>>> Winner of the Apple Design Awards >>>>> Best Mac OS X Scientific Solution >>>>> http://mekentosj.com/papers >>>>> >>>>> Papers for iPad - all your papers >>>>> available wherever you go: >>>>> http://mekentosj.com/papers/ipad >>>>> **************************************************** >>>>> >>>>> _______________________________________________ >>>>> seqan-dev mailing list >>>>> seqan-dev@lists.fu-berlin.de >>>>> https://lists.fu-berlin.de/listinfo/seqan-dev >>>> >>>> >>>> _______________________________________________ >>>> seqan-dev mailing list >>>> seqan-dev@lists.fu-berlin.de >>>> https://lists.fu-berlin.de/listinfo/seqan-dev >>> >>> >>> >>> -- >>> **************************************************** >>> ** Alexander Griekspoor PhD ** >>> **************************************************** >>> mekentosj.com >>> >>> Papers - Your Personal Library of Science >>> Winner of the Apple Design Awards >>> Best Mac OS X Scientific Solution >>> http://mekentosj.com/papers >>> >>> Papers for iPad - all your papers >>> available wherever you go: >>> http://mekentosj.com/papers/ipad >>> **************************************************** >>> >>> _______________________________________________ >>> seqan-dev mailing list >>> seqan-dev@lists.fu-berlin.de >>> https://lists.fu-berlin.de/listinfo/seqan-dev >> >> >> _______________________________________________ >> seqan-dev mailing list >> seqan-dev@lists.fu-berlin.de >> https://lists.fu-berlin.de/listinfo/seqan-dev > > > > -- > **************************************************** > ** Alexander Griekspoor PhD ** > **************************************************** > mekentosj.com > > Papers - Your Personal Library of Science > Winner of the Apple Design Awards > Best Mac OS X Scientific Solution > http://mekentosj.com/papers > > Papers for iPad - all your papers > available wherever you go: > http://mekentosj.com/papers/ipad > **************************************************** -- **************************************************** ** Alexander Griekspoor PhD ** **************************************************** mekentosj.com Papers - Your Personal Library of Science Winner of the Apple Design Awards Best Mac OS X Scientific Solution http://mekentosj.com/papers Papers for iPad - all your papers available wherever you go: http://mekentosj.com/papers/ipad ****************************************************