faint, problem with XLib in mandrakelinux 10.1

This is a discussion on faint, problem with XLib in mandrakelinux 10.1 within the Linux Programming forums, part of the Platform Specific Boards category; #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 ...

  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, 03:51 PM
  2. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM
  3. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 06: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21