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

Can not get the cmakelists to work on windows #115

Open
e-ave opened this issue Oct 31, 2023 · 0 comments
Open

Can not get the cmakelists to work on windows #115

e-ave opened this issue Oct 31, 2023 · 0 comments

Comments

@e-ave
Copy link

e-ave commented Oct 31, 2023

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

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

No branches or pull requests

1 participant