M
M
MuuNu2021-06-21 11:47:20
PostgreSQL
MuuNu, 2021-06-21 11:47:20

How to build the libpq library for C++?

I have never worked with C++, and I decided to implement one small project on it (For practice and knowledge), and I ran into a problem associated with a complete misunderstanding of what build systems are and how to use them.

As planned, my project should connect to a PostgreSQL database. I sort of figured out how external libraries are connected, but libpqxx is not currently being compiled.
What is written in BUILDING-cmake.md does not work.
System - Windows 10

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HolobayR, 2021-06-21
@HolobayR

.md is a Markdown document. You need CMakeLists.txt.
https://cmake.org/runningcmake/
https://russianblogs.com/article/1698227357/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question