hack0z / luject

🍹A static injector of dynamic library for application (android, iphoneos, macOS, windows, linux)
https://tboox.org
Apache License 2.0
324 stars 49 forks source link

LIEF will disable #define enums. Please use LIEF_PE_XXXX or LIEF::PE::XXXX instead! #10

Closed SuFu123 closed 1 year ago

SuFu123 commented 1 year ago

image i was typeing xmake to build on my commander ,but it throws the errors above, i wonder what's wrong with this main.cpp

ghotm commented 1 year ago

我是这么解决的 修改src/lni/main.cpp中的lua_objlenlua_rawlen 然后xrepo install "libxmake" 我安装的版本为: -> libxmake v2.7.1 [vs_runtime:"MT"] 最后xmake

但编译后的luject似乎不能运行,可能得降级xmake

image

waruqi commented 1 year ago

try it again.

xrepo update-repo
xrepo remove --all -y libxmake
xmake f -c
xmake