i created a new project and copy libpq.lib and header in specific directory of my project. I also add linker destination but when i build i get an undefined reference.
So i forgot something but what ?
i created a new project and copy libpq.lib and header in specific directory of my project. I also add linker destination but when i build i get an undefined reference.
So i forgot something but what ?
I found the problem ! Code blocks is a 32 bits version and Postgrel in 64. So i get the 32 bits binaries from https://www.enterprisedb.com/download-postgresql-binaries and its work.