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

Fix Native Plugin Loading for CMake #1829

Merged
merged 1 commit into from
Oct 9, 2019
Merged

Conversation

thestr4ng3r
Copy link
Member

Regression introduced by #1805, cc @karliss:

[florian@florian-desktop cmake-build-debug]$ ./Cutter
Loading "/home/florian/.cutterrc"
Plugins are loaded from "/home/florian/.local/share/RadareOrg/Cutter/plugins"
Load Error for plugin "libr2ghidra_cutter.so" : "Cannot load library /home/florian/.local/share/RadareOrg/Cutter/plugins/native/libr2ghidra_cutter.so: (/home/florian/.local/share/RadareOrg/Cutter/plugins/native/libr2ghidra_cutter.so: undefined symbol: _ZNK10Decompiler10metaObjectEv)"
Loaded 0 plugin(s).

Because of https://cmake.org/cmake/help/v3.4/policy/CMP0065.html#policy:CMP0065, which was introduced in CMake 3.4, ENABLE_EXPORTS was disabled by default, which is required for native plugins to work.

@thestr4ng3r thestr4ng3r merged commit b176fda into master Oct 9, 2019
@thestr4ng3r thestr4ng3r deleted the fix-native-plugins branch October 9, 2019 16:41
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

Successfully merging this pull request may close these issues.

1 participant