SLADE icon indicating copy to clipboard operation
SLADE copied to clipboard

Homebrew-installed dumb conflicts with SLADE-provided dumb

Open JustinWayland opened this issue 2 years ago • 4 comments

SLADE Version: (3.2.4) Operating System: (OSX)

Issue Details: If the user has previously installed dumb using Homebrew, SLADE will fail to compile due to missing definitions like LONG_LONG and MID, as well as conflicting function signatures.

JustinWayland avatar Jun 23 '23 08:06 JustinWayland

I'm a bit lost trying to fix this 😅, currently I uninstall dumb from brew when compiling So, bump to see if anyone can do it

Pedro-Beirao avatar Jan 02 '24 17:01 Pedro-Beirao

There is a cmake option (in thirdparty/CMakeLists.txt) USE_SYSTEM_DUMB that I think should work

sirjuddington avatar Jan 03 '24 01:01 sirjuddington

That option fails with "ld: failed to find 'libdumb'", unless I provide the full path to it (PkgConfig::DUMB does not work)

Ive messed so much with cmake and still cant fix this

Pedro-Beirao avatar Jan 03 '24 07:01 Pedro-Beirao