On Mon, Feb 3, 2020 at 3:03 PM Dmitry Kozlyuk wrote: > > > From the step in > > https://mesonbuild.com/Quick-guide.html#installation-from-source > > I tried to compile meson by doing: > > $ git clone https://github.com/mesonbuild/meson.git > > $ cd meson > > $ meson builddir > > ERROR: Neither directory contains a build file meson.build. > > > > How do I generate a meson.build file? > > I build Meson from Windows command line (not Git Bash) as pip package: > > C:\src\meson> python setup.py install --user > > You need write permissions for C:\Python, so use elevated command prompt or > an administrator account. To use the new version, make sure C:\Python\Scripts > is in the beginning of your PATH (assuming C:\Python being your Python 3 > installation directory). > > Don't forget to apply the patch, it's not in upstream yet. You can instead > clone the fork directly: > > git clone -b msvc-linker-arg-prefix https://github.com/PlushBeaver/meson.git > > -- Hi Dmitry, Thanks! I now passed the issue of "'/OPT:REF" now with "ninja -v", I got another error saying: C:\dpdk-draft-windows>meson build9 C:\dpdk-draft-windows>cd build9 C:\dpdk-draft-windows\build9>ninja -v [1/14] clang @lib/76b5a35@@rte_kvargs@sta/librte_kvargs_rte_kvargs.c.obj.rsp [2/14] clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_errno.c.obj.rsp [3/14] clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_launch.c.obj.rsp [4/14] llvm-ar "csrD" lib/librte_kvargs.a @lib/librte_kvargs.a.rsp [5/14] clang @lib/librte_kvargs-1.dll.rsp clang.exe: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument] LINK : warning LNK4044: unrecognized option '/-no-as-needed'; ignored Creating library lib\librte_kvargs.dll.a and object lib\librte_kvargs.dll.exp [6/14] clang @lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_lcore.c.obj.rsp [7/14] clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_log.c.obj.rsp [8/14] "C:\Python38\Scripts\meson" --internal symbolextractor lib/librte_kvargs-1.dll lib/76b5a35@@rte_kvargs@sha/librte_kvargs-1.dll.symbols [9/14] clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_lcore.c.obj.rsp [10/14] clang @lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal.c.obj.rsp [11/14] clang @lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_debug.c.obj.rsp [12/14] clang @lib/76b5a35@@rte_eal@sta/librte_eal_windows_eal_eal_thread.c.obj.rsp [13/14] llvm-ar "csrD" lib/librte_eal.a @lib/librte_eal.a.rsp [14/14] clang @lib/librte_eal-10.dll.rsp clang.exe: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument] LINK : warning LNK4044: unrecognized option '/-no-as-needed'; ignored Creating library lib\librte_eal.dll.a and object lib\librte_eal.dll.exp Do I mess up some linker's configurations? I attached the meson log, thanks for your help! William