@@ -266,7 +266,7 @@ Cortex.cpp is available with a Network Installer, which is a smaller installer b
266266#### Windows
267267
2682681 . Clone the Cortex.cpp repository [ here] ( https://github.com/janhq/cortex.cpp ) .
269- 2 . Navigate to the ` engine > vcpkg ` folder.
269+ 2 . Navigate to the ` engine ` folder.
2702703 . Configure the vpkg:
271271
272272``` bash
@@ -275,16 +275,16 @@ cd vcpkg
275275vcpkg install
276276```
277277
278- 4 . Build the Cortex.cpp inside the ` build ` folder:
278+ 4 . Build the Cortex.cpp inside the ` engine/ build` folder:
279279
280280``` bash
281281mkdir build
282282cd build
283- cmake .. -DBUILD_SHARED_LIBS=OFF -DCMAKE_TOOLCHAIN_FILE=path_to_vcpkg_folder/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static
283+ cmake .. -DBUILD_SHARED_LIBS=OFF -DCMAKE_TOOLCHAIN_FILE=path_to_vcpkg_folder_in_cortex_repo/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static
284+ cmake --build . --config Release
284285```
285286
286- 5 . Use Visual Studio with the C++ development kit to build the project using the files generated in the ` build ` folder.
287- 6 . Verify that Cortex.cpp is installed correctly by getting help information.
287+ 5 . Verify that Cortex.cpp is installed correctly by getting help information.
288288
289289``` sh
290290# Get the help information
@@ -294,7 +294,7 @@ cortex -h
294294#### MacOS
295295
2962961 . Clone the Cortex.cpp repository [ here] ( https://github.com/janhq/cortex.cpp ) .
297- 2 . Navigate to the ` engine > vcpkg ` folder.
297+ 2 . Navigate to the ` engine ` folder.
2982983 . Configure the vpkg:
299299
300300``` bash
@@ -303,17 +303,16 @@ cd vcpkg
303303vcpkg install
304304```
305305
306- 4 . Build the Cortex.cpp inside the ` build ` folder:
306+ 4 . Build the Cortex.cpp inside the ` engine/ build` folder:
307307
308308``` bash
309309mkdir build
310310cd build
311- cmake .. -DCMAKE_TOOLCHAIN_FILE=path_to_vcpkg_folder /vcpkg/scripts/buildsystems/vcpkg.cmake
311+ cmake .. -DCMAKE_TOOLCHAIN_FILE=path_to_vcpkg_folder_in_cortex_repo /vcpkg/scripts/buildsystems/vcpkg.cmake
312312make -j4
313313```
314314
315- 5 . Use Visual Studio with the C++ development kit to build the project using the files generated in the ` build ` folder.
316- 6 . Verify that Cortex.cpp is installed correctly by getting help information.
315+ 5 . Verify that Cortex.cpp is installed correctly by getting help information.
317316
318317``` sh
319318# Get the help information
@@ -323,7 +322,7 @@ cortex -h
323322#### Linux
324323
3253241 . Clone the Cortex.cpp repository [ here] ( https://github.com/janhq/cortex.cpp ) .
326- 2 . Navigate to the ` engine > vcpkg ` folder.
325+ 2 . Navigate to the ` engine ` folder.
3273263 . Configure the vpkg:
328327
329328``` bash
@@ -332,17 +331,16 @@ cd vcpkg
332331vcpkg install
333332```
334333
335- 4 . Build the Cortex.cpp inside the ` build ` folder:
334+ 4 . Build the Cortex.cpp inside the ` engine/ build` folder:
336335
337336``` bash
338337mkdir build
339338cd build
340- cmake .. -DCMAKE_TOOLCHAIN_FILE=path_to_vcpkg_folder /vcpkg/scripts/buildsystems/vcpkg.cmake
339+ cmake .. -DCMAKE_TOOLCHAIN_FILE=path_to_vcpkg_folder_in_cortex_repo /vcpkg/scripts/buildsystems/vcpkg.cmake
341340make -j4
342341```
343342
344- 5 . Use Visual Studio with the C++ development kit to build the project using the files generated in the ` build ` folder.
345- 6 . Verify that Cortex.cpp is installed correctly by getting help information.
343+ 5 . Verify that Cortex.cpp is installed correctly by getting help information.
346344
347345``` sh
348346# Get help
0 commit comments