Results 1 to 4 of 4

Thread: VentriloCrtl 0.4 doesn't work (Compilation problem)

  1. #1
    Join Date
    May 2008
    Location
    Canada QC
    Beans
    19
    Distro
    Ubuntu 8.04 Hardy Heron

    VentriloCrtl 0.4 doesn't work (Compilation problem)

    I'm trying to compile ventriloctrl-0.4 and it seems like it doesn't want to work
    (in the terminal)when i go to the ventriloctrl's folder and make the file
    Code:
    make
    I get this big error I don't know what's going on...
    Code:
    boris@boris-desktop:~/Documents/ventriloctrl-0.4$ make
    gcc -Wall -O3 -o ventriloctrl ventriloctrl.c -lX11 -lXevie
    ventriloctrl.c:14:22: error: X11/Xlib.h: No such file or directory
    ventriloctrl.c:15:24: error: X11/keysym.h: No such file or directory
    ventriloctrl.c:16:34: error: X11/extensions/Xevie.h: No such file or directory
    ventriloctrl.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘createKeyEvent’
    ventriloctrl.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    ventriloctrl.c: In function ‘main’:
    ventriloctrl.c:96: error: ‘Display’ undeclared (first use in this function)
    ventriloctrl.c:96: error: (Each undeclared identifier is reported only once
    ventriloctrl.c:96: error: for each function it appears in.)
    ventriloctrl.c:96: error: ‘display’ undeclared (first use in this function)
    ventriloctrl.c:97: error: ‘Window’ undeclared (first use in this function)
    ventriloctrl.c:97: error: expected ‘;’ before ‘winRoot’
    ventriloctrl.c:98: error: ‘winFocus’ undeclared (first use in this function)
    ventriloctrl.c:113: error: ‘XEvent’ undeclared (first use in this function)
    ventriloctrl.c:113: error: expected ‘;’ before ‘xev’
    ventriloctrl.c:114: error: ‘XKeyEvent’ undeclared (first use in this function)
    ventriloctrl.c:114: error: expected ‘;’ before ‘event’
    ventriloctrl.c:116: warning: implicit declaration of function ‘XOpenDisplay’
    ventriloctrl.c:122: warning: implicit declaration of function ‘XevieStart’
    ventriloctrl.c:127: warning: implicit declaration of function ‘XevieSelectInput’
    ventriloctrl.c:127: error: ‘KeyPressMask’ undeclared (first use in this function)
    ventriloctrl.c:127: error: ‘KeyReleaseMask’ undeclared (first use in this function)
    ventriloctrl.c:131: error: ‘winRoot’ undeclared (first use in this function)
    ventriloctrl.c:131: warning: implicit declaration of function ‘XDefaultRootWindow’
    ventriloctrl.c:132: warning: implicit declaration of function ‘find_window’
    ventriloctrl.c:146: warning: implicit declaration of function ‘XNextEvent’
    ventriloctrl.c:146: error: ‘xev’ undeclared (first use in this function)
    ventriloctrl.c:150: warning: implicit declaration of function ‘XLookupKeysym’
    ventriloctrl.c:158: error: ‘KeyPress’ undeclared (first use in this function)
    ventriloctrl.c:160: error: ‘event’ undeclared (first use in this function)
    ventriloctrl.c:160: warning: implicit declaration of function ‘createKeyEvent’
    ventriloctrl.c:161: warning: implicit declaration of function ‘XSendEvent’
    ventriloctrl.c:161: error: ‘True’ undeclared (first use in this function)
    ventriloctrl.c:161: error: expected expression before ‘)’ token
    ventriloctrl.c:162: warning: implicit declaration of function ‘XFlush’
    ventriloctrl.c:165: error: ‘KeyRelease’ undeclared (first use in this function)
    ventriloctrl.c:180: error: expected expression before ‘)’ token
    ventriloctrl.c:186: warning: implicit declaration of function ‘XevieSendEvent’
    ventriloctrl.c:186: error: ‘XEVIE_UNMODIFIED’ undeclared (first use in this function)
    make: *** [all] Error 1
    When I run the runctrl.sh I get this error:
    Code:
    boris@boris-desktop:~/Documents/ventriloctrl-0.4$ ./runctrl.sh
    ./ventriloctrl: 6: Syntax error: word unexpected (expecting ")")

  2. #2
    Join Date
    Jul 2008
    Beans
    14

    Re: VentriloCrtl 0.4 doesn't work (Compilation problem)

    I am having the same problem anyone have a solution

  3. #3
    Join Date
    Aug 2008
    Beans
    7

    Re: VentriloCrtl 0.4 doesn't work (Compilation problem)

    Me to this sucks

  4. #4
    Join Date
    Aug 2008
    Beans
    1

    Re: VentriloCrtl 0.4 doesn't work (Compilation problem)

    Quote Originally Posted by quantum-positron View Post
    I am having the same problem anyone have a solution
    Open the terminal and enter:
    Code:
    sudo apt-get install xorg-dev

Bookmarks

Posting Permissions

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