Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other compilers (Zig). CMake. Run time dynamic link to geos_c.dll uses Windows API (via microsoft headers if using MSVC). #56

Open
JamesParrott opened this issue Jun 9, 2024 · 1 comment

Comments

@JamesParrott
Copy link
Collaborator

The GNU / MinGW-w64 headers necessitated marking address_in_this_module neither static, not a const.

sDNA/sdna_vs2008/geos_sdna_wrapper.h

@JamesParrott
Copy link
Collaborator Author

I've added Clang and Linux equivalent code (behind a macro #ifdef) that compiles on Windows (inc Clang/ zig c++) and Linux (gcc & zig c++), but I have not been able to dynamically link to a .so, from within a .so on Ubuntu at all, without causing a seg fault. Minimal example:
https://github.com/JamesParrott/So_from_so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant