[sword-devel] bindings/objc build broken

Manfred Bergmann manfred.bergmann at me.com
Wed Apr 24 03:42:30 MST 2013


Hello.

AFAIR you were able to built it in January this year when there was the last discussion about this.
Does the Xcode project not work anymore?
Unfortunately I think I haven't yet updated the README file as you suggested in your mail from January below.


Manfred


> Ok, everything built. (Hooray!)
> 
> I recommend updating bindings/objc/README to the following.
> 
> Building ObjCSword wrapper framework howto
> ==========================================
> 
> Mac OS X target:
> This project can only be built on OS X 10.8 (Mountain Lion) or later.
> 
> To build for Mac OS X:
> 
> 1) Change to the dependencies directory.
> 2) Run retrieve.sh. This downloads the icu and clucene sources and headers which are required for the Xcode build.
> 
> To build from inside Xcode double-click the ObjCSword.xcodeproj in Finder. This opens Xcode and loads the Sword Project. Press <Command> + B to build (or select Build from the Product menu).
> 
> To build from the command line, enter xcodebuild -project ./ObjCSword.xcodeproj.
> 
> 
> +++++++++++++
> 
> How can I reference this new ObjCSword in another project?
> 
> Thanks so much for your help Manfred.
> 
> Jeff



Am 23.01.2013 um 06:34 schrieb Jeff Barnes <jbarnesweb at yahoo.com>:

> Did a fresh checkout of https://crosswire.org/svn/sword/trunk. Changed to bindings/objc.
> 
> 1) The bindings/objc/README instructions are inaccurate. There is no Makefile in build_sword.
> 2) The build breaks in build_sword/build_mac_sword.sh.
> 
> $ cd build_clucene
> 
> $ make release-fat
> ...
> looks like successful build for 3 platforms
> 
> $ cd ../build_sword
> $ ./build_mac_sword.sh -a fat -c
> 
> ...
> 
> ./configure: line 15671: syntax error near unexpected token `CLUCENE2,'
> ./configure: line 15671: `PKG_CHECK_MODULES(CLUCENE2, libclucene-core >= 2.3,,true)'
> 
> $ pkg-config --cflags --libs libclucene-core
> -I/usr/local/include -I/usr/local/include/CLucene/ext  -L/usr/local/lib/ -lclucene-core
> 
> $ which pkg-config
> /usr/bin/pkg-config
> 
>   System Version:Mac OS X 10.6.8 (10K549)
> ...
>   Model Name:MacBook Pro
>   Model Identifier:MacBookPro6,2
>   Processor Name:Intel Core i5
>  
> Any help appreciated.
> 
> Jeff
> 
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list