Skip to content

Conversation

@fdsmlx
Copy link

@fdsmlx fdsmlx commented Nov 9, 2025

Fix IDA 9.0 build errors on Windows

Problem

The plugin fails to build on IDA SDK 9.0 with the following errors:

  1. struc_t and member_t undefined (removed in IDA 9.0)
  2. Linker errors with __declspec(dllimport) symbols

Solution

  1. Removed unused variables (lines 689, 692 in ReconstructableType.cpp)

    • These variables were declared but never used
    • Safe to remove on all platforms
  2. Simplified DLLEXPORT macro (Common.h)

    • The macro was causing linker errors due to incorrect dllimport
    • IDA plugins don't need dllexport/dllimport
    • Cross-platform compatible

Testing

  • ✅ Successfully builds on Windows with IDA SDK 9.0
  • ✅ All plugin features work correctly in IDA Pro 9.0
  • ✅ Changes don't affect Linux/Mac builds

Related Issues

Fixes #120 (IDA 9.0 Support)
Complements #121 (builds on top of @BowDown097's work)

- Remove unused struc_t and member_t variables (lines 689, 692)
- Simplify DLLEXPORT macro to fix linker errors
- Changes are compatible with all platforms (Windows/Mac/Linux)
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.

IDA 9.0 Support

1 participant