Re: [Seqan-dev] Using seqan in stock Xcode project
Hi again,
I forgot to mention that in general it is possible to use SeqAn in a Cocoa application. I successfully created a (very) simple SAM Viewer for Mac OS X that allows you to scroll through a multiple read alignment. It simply was a proof of concept.
I started with a fresh Cocoa application and added the core/include and extras/include paths. It is also necessary to let cmake create these ..._generated_forwards.h headers. This can be done by creating a makefile (or Xcode) project with cmake and compile an arbitrary app, e.g. make alignment (see "Getting started" in the Wiki). The forwards are generated in core/include and extras/include below the CMakeCache.txt directory and needs to be added to the GCC search path also. For me the include paths are:
seqan-trunk/core/include/
seqan-trunk/extras/include/
seqan-trunk/build/core/include/
seqan-trunk/build/extras/include/
were created forwards via:
cd seqan-trunk
mkdir build; cd build
cmake .. -G "Unix Makefiles"
make alignment
I just tried to recompile my Cocoa app and it works flawlessly under Snow Leopard, GCC 4.2 and the svn trunk. Tomorrow I check whether it works under Lion also.
Hope that helps.
Cheers,
Dave
Am 30.01.2012 um 00:37 schrieb Alexander Griekspoor:
> 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
> ****************************************************
>
> _______________________________________________
> seqan-dev mailing list
> seqan-dev@lists.fu-berlin.de
> https://lists.fu-berlin.de/listinfo/seqan-dev