1.8 KiB
1.8 KiB
Dependencies
To build the dependencies & the project itself, The following must be installed:
- Microsoft Visual Studio 2019 (VS2019)
- CMake
For each dependency, CMD is assumed to be in the directory of dependencies
. So, the first command is always changing into the directory which contains the dependency.
Boost
CMD:
cd boost
bootstrap
b2
Crypto++
- Go to
cryptopp
. - Use VS2019 to open
cryptest.sln
. - For
Debug
x64
configuration, openProperties
ofcryptlib
project. InC/C++
Code Generation
, setRuntime Library
toMultithreading Debug DLL (/MDd)
. - For
Release
x64
configuration, openProperties
ofcryptlib
project. InC/C++
Code Generation
, setRuntime Library
toMultithreading DLL (/MD)
. Batch Build
Debug
ANDRelease
x64
ofcryptlib
.
PostgreSQL 14.0
The database may not be installed locally. You should be able to connect to it.
- Use this link to download the binaries.
- Unzip the zip archive here. It should be named
pgsql
and containsbin
,include
andlib
.
Libpqxx
- Go to
libpqxx
. - Use
cmake-gui
:Browse Source...
andBrowse Build...
to the root directory oflibpqxx
.Add Entry
:PostgreSQL_INCLUDE_DIR
(PATH
) =../../pgsql/include
Add Entry
:PostgreSQL_LIBRARY
(FILEPATH
) =../../pgsql/lib/libpq
Configure
: Use default settings (VS2019
x64
).Generate
- Use VS2019 to open
libpqxx.sln
. Batch Build
Debug
ANDRelease
x64
ofpqxx
.
inja
Nothing should be done...