Skip to content

Can not get the cmakelists to work on windows #115

@e-ave

Description

@e-ave

I get a ton of linker undefined errors no matter what i do

It also wont build at all without -fpermissive

FAILED: HexRaysCodeXplorer64.dll
cmd.exe /C "cd . && C:\PROGRA1\JETBRA1\CLION2~1.2\bin\mingw\bin\G__~1.EXE -fPIC -fpermissive -O3 -DNDEBUG -shared -o HexRaysCodeXplorer64.dll -Wl,--major-image-version,0,--minor-image-version,0 CMakeFiles/HexRaysCodeXplorer64.dll.dir/CodeXplorer.cpp.obj "C:/Users/Ethan/Downloads/IDA Pro 7.7.220118/plugins/idasdk77/lib/x64_win_vc_64/ida.lib" libHexRaysCodeXplorerLib_ea64.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
C:\Program Files\JetBrains\CLion 2023.2.2\bin\mingw\bin/ld.exe: CMakeFiles/HexRaysCodeXplorer64.dll.dir/CodeXplorer.cpp.obj:CodeXplorer.cp:(.text+0x2261): undefined reference to __imp__Z18re_types_form_initv' C:\Program Files\JetBrains\CLion 2023.2.2\bin\mingw\bin/ld.exe: CMakeFiles/HexRaysCodeXplorer64.dll.dir/CodeXplorer.cpp.obj:CodeXplorer.cp:(.text$_ZN17codexplorer_ctx_tD1Ev[_ZN17codexplorer_ctx_tD1Ev]+0x4e): undefined reference to __imp__Z18re_types_form_finiv'

The plugin builds fine with no modifications using visual studio, but it would be nice if the cmake worked

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions