

So I guess it's trying to link, and it does so partially.Īnyway, I did the same with the latest 6.xx version of libpqxx and I can Set(PostgreSQL_ROOT C:/Program\ Files/PostgreSQL/13) Include directory to a folder under my project. then I copied the DLL and the headers in the I got the sources and used autotools to build libpqxx on cygwin. If I don't I get a greater amount of errors. Linking CXX executable NOSDatabaseProcess.exeĬMakeFiles\NOSDatabaseProcess.dir/objects.a(): In function _static_initialization_and_destruction_0': C:/code/NervesOfSteelProject/DatabaseNode/libpqxx/include/pqxx/strconv.hxx:76: undefined reference to pqxx::internal::demangle_type_name(char const*)'Ĭ:/code/NervesOfSteelProject/DatabaseNode/libpqxx/include/pqxx/strconv.hxx:76: undefined reference to pqxx::internal::demangle_type_name(char const*)' C:/code/NervesOfSteelProject/DatabaseNode/libpqxx/include/pqxx/strconv.hxx:76: undefined reference to pqxx::internal::demangle_type_name(char const*)'Ĭ:/code/NervesOfSteelProject/DatabaseNode/libpqxx/include/pqxx/strconv.hxx:76: undefined reference to `pqxx::internal::demangle_type_name(char const*)'Ĭollect2.exe: error: ld returned 1 exit status Building CXX object CMakeFiles/NOSDatabaseProcess.dir/ Build files have been written to: C:/code/NervesOfSteelProject/DatabaseNode/cmake-build-debug In the link phase I am having the following error : I am able to include the header and all that goes with it. cpp) where I include a compiled version of this project 7.4.1.

I dont know if this is the right channel, if not please direct me to it.
