Open ajmandourah opened 8 months ago
I don't use amalgamated version but dllimport
error suggests you forgot to define ZYDIS_STATIC_BUILD
(#421, #370).
I don't use amalgamated version but
dllimport
error suggests you forgot to defineZYDIS_STATIC_BUILD
(#421, #370).
Thanks for the reply
I am still confused as from what i understood that the amalgamated files contains also zycore? its stated that I only need the src and the header file but still cant compile.
I will try to compile other way but i wish to use the amalgameted files for the ease of transfer
ZYDIS_STATIC_BUILD
is preprocessor definition. In CMake that would be add_compile_definitions(ZYDIS_STATIC_BUILD)
.
you are a lifesaver. Thanks. it compiles now
I think we should adjust the amalgamation script to automatically define those: I think it's safe to assume that pretty much no one will want to use the amalgamated sources to build a DLL. We can also offer ZYDIS_DYNAMIC_BUILD
for these rare cases (specific to the amalgamated build).
Hey, i am new to cpp and i tried using the amalgamated files but I am getting a bunch of errors when compiling my dll
i have Zydis.c and Zydis.h in the src folder and I am including it as any file. I am also using cmake as follow.
I tried looking arond hoping for guidance . Thanks