SpatiaLite: With libproj? compile time errorWhy would one want to compile multiple .cpp files to the same...

Why did Nick Fury not hesitate in blowing up the plane he thought was carrying a nuke?

How to tease a romance without a cat and mouse chase?

Hotel booking: Why is Agoda much cheaper than booking.com?

Department head said that group project may be rejected. How to mitigate?

tikz: 5 squares on a row, roman numbered 1 -> 5

How to safely discharge oneself

How to play vs. 1.e4 e5 2.Nf3 Nc6 3.Bc4 d6?

What should I wear to go and sign an employment contract?

Why is there no current between two capacitors connected in series?

Filter a file list against an integer array?

Can dirty bird feeders make birds sick?

If the Charles SSL Proxy shows me sensitive data, is that data insecure/exposed?

Best practice for printing and evaluating formulas with the minimal coding

Expand a hexagon

How did Jean Parisot de Valette, 49th Grand Master of the Order of Malta, die?

Why "strap-on" boosters, and how do other people say it?

Good examples of "two is easy, three is hard" in computational sciences

Way of refund if scammed?

Is there any mention of ghosts who live outside the Hogwarts castle?

Salesforce bug enabled "Modify All"

What to call a small, open stone or cement reservoir that supplies fresh water from a spring or other natural source?

How to use Screen Sharing if I don't know the remote Mac's IP address

Farthing / Riding

Mikrokosmos, BB 105, Vol. 1: No. 17 Contrary Motion (1) - Can't understand the structure



SpatiaLite: With libproj? compile time error


Why would one want to compile multiple .cpp files to the same executable?Long gcc compile timeSlight change to command to compile C++ program causes errorHow to compile c, c++ and python code as “Released/Final” version?fmem compile error with makeHow to compile manual files .1R configure file error: C compiler cannot create executablesGPU/CUDA Compile ErrorWhy does my Makefile not compile and how can I fix it?Compile Zipalign for Centos 64bit






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Following this: http://www.gaia-gis.it/gaia-sins/mingw64_how_to.html#libproj



Compile SpatiaLite with libproj fails with >> configure: error: cannot find proj_api.h, bailing out.



=======================================================================



What I tried:



Setting different flags before and at compile time.



export CPATH = /mingw64/local/include:/mingw64/include: export C_INCLUDE_PATH=/mingw64/local/include:/mingw64/include: W:msys2mingw64includec++7.3.0



export "CPPFLAGS=-I/mingw64/local/include" export "LDFLAGS=-L/mingw64/local/lib" export "PKG_CONFIG_PATH=/mingw64/local/lib/pkgconfig"



$./configure --prefix=/mingw64/local --with-geosconfig=/mingw64/local/bin/geos-config --target=mingw32 --enable-rttopo=yes --enable-gcp=yes



That last configuration command fails configure: error: cannot find proj_api.h, bailing out proj_api.h is in /mingw64/local/include



I also tried to pass directly to compiler at configure time.



./configure --prefix=/mingw64/local --with-geosconfig=/mingw64/local/bin/geos-config --target=mingw32 --enable-rttopo=yes --enable-gcp=yes --enable-proj=yes --includedir=/mingw64/local/include --libdir=/mingw64/local/lib



=======================================================================



Output shows>>



checking proj_api.h usability... no checking proj_api.h presence... no checking for proj_api.h... no configure: error: cannot find proj_api.h, bailing out



configure file is long link to it>> http://sprunge.us/sbPBlO



libproj compiles correctly and places header files in /mingw64/local/include and libspatialite-5.0.0-beta0 package compiles correctly and the make check passes all tests.










share|improve this question







New contributor



jasonsmr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    Following this: http://www.gaia-gis.it/gaia-sins/mingw64_how_to.html#libproj



    Compile SpatiaLite with libproj fails with >> configure: error: cannot find proj_api.h, bailing out.



    =======================================================================



    What I tried:



    Setting different flags before and at compile time.



    export CPATH = /mingw64/local/include:/mingw64/include: export C_INCLUDE_PATH=/mingw64/local/include:/mingw64/include: W:msys2mingw64includec++7.3.0



    export "CPPFLAGS=-I/mingw64/local/include" export "LDFLAGS=-L/mingw64/local/lib" export "PKG_CONFIG_PATH=/mingw64/local/lib/pkgconfig"



    $./configure --prefix=/mingw64/local --with-geosconfig=/mingw64/local/bin/geos-config --target=mingw32 --enable-rttopo=yes --enable-gcp=yes



    That last configuration command fails configure: error: cannot find proj_api.h, bailing out proj_api.h is in /mingw64/local/include



    I also tried to pass directly to compiler at configure time.



    ./configure --prefix=/mingw64/local --with-geosconfig=/mingw64/local/bin/geos-config --target=mingw32 --enable-rttopo=yes --enable-gcp=yes --enable-proj=yes --includedir=/mingw64/local/include --libdir=/mingw64/local/lib



    =======================================================================



    Output shows>>



    checking proj_api.h usability... no checking proj_api.h presence... no checking for proj_api.h... no configure: error: cannot find proj_api.h, bailing out



    configure file is long link to it>> http://sprunge.us/sbPBlO



    libproj compiles correctly and places header files in /mingw64/local/include and libspatialite-5.0.0-beta0 package compiles correctly and the make check passes all tests.










    share|improve this question







    New contributor



    jasonsmr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      Following this: http://www.gaia-gis.it/gaia-sins/mingw64_how_to.html#libproj



      Compile SpatiaLite with libproj fails with >> configure: error: cannot find proj_api.h, bailing out.



      =======================================================================



      What I tried:



      Setting different flags before and at compile time.



      export CPATH = /mingw64/local/include:/mingw64/include: export C_INCLUDE_PATH=/mingw64/local/include:/mingw64/include: W:msys2mingw64includec++7.3.0



      export "CPPFLAGS=-I/mingw64/local/include" export "LDFLAGS=-L/mingw64/local/lib" export "PKG_CONFIG_PATH=/mingw64/local/lib/pkgconfig"



      $./configure --prefix=/mingw64/local --with-geosconfig=/mingw64/local/bin/geos-config --target=mingw32 --enable-rttopo=yes --enable-gcp=yes



      That last configuration command fails configure: error: cannot find proj_api.h, bailing out proj_api.h is in /mingw64/local/include



      I also tried to pass directly to compiler at configure time.



      ./configure --prefix=/mingw64/local --with-geosconfig=/mingw64/local/bin/geos-config --target=mingw32 --enable-rttopo=yes --enable-gcp=yes --enable-proj=yes --includedir=/mingw64/local/include --libdir=/mingw64/local/lib



      =======================================================================



      Output shows>>



      checking proj_api.h usability... no checking proj_api.h presence... no checking for proj_api.h... no configure: error: cannot find proj_api.h, bailing out



      configure file is long link to it>> http://sprunge.us/sbPBlO



      libproj compiles correctly and places header files in /mingw64/local/include and libspatialite-5.0.0-beta0 package compiles correctly and the make check passes all tests.










      share|improve this question







      New contributor



      jasonsmr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Following this: http://www.gaia-gis.it/gaia-sins/mingw64_how_to.html#libproj



      Compile SpatiaLite with libproj fails with >> configure: error: cannot find proj_api.h, bailing out.



      =======================================================================



      What I tried:



      Setting different flags before and at compile time.



      export CPATH = /mingw64/local/include:/mingw64/include: export C_INCLUDE_PATH=/mingw64/local/include:/mingw64/include: W:msys2mingw64includec++7.3.0



      export "CPPFLAGS=-I/mingw64/local/include" export "LDFLAGS=-L/mingw64/local/lib" export "PKG_CONFIG_PATH=/mingw64/local/lib/pkgconfig"



      $./configure --prefix=/mingw64/local --with-geosconfig=/mingw64/local/bin/geos-config --target=mingw32 --enable-rttopo=yes --enable-gcp=yes



      That last configuration command fails configure: error: cannot find proj_api.h, bailing out proj_api.h is in /mingw64/local/include



      I also tried to pass directly to compiler at configure time.



      ./configure --prefix=/mingw64/local --with-geosconfig=/mingw64/local/bin/geos-config --target=mingw32 --enable-rttopo=yes --enable-gcp=yes --enable-proj=yes --includedir=/mingw64/local/include --libdir=/mingw64/local/lib



      =======================================================================



      Output shows>>



      checking proj_api.h usability... no checking proj_api.h presence... no checking for proj_api.h... no configure: error: cannot find proj_api.h, bailing out



      configure file is long link to it>> http://sprunge.us/sbPBlO



      libproj compiles correctly and places header files in /mingw64/local/include and libspatialite-5.0.0-beta0 package compiles correctly and the make check passes all tests.







      compiling c c++ linux-headers msys






      share|improve this question







      New contributor



      jasonsmr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      jasonsmr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      jasonsmr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 17 mins ago









      jasonsmrjasonsmr

      1




      1




      New contributor



      jasonsmr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      jasonsmr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          jasonsmr is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f519755%2fspatialite-with-libproj-compile-time-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          jasonsmr is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          jasonsmr is a new contributor. Be nice, and check out our Code of Conduct.













          jasonsmr is a new contributor. Be nice, and check out our Code of Conduct.












          jasonsmr is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f519755%2fspatialite-with-libproj-compile-time-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...