Giter VIP home page Giter VIP logo

projections-ios's Issues

build fail:PROJCRSParser.h:9:9: fatal error: 'proj_api.h' file not found

Version Information:

  • Projections iOS Version: 1.0.5
  • Projections iOS Source: CocoaPods
  • CocoaPods Version:1.11.3
  • Xcode Version:14.2.0
  • Device or Emulator:
  • iOS Version:
  • Other Relevant Libraries:

brew install automake
brew install libtool
pod repo update
pod install

xcodebuild -workspace 'proj-ios.xcworkspace' -scheme proj-ios build

proj-ios/PROJCRSParser.h:9:9: fatal error: 'proj_api.h' file not found
#import "proj_api.h"
^~~~~~~~~~~~
1 error generated.

** BUILD FAILED **

Build Failed

I'm not able to build the project after installing proj-ios version 2.0.2

Version Information:

  • Projections iOS Version: 2.0.2
  • Projections iOS Source: CocoaPods
  • CocoaPods Version: 1.14.3
  • Xcode Version: 15.3
  • Device or Emulator: Emulator
  • iOS Version: 17.4
  • Other Relevant Libraries:

Expected Results:

  • Build successfully

Observed Results:

  • Build failed

Output:

Screenshot 2024-03-22 at 10 09 15 Screenshot 2024-03-22 at 10 09 36 Screenshot 2024-03-22 at 10 09 47

Documentation for build dependencies

Thanks for this project!

The Pod requires GNU build dependencies to install, namely aclocal, autoheader and libtoolize:

Installing crs-ios (1.0.4)
Installing proj-ios (1.0.4)
Installing proj4-ios (4.9.3)
[!] /bin/bash -c 
set -e
./autogen.sh
./configure

Running aclocal

  Something went wrong, giving up!

./autogen.sh: line 29: aclocal: command not found

I installed them using Homebrew (suitably neutered to prevent it breaking stuff as per):

HOMEBREW_NO_AUTO_UPDATE=1 brew install --build-from-source automake libtool

and the Pod then built successfully. It would be good to mention these dependencies in the README.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.