Replies: 3 comments 2 replies
-
please use xmake to build xmake on windows. https://xmake.io/#/guide/installation?id=source-compilation-in-windows-platform |
Beta Was this translation helpful? Give feedback.
-
you need export https://xmake.io/#/guide/faq?id=loading-a-local-debugging-environment-on-other-platforms |
Beta Was this translation helpful? Give feedback.
-
Hi, I want to build xmake from source in a wsl distribution for debugging. The problem is built-from-source xmake prints these lines and exits:
I build it with these commands: ./configure --mode=debug
make Debugging the xmake executable, I find function The flags in the generated makefile: tbox_cflags= -g -O0 -Wall -std=c99 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__tb_prefix__=\"tbox\" -Icore/src/tbox/tbox/src/tbox/.. -Ibuild/linux/x86_64/debug -Icore/src/tbox/inc/linux
# ...
xmake_cflags= -g -O0 -Wall -std=c99 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DXM_CONFIG_API_HAVE_CURSES -D__tb_prefix__=\"xmake\" -D__tb_debug__ -DXM_CONFIG_API_HAVE_LUA_CJSON -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_3 -Icore/src/xmake/.. -Ibuild/linux/x86_64/debug -Icore/src/xmake/../xxhash -Icore/src/lz4/lz4/lib -Icore/src/sv/sv/include -Icore/src/tbox/tbox/src/tbox/.. -Ibuild/linux/x86_64/debug -Icore/src/tbox/inc/linux -Icore/src/lua/lua -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, thanks for the great tool. I have some trouble building xmake from source. I'm building xmake on Windows, running
./configure
andmake
in a msys2 mingw64 shell. The targetbuild/xmake.exe
can be built. But running it always fails with nothing printed. How can I build xmake correctly?Result of
./configure
:Generated xmake.config.h:
Beta Was this translation helpful? Give feedback.
All reactions