Skip to content

Commit

Permalink
issue #45 Update build instructions and prerequisites
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
schnelle committed Dec 17, 2024
1 parent 88de619 commit 3cc9608
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions source/SOURCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -41,17 +39,9 @@ file `w3cipa/CMakeLists.txt`.

#### Console

On Windows systems

```
cd source/w3cipa
mkdir build
cd build
cmake .. -DCURL_INCLUDE_DIR=<Your path to the CURL include directory> -DCURL_LIBRARY=<Your path to the CURL library> -DCURL_SHARED_LIBRARY=<Your path to the CURL 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
Expand Down

0 comments on commit 3cc9608

Please sign in to comment.