From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26CB8C04AAF for ; Mon, 20 May 2019 08:20:13 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id D576620656 for ; Mon, 20 May 2019 08:20:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D576620656 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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