pietern / goestools

Tools to work with signals and files from GOES satellites
https://pietern.github.io/goestools/
BSD 2-Clause "Simplified" License
374 stars 83 forks source link

fatal error: proj_api.h: No such file or directory #151

Closed ZL1LAC closed 2 years ago

ZL1LAC commented 2 years ago

Not sure what am doing wrong? It always worked.

OS: Ubuntu 22.04.1 LTS x86_64 Kernel: 5.15.0-50-generic

[ 89%] Building CXX object src/goesproc/CMakeFiles/goesproc.dir/handler_goesn.cc.o
In file included from /home/server/goestools/src/goesproc/map_drawer.h:5,
                 from /home/server/goestools/src/goesproc/handler_goesn.cc:12:
/home/server/goestools/src/goesproc/proj.h:16:10: fatal error: proj_api.h: No such file or directory
   16 | #include <proj_api.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/goesproc/CMakeFiles/goesproc.dir/build.make:174: src/goesproc/CMakeFiles/goesproc.dir/handler_goesn.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2338: src/goesproc/CMakeFiles/goesproc.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
gvfd107 commented 2 years ago

1 of two things. Installing python broke mine because it put libproj in another directory.

2 ubuntu 22 also broke libproj for me so i had to dial back to atleast 20 for a fresh install.

On Mon, Oct 17, 2022, 13:49 Leith Cullen @.***> wrote:

Not sure what am doing wrong? It always worked.

OS: Ubuntu 22.04.1 LTS x86_64 Kernel: 5.15.0-50-generic

[ 89%] Building CXX object src/goesproc/CMakeFiles/goesproc.dir/handler_goesn.cc.o In file included from /home/server/goestools/src/goesproc/map_drawer.h:5, from /home/server/goestools/src/goesproc/handler_goesn.cc:12: /home/server/goestools/src/goesproc/proj.h:16:10: fatal error: proj_api.h: No such file or directory 16 | #include | ^~~~ compilation terminated. make[2]: [src/goesproc/CMakeFiles/goesproc.dir/build.make:174: src/goesproc/CMakeFiles/goesproc.dir/handler_goesn.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:2338: src/goesproc/CMakeFiles/goesproc.dir/all] Error 2 make: *** [Makefile:156: all] Error 2

— Reply to this email directly, view it on GitHub https://github.com/pietern/goestools/issues/151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXTHLYNFXNYN34P6NPKD5DTWDWGSDANCNFSM6AAAAAARHJV4BM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ZL1LAC commented 2 years ago

Going back to Ubuntu 18.04.6 LTS fixed it for me.

sarbo commented 2 years ago

Check the GitHub repo …… I believe there is a Docker file that works for me on Mac. I have not run GOES in a while but I can’t build it on mac . I use the Docker container to run it.

Stephen

On Oct 18, 2022, at 6:24 AM, Leith Cullen @.***> wrote:

Going back to Ubuntu 18.04.6 LTS fixed it for me.

— Reply to this email directly, view it on GitHub https://github.com/pietern/goestools/issues/151#issuecomment-1282300460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXJEN3WVMCALA3S7SLOC2DWD2JGTANCNFSM6AAAAAARHJV4BM. You are receiving this because you are subscribed to this thread.