go-proj-4 icon indicating copy to clipboard operation
go-proj-4 copied to clipboard

What are the environment required for this installation project?

Open myhnuhai opened this issue 4 years ago • 2 comments

An error was reported during this installation. What are the environment required for this installation project? # github.com/pebbe/go-proj-4/proj In file included from ..\..\github.com\pebbe\go-proj-4\proj\proj.go:33: ./proj.h:2:10: fatal error: proj_api.h: No such file or directory #include <proj_api.h> ^~~~~~~~~~~~ compilation terminated.

myhnuhai avatar Jan 19 '20 06:01 myhnuhai

github.com/pebbe/go-proj-4/proj

D:/Programs/mingw-w64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lproj collect2.exe: error: ld returned 1 exit status

myhnuhai avatar Jan 19 '20 06:01 myhnuhai

on debian/ubuntu, you need to: apt install libproj-dev

jackielii avatar Aug 28 '20 13:08 jackielii