Find the answer to your Linux question:
Results 1 to 2 of 2
Dear all, I'm trying to develop a small application with graphical output. My aim is for the application to remain as small as possible, since it is meant to be ...
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Location
    Madrid, Spain
    Posts
    4

    X11 programming problems

    Dear all,

    I'm trying to develop a small application with graphical output.
    My aim is for the application to remain as small as possible, since it is meant to be used in an also small cpu, with just 512 MiB of RAM.

    I thought of using XCBinding, instead of pure X11. I have installed the libraries for both and tried to compile a couple of demos. One of the is supposed to use just X11 (lets call it scrn.c); the other one is meant for XCB (let's call it disp.c).

    The question is, both "gcc scrn.c" and "gcc disp.c" get several "undefined reference" errors for functions supposed to belong to the libraries and, so, already defined in the proper header.

    Am I lacking any additional library? Must I place any additional symbolic link to the headers? If so, what one?

    Thanks a lot being there and for your help.
    Antonio

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Please post the following:

    1. The full error output of your make command.
    2. The contents of your Makefile.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...