Open e-ave opened 1 year ago
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:\PROGRA~1\JETBRA~1\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 `impZ18re_types_form_finiv'
The plugin builds fine with no modifications using visual studio, but it would be nice if the cmake worked
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:\PROGRA~1\JETBRA~1\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 `impZ18re_types_form_finiv'
The plugin builds fine with no modifications using visual studio, but it would be nice if the cmake worked