[PROJ] fliemanager.cpp build issue

gordon frisbie gordon.frisbie at arapenv.com
Mon Jan 17 09:30:04 PST 2022


While building PROJ the compilation crashes while trying to build filemanager.cpp.      I'm using Cygwin on a Windows Server 2012 machine. It appears that the build is bypassing the "#if __GNU_VISIBLE" condition in Cygwin's dlfcn.h file.

filemanager.cpp:1344:5: error: 'Dl_info' was not declared in this scope
1344 |     Dl_info info;
      |     ^~~~~~~
filemanager.cpp:1345:60: error: 'info' was not declared in this scope
1345 |     if (!dladdr((const void *)pj_get_relative_share_proj, &info)) {
      |                                                            ^~~~
filemanager.cpp:1345:10: error: 'dladdr' was not declared in this scope
1345 |     if (!dladdr((const void *)pj_get_relative_share_proj, &info)) {
      |          ^~~~~~
filemanager.cpp:1348:21: error: 'info' was not declared in this scope
1348 |     std::string out(info.dli_fname);
      |                     ^~~~

Thanks,

Gordon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20220117/699ea33d/attachment.html>


More information about the PROJ mailing list