#Cmake error
1 messages · Page 1 of 1 (latest)
So it looks like it can't actually find postgreSQL_LIBRARY
can you post your cmake files here, preferable not as something I have to download
I dont know how to do that
Where do I go?
It should be the CMakeLists.txt file in the project .
Which project?
whatever one you're attempting to compile in the video
its most likely that you don't have a library installed
Libpqx is a library i have that
@bleak shore there is Cmakefiles
my man....
i need to see the contents of them
lmao
I highly suspect that the issue is that you're missing the postgre library... as thats what the error text said
Have you installed Postgre ?
Yes.
Here are the contents
the development libraries or some application ?
that is a photo of the directory dude
i assume that since that says tutorial or whatever that the issue lies in whatever you have installed, or don't have installed. if you can post me a link to the tutorial and/or somehow show me the actual file contents of what you're trying to do not in an image form I can help
How do I do that whats step 1?
where did you get this amalgamation of files from ?
You mean this?@bleak shore
yeah man, literally any of this.
start from the beginning and describe what you are trying to do. what you have done. and where all these files and whatnot came from.
First of all I downloaded ppstgresql and then downloaded pgadmin4 and I created a database there.
so did you follow the steps here: https://en.wiki.imlint.org/Pqxx_tutorial
In this tutorial for beginners I will show you, how to connect to remote PostgreSQL database from c++ application. We will use official libpqxx connector in windows 10 x64, Visual Studio 2019.
Knowledge base page: http://en.wiki.imlint.org/Pqxx_tutorial
#PostgreSQL #database #libpqxx
help project
https://donatepay.ru/don/institute
https://ww...
Then I watched this guy this is where I got the tutorial file and libpqxx
so you downloaded this: https://github.com/jtv/libpqxx
and are attempting to build it , yeah ?
Hello Everyone! Today in this video I am going to step-by-step guide you on How to install PostgreSQL 15 for Relational DataBase Management System (RDBMS) on Windows 10. Windows (64-bit).
Then we will install pgAdmin 4 for using PostgreSQL in a Graphical User Interface (GUI). You can also use PostgreSQL Command-line Interface if you wish.
The ...
Yep thats it.
Yes 7.4.1
Nope
so you should read the readme and attempt to follow those instructions
@bleak shore yeah they say nothing about Cmake
Yeah they do
Building libpqxx
There are two different ways of building libpqxx from the command line:
Using CMake, on any system which supports it.
On Unix-like systems, using a configure script.
"Unix-like" systems include GNU/Linux, Apple macOS and the BSD family, AIX, HP-UX, Irix, Solaris, etc. Even on Microsoft Windows, a Unix-like environment such as WSL, Cygwin, or MinGW should work.
You'll find detailed build and install instructions in BUILDING-configure.md and BUILDING-cmake.md, respectively.
And if you're working with Microsoft Visual Studio, have a look at Gordon Elliott's Easy-PQXX Build for Windows Visual Studio project.
Gordon elliiot? Is it on YouTube?@bleak shore
Whats the second way??
This read me is available on the GitHub page that is linked from the original YouTube video
You may have to follow the instructions to building the things and maybe google terms you don’t know yet
I saw the Readme i don't get it,Wait so will I use Cmake the app or not?
cmake is what that library uses. As stated in the readme. You need to build it on windows. So I’m the readme look for the word “windows” and read the instructions on how to build it
It mentions you need a unix like env, and then it mentions cygwin.
So that tells me you’ll need Cygwin or something similar, loaded with cmake and everything to build the app
Their library is what you’re tying to build, and it uses cmake. So yes you need it.
Whats that but the second way doesn't mention Cmake
Oh ohkay second way won't work on windows