* [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.
@ 2019-05-19 7:06 adham
0 siblings, 0 replies; only message in thread
From: adham @ 2019-05-19 7:06 UTC (permalink / raw)
To: thomas; +Cc: Adham Masarwah, stable, anand.rawat
From: Adham Masarwah <adham@mellanox.com>
Cc: stable@dpdk.org
Cc: anand.rawat@intel.com
Signed-off-by: Adham Masarwah <adham@mellanox.com>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-19 7:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-19 7:06 [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 adham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).