I have already compiled a C++ program that performs input and output with cin and cout using Bloodshed dev-cpp.
Now I would like to compile an X Window client, something like
include <X11/Xlib.h>
include <X11/Xutil.h>
include <X11/Xos.h>
int main()
{
Display *display = XOpenDisplay(0);
//etc.
}
How can I do this with Blooodshed dev-cpp? Where do I get the header files and libraries and how do I link them in? Thank you in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have an X library that runs native on Windows?
If not (and I don't know if such a thing even exists), you may have to use Cygwin (good luck!) which emulates a Linux environment on Windows. It ain't pretty.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have already compiled a C++ program that performs input and output with cin and cout using Bloodshed dev-cpp.
Now I would like to compile an X Window client, something like
include <X11/Xlib.h>
include <X11/Xutil.h>
include <X11/Xos.h>
int main()
{
Display *display = XOpenDisplay(0);
//etc.
}
How can I do this with Blooodshed dev-cpp? Where do I get the header files and libraries and how do I link them in? Thank you in advance.
Do you have an X library that runs native on Windows?
If not (and I don't know if such a thing even exists), you may have to use Cygwin (good luck!) which emulates a Linux environment on Windows. It ain't pretty.
Clifford