Thread: faint, problem with XLib in mandrakelinux 10.1

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    127

    faint, problem with XLib in mandrakelinux 10.1

    #include<X11/Xlib.h> //compiler says that can't find the file.
    i searched the file in /usr/X11R6/include, i got nothing. how can i install the X?

    thanks for any help

    jinhao
    Nana C++ Library is a GUI framework that designed to be C++ style, cross-platform and easy-to-use.

  2. #2
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190
    X is apparantly installed if you are running in graphic mode. As far as I know this and other X headers should be present if X is installed properly.

    Are you sure that Xlib.h is not in /usr/X11R6/include/X11/?
    There should also be: either a link in /usr/include that is called X11 and points to /usr/X11R6/include/X11/ OR you should use -I/usr/X11R6/include/ as a command line option for your compiler.
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

  3. #3
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190
    And one more thing. If you search for the file on the whole partition without finding it, you probably forgot to install XF86-devel (or something). Try to search for it either online or in your rpmdrake.
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  2. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  3. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  4. Replies: 5
    Last Post: 12-03-2003, 05:47 PM
  5. problem with output
    By Garfield in forum C Programming
    Replies: 2
    Last Post: 11-18-2001, 08:34 PM