make[1]: *** [src/CMakeFiles/pqxx_shared.dir/all] Error 2 make: *** [all] Error Since PostgreSQL distro doers not have support for find_PQ.cmake, I replaced find_package with find_library and cmake funds static libpq.a while I am trying to build for .dll Windows I am not sure...
包含libpqxx会导致使用CMake在WSL上构建失败。 、、、 我目前正在使用PostgreSQL数据库升级一个C++应用程序。作为一个非常基本的测试,我有一个简单的类,它只包含引用: #include <pqxx/pqxx> 但是,构建会导致以以下内容开头的(长)错误日志: [ 15%] Building CXX object:18:0, from /usr& 浏览11提问于2019-09...
pqxx::connection c{"postgresql://accounting@localhost/company"}; "expected end of declaration" so clion is expecting pqxx::connection c; {"postgresql://accounting@localhost/company"};but wtf is that ? its not correct code lol cmake returns me this: In file included from /usr/local/include/...