From eb0c27e5784988e86303a1c342d23f60f902434e Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Tue, 14 Dec 2021 18:40:52 +0200 Subject: [PATCH] Fix -G "Unix Makefiles" for linux cmake commnad Hey, that line has a typo. it should be ``-G "Unix Makefiles"``. Without this line you get: ``` $ cmake .. -G Makefile -DCMAKE_BUILD_TYPE=Release CMake Error: Could not create named generator Makefile Generators * Unix Makefiles = Generates standard UNIX makefiles. Green Hills MULTI = Generates Green Hills MULTI files (experimental, work-in-progress). ... ``` Also - do you know where the binaries are actually built to? I can find it --- samples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/README.md b/samples/README.md index da63c050..b33e049a 100644 --- a/samples/README.md +++ b/samples/README.md @@ -39,7 +39,7 @@ Then, depending on your system: Generate the CMake cache using Makefile: ``` -cmake .. -G Makefile -DCMAKE_PREFIX_PATH=/opt/Qt/5.6/gcc_64/lib/cmake -DCMAKE_BUILD_TYPE=Release +cmake .. -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/opt/Qt/5.6/gcc_64/lib/cmake -DCMAKE_BUILD_TYPE=Release ``` To build type: