From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 54AACA05D3 for ; Mon, 20 May 2019 10:20:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 29685378B; Mon, 20 May 2019 10:20:12 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id EBF982BF3 for ; Mon, 20 May 2019 10:20:09 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from adham@mellanox.com) with ESMTPS (AES256-SHA encrypted); 20 May 2019 11:20:04 +0300 Received: from L-WINCOMP2.mtl.com (l-wincomp02.mtl.labs.mlnx [10.7.0.119]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x4K8K4Wl022608; Mon, 20 May 2019 11:20:04 +0300 From: adham@mellanox.com To: dev@dpdk.org Cc: Adham Masarwah Date: Mon, 20 May 2019 11:19:52 +0300 Message-Id: <20190520081952.1046496-1-adham@mellanox.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] doc: fix helloworld build on Windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Adham Masarwah The option -Dexamples=helloworld is missing. The helloworld binary name was wrong. Forcing clang may be required in some environments. Fixes: 196c650b8b63 ("doc: add guide for Windows") Signed-off-by: Adham Masarwah --- doc/guides/windows_gsg/build_dpdk.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/guides/windows_gsg/build_dpdk.rst b/doc/guides/windows_gsg/build_dpdk.rst index f48805236..6711e07e2 100644 --- a/doc/guides/windows_gsg/build_dpdk.rst +++ b/doc/guides/windows_gsg/build_dpdk.rst @@ -59,22 +59,30 @@ default. Using the ninja backend ~~~~~~~~~~~~~~~~~~~~~~~~ +Specifying the compiler might be required to complete the meson command. + +.. code-block:: console + + set CC=clang + +To compile the examples, the flag ``-Dexamples`` is required. + .. code-block:: console cd C:\Users\me\dpdk - meson build + meson -Dexamples=helloworld build cd build ninja Run the helloworld example ========================== -Navigate to the build directory and run `dpdk-helloworld.exe`. +Navigate to the examples in the build directory and run `dpdk-helloworld.exe`. .. code-block:: console - cd C:\Users\me\dpdk\build - helloworld.exe + cd C:\Users\me\dpdk\build\examples + dpdk-helloworld.exe hello from core 1 hello from core 3 hello from core 0 -- 2.21.0.windows.1