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 A42B1A05D3 for ; Sun, 19 May 2019 09:07:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6DF13152A; Sun, 19 May 2019 09:07:03 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id D2BBE152A for ; Sun, 19 May 2019 09:07:01 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from adham@mellanox.com) with ESMTPS (AES256-SHA encrypted); 19 May 2019 10:07:01 +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 x4J7702X018184; Sun, 19 May 2019 10:07:00 +0300 From: adham@mellanox.com To: thomas@monjalon.net Cc: Adham Masarwah , stable@dpdk.org, anand.rawat@intel.com Date: Sun, 19 May 2019 10:06:59 +0300 Message-Id: <20190519070659.1044112-1-adham@mellanox.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] doc: Fix helloworld build on Windows Fixes: 196c650b8b63 ("doc: add guide for Windows") The option -Dexamples=helloworld is missing. The helloworld binary name was wrong. Forcing clang may be required in some environments. X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" From: Adham Masarwah Cc: stable@dpdk.org Cc: anand.rawat@intel.com Signed-off-by: Adham Masarwah --- doc/guides/windows_gsg/build_dpdk.rst | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/guides/windows_gsg/build_dpdk.rst b/doc/guides/windows_gsg/build_dpdk.rst index f48805236..04e9dc776 100644 --- a/doc/guides/windows_gsg/build_dpdk.rst +++ b/doc/guides/windows_gsg/build_dpdk.rst @@ -59,23 +59,31 @@ 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 2 hello from core 3 hello from core 0 - hello from core 2 -- 2.21.0.windows.1