Cannot find include file x11/xlib.h




















I was learning to program with X11 but when I compiled the program it gave me an error: Code:. MikeyD Guest. That is odd. From the error it obviously can't locate the libs. There should be an X11 folder with Xlib. The only thing I can think of is its a problem with the search path via gcc or whatever you're using to compile although it should be searching in the correct places if the X11 library is installed correctly.

GrumpyOldMan Guest. You do have the X11 development packages installed? Click to expand Now I have another Problem with the same code: Code:.

WharfRat Guest. There are also cross-platform libraries that abstract the differences; wxWidgets is one example. This is a compiler error, not a crash. If your compiler crashes for missing headers, you should run it in a debugger and file a bug report with all details.

Thanks for your answer! At the end, I installed cygwin. Do you know what to write here? Add a comment. Active Oldest Votes. Improve this answer. John Bollinger John Bollinger k 8 8 gold badges 71 71 silver badges bronze badges. Sergio, if there is no X server running on the machine -- and unless you've installed one, you can be sure there isn't -- there is no display available to connect to. Although you have succeeded in building your program, it cannot run in your present environment.

If there were an X server running then the display name string would have form something like ":0" , but I repeat: your best bet it to rewrite the program against the Windows API. Yes, I will do that. Learn more about bidirectional Unicode characters Show hidden characters.

Copyright , , , , The Open Group. Permission to use, copy, modify, distribute, and sell this software and its. The above copyright notice and this permission notice shall be included in. Except as contained in this notice, the name of The Open Group shall not be. November Its presence is indicated through the following macro. What's new New posts Latest activity. Log in Register. Search titles only.

Search Advanced search…. New posts. Search forums. Log in.



0コメント

  • 1000 / 1000