From 3cc9608ea6f809c9f2d5f29aac236acb2e421e48 Mon Sep 17 00:00:00 2001 From: Dirk Schnelle-Walka Date: Tue, 17 Dec 2024 14:52:13 +0100 Subject: [PATCH] issue #45 Update build instructions and prerequisites Updated the required C++ compiler version to C++ 22. Removed the need for a local copy of libcurl. Updated Windows build instructions to include vcpkg installation and removed detailed build steps. Added an explanation for using vcpkg to simplify compiling the CURL dependency on Windows. --- source/SOURCE.md | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/source/SOURCE.md b/source/SOURCE.md index 9dbfcb3..6f21eb4 100644 --- a/source/SOURCE.md +++ b/source/SOURCE.md @@ -5,10 +5,8 @@ This project aims at providing a reference implementation for an IPA framework. ## Prerequisites You will need -- A C/C++ compiler supporting at least C++ 17 +- A C/C++ compiler supporting at least C++ 22 - CMake version 3.22 -- a local copy of libcurl https://curl.se/download.html so that it can be found - by FindPackage on Windows systems - A C++ IDE of your choice - An OpenAI developer key @@ -41,17 +39,9 @@ file `w3cipa/CMakeLists.txt`. #### Console -On Windows systems - -``` -cd source/w3cipa -mkdir build -cd build -cmake .. -DCURL_INCLUDE_DIR= -DCURL_LIBRARY= -DCURL_SHARED_LIBRARY= -make && make install -``` - -On Linux based systems or any other +On Windows systems you will also need to install [vcpkg](https://learn.microsoft.com/en-us/vcpkg/get_started/overview) installed. +Unfortuanately, it is quite a hazzle to get the dependency on CURL compiled in the Windows environment +and this seems to be the easiest way to get it done. ``` cd source/w3cipa