frida / frida-gum

Cross-platform instrumentation and introspection library written in C
https://frida.re
Other
727 stars 240 forks source link

Windows 11 Build Error #766

Open apaly opened 8 months ago

apaly commented 8 months ago

Hi, Thanks for this wonderful library.

I am trying to build Frida repo (using Visual Studio 2022) based on this link. But I got the following errors: script.obj : error LNK2019: unresolved external symbol __builtin_return_address referenced in function sample_return_address C:\Software_Projects\frida\build\tmp-windows\x64-Release\gum-tests\gum-tests.exe : fatal error LNK1120: 1 unresolved externals. Building project "gum-tests.vcxproj" -- FAILED.

_frida.c C:\Software_Projects\frida\frida-python\src\_frida.c(33,11): fatal error C1083: Cannot open include file: 'pyconfig.h': No such file or directory. Building project "frida-python.vcxproj" -- FAILED.

Could you please help me with how to fix these error?

Thanks.