jackyglony / spatialite-android

Automatically exported from code.google.com/p/spatialite-android
0 stars 0 forks source link

Cannot compile cause by "proj_api.h was not found" #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I try to compile spatialite-android with top page's procedure.
  I did it on Mac Mountain Lion, so sure to change geos/platform.h as described in issue 5.
2. In spatialite configure, console says "checking proj_api.h presence... no".
3. I try to set "CPPFLAGS=-I/fullpath/to/spatialite-android/proj-4.8.0/src/", 
then proj_api.h error is solved.
  But another error occurs, 
  " checking for library containing pj_init_plus... no "
  " configure: error: 'libproj' is required but it doesn't seem to be installed on this system. "

What is the expected output? What do you see instead?

* I want to defeat these errors and making success to compile.

What version of the product are you using? On what operating system?

* Mac Mountain lion.
* ndk version is r8d

Please provide any additional information below.

Original issue reported on code.google.com by kochizu...@gmail.com on 1 Dec 2013 at 7:27