On Tue, 2019-03-05 at 20:16 -0800, Anand Rawat wrote: > Added documentation to build helloworld example > on windows using meson and clang. Updated the > maintainers list to include windows maintainers. > > Signed-off-by: Anand Rawat <anand.ra...@intel.com> > Signed-off-by: Pallavi Kadam <pallavi.ka...@intel.com> > Reviewed-by: Jeff Shaw <jeffrey.b.s...@intel.com> > Reviewed-by: Ranjit Menon <ranjit.me...@intel.com> > --- > + > +Using the ninja backend > +~~~~~~~~~~~~~~~~~~~~~~~~ > + > +.. code-block:: console > + > + cd C:\Users\me\dpdk > + meson build
I think, there is one more dependency with link.exe or so. Could you please check the log and update the documentation. PS C:\Users\jerin\dpdk.org> meson build The Meson build system Version: 0.49.2 Source dir: C:\Users\jerin\dpdk.org Build dir: C:\Users\jerin\dpdk.org\build Build type: native build Project name: DPDK Project version: 19.05.0-rc0 meson.build:4:0: ERROR: Compiler clang can not compile programs. A full log can be found at C:\Users\jerin\dpdk.org\build\meson- logs\meson-log.txt PS C:\Users\jerin\dpdk.org> cat .\build\meson-logs\meson-log.txt Build started at 2019-03-11T07:52:15.487361 Main binary: C:\Program Files\Meson\meson.exe Python system: Windows The Meson build system Version: 0.49.2 Source dir: C:\Users\jerin\dpdk.org Build dir: C:\Users\jerin\dpdk.org\build Build type: native build Project name: DPDK Project version: 19.05.0-rc0 Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang C:\Users\jerin\dpdk.org\build\meson-private\sanitycheckc.c -o C:\Users\jerin\dpdk.org\build\meson-private\sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: clang.exe: warning: unable to find a Visual Studio installation; try running Clang from a developer command prompt [-Wmsvc-not-found] clang.exe: error: unable to execute command: program not executable clang.exe: error: linker command failed with exit code 1 (use -v to see invocation) ----- meson.build:4:0: ERROR: Compiler clang can not compile programs. PS C:\Users\jerin\dpdk.org> clang C:\Users\jerin\dpdk.org\build\meson- private\sanitycheckc.c -o C:\Users\jerin\dpdk.org\build\meson-private\s anitycheckc.exe clang.exe: warning: unable to find a Visual Studio installation; try running Clang from a developer command prompt [-Wmsvc-not-found] clang.exe: error: unable to execute command: program not executable clang.exe: error: linker command failed with exit code 1 (use -v to see invocation) PS C:\Users\jerin\dpdk.org> clang -v C:\Users\jerin\dpdk.org\build\meson-private\sanitycheckc.c -o C:\Users\jerin\dpdk.org\build\meson-private\sanitycheckc.exe clang version 7.0.1 (tags/RELEASE_701/final) Target: x86_64-pc-windows-msvc Thread model: posix InstalledDir: C:\Program Files\LLVM\bin clang.exe: warning: unable to find a Visual Studio installation; try running Clang from a developer command prompt [-Wmsvc-not-found] "C:\\Program Files\\LLVM\\bin\\clang.exe" -cc1 -triple x86_64-pc- windows-msvc19.11.0 -emit-obj -mrelax-all -mincremental-linker- compatible -disable-free -disable-llvm-verifier -discard-value-names -main-file-name sanitycheckc.c -mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info -debugger- tuning=gdb -momit-leaf-frame-pointer -v -resource-dir "C:\\Program Files\\LLVM\\lib\\clang\\7.0.1" -internal-isystem "C:\\Program Files\\LLVM\\lib\\clang\\7.0.1\\include" -internal-isystem C:/Program Files/Microsoft Visual Studio 10.0/VC/include -internal-isystem C:/Program Files/Microsoft Visual Studio 9.0/VC/include -internal- isystem C:/Program Files/Microsoft Visual Studio 9.0/VC/PlatformSDK/Include -internal-isystem C:/Program Files/Microsoft Visual Studio 8/VC/include -internal-isystem C:/Program Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include -fdebug-compilation-dir "C:\\Users\\jerin\\dpdk.org" -ferror-limit 19 -fmessage-length 168 -fno-use-cxa-atexit -fms-extensions -fms-compatibility -fms- compatibility-version=19.11 -fdelayed-template-parsing -fobjc- runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -o "C:\\Users\\jerin\\AppData\\Local\\Temp\\sanitycheckc-9dd0a9.o" -x c "C:\\Users\\jerin\\dpdk.org\\build\\meson-private\\sanitycheckc.c" clang -cc1 version 7.0.1 based upon LLVM 7.0.1 default target x86_64- pc-win32 ignoring nonexistent directory "C:/Program Files/Microsoft Visual Studio 10.0/VC/include" ignoring nonexistent directory "C:/Program Files/Microsoft Visual Studio 9.0/VC/include" ignoring nonexistent directory "C:/Program Files/Microsoft Visual Studio 9.0/VC/PlatformSDK/Include" ignoring nonexistent directory "C:/Program Files/Microsoft Visual Studio 8/VC/include" ignoring nonexistent directory "C:/Program Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include" #include "..." search starts here: #include <...> search starts here: C:\Program Files\LLVM\lib\clang\7.0.1\include End of search list. "link.exe" "-out:C:\\Users\\jerin\\dpdk.org\\build\\meson- private\\sanitycheckc.exe" -defaultlib:libcmt "-libpath:lib\\amd64" -nologo "C:\\Users\\jerin\\AppData\\Local\\Temp\\sanitycheckc-9dd0a9.o" clang.exe: error: unable to execute command: program not executable clang.exe: error: linker command failed with exit code 1 (use -v to see invocation) PS C:\Users\jerin\dpdk.org> clang.exe clang.exe: error: no input files PS C:\Users\jerin\dpdk.org> > + cd build > + ninja >