andreacremaschi / SpatialDBKit

An Objective-C lightweight spatial RDBMS (based on SQLite/SpatiaLite)
Other
73 stars 67 forks source link

Dependencies are not mentioned #6

Closed robinmacharg closed 10 years ago

robinmacharg commented 10 years ago

Thanks for the hard work. I've had a couple of issues adding SpatialDBKit to my project. I think that the README would benefit from mentioning them.

I had to install autoconf, automake and libtool in order for the cocoapods install to complete successfully. The error messages are sufficient to follow things through, but mentioning it in the install instructions (alongside the cocoapods instructions) may make things smoother. I used MacPorts, i.e. % sudo port install autoconf etc.

I also had to link a couple of additional libraries to get my project to compile:

libiconv.2.4.0.dylib libstdc++.6.0.9.dylib

Others may be required on a vanilla project.

andreacremaschi commented 10 years ago

Thank you robin, this is definitely worth to be added in the README

andreacremaschi commented 10 years ago

As a second thought.. libiconv and libstdc++ should be automatically added to the workspace during the install process.. Which version of ruby are you currently using? Which version of cocoapods?

robinmacharg commented 10 years ago

Hi Andreas,

Robins-MacBook-Pro:SpatialDBKit rmacharg$ ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

I'm on Mountain Lion, developing for iOS7, XCode 5. I'm adding spatialite to an existing cocoa-podded project, and have a bunch of other bits and pieces installed already - restkit, xmllib2 (for KML processing), coreplot, etc.

It's a vehicle telemetry integration app - where's my car? How close to a "dangerous" road was that speeding incident? What's my fuel consumption? etc.

Thanks for the speedy response, BTW!

R

On 20 Dec 2013, at 09:26, Andrea Cremaschi notifications@github.com wrote:

As a second thought.. libiconv and libstdc++ should be automatically added to the workspace during the install process.. Which version of ruby are you currently using?

— Reply to this email directly or view it on GitHub.

andreacremaschi commented 10 years ago

Ok, please check also the cocoapods version: pod --version

andreacremaschi commented 10 years ago

Be aware also of this issue: #7 (sorry about that!)

robinmacharg commented 10 years ago

Robins-MacBook-Pro:SpatialDBKit rmacharg$ pod --version 0.28.0

The Podfile targets 6.0:

platform :ios, '6.0'

On 20 Dec 2013, at 11:01, Andrea Cremaschi notifications@github.com wrote:

Ok, please check also the cocoapods version: pod --version

— Reply to this email directly or view it on GitHub.

andreacremaschi commented 10 years ago

Thanks. CocoaPods version is ok, but ruby is not the newest one. I am not sure maybe the bug is related, this should be checked on a dedicated test machine.

andreacremaschi commented 10 years ago

The autotools part was fixed with the last pod update. icon and stdc++ are correctly added to the linker flag. This can be closed for now