Results 1 to 5 of 5

Thread: compiling kbbmc

Hybrid View

  1. #1

    compiling kbbmc

    g++ -I/usr/local/qt/include -L/usr/local/qt/lib -L/usr/X11R6/lib -lqt -lX11 -lXext -o kbbmc kbbmc-0.2.0.cpp

    (Substitute the proper lib & include directories as appropriate)* Then copy the resulting executable to a directory that is included in your PATH.
    That is what it tells me to do on the site. This is what I put
    [daniel@daniel kbbmc]$ g++ -I/usr/lib/qt-2.3.1/include -L/usr/lib/qt-2.3.1/ -L/usr/X11R6/lib -lqt -lX11 -lXext -o kbbmc kbbmc-0.2.0.cpp
    /usr/bin/ld: cannot find -lqt
    collect2: ld returned 1 exit status
    This is redhat 7.2 what should I change to compile this thing?

  2. #2

    Re: compiling kbbmc

    hmm looks like the include dir is wrong and your ld cant find qt ..
    do a export | grep qt and look if you can find a QTDIR variable, if so then try to use that as a include directory ..
    else add your qt dir do /etc/ and do a ldconfig afterwards.

  3. #3

    Re: compiling kbbmc

    [daniel@daniel daniel]$ export | grep qt
    declare -x QTDIR="/usr/lib/qt-2.3.1"
    I tried changing where it said qt to QTDIR but then it said
    /usr/bin/ld: cannot find -lQTDIR
    and has /usr/lib/qt-2.3.1/lib. Should I try adding /usr/lib/qt-2.3.1? or am I doing something else wrong

  4. #4

    Re: compiling kbbmc


    this is an attempt to prevent this topic from being forgotten

  5. #5

    Re: compiling kbbmc

    have you tried it with adding the /usr/lib/qt-2.3.1/ to the include dir

Similar Threads

  1. Kernel 2.6 Compiling PET
    By pbharris in forum Linux - General Topics
    Replies: 5
    Last Post: 07-08-2004, 02:09 PM
  2. compiling
    By friskydrifter in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 07-23-2002, 02:55 AM
  3. Compiling PHP-4.2.1
    By Ashcrow in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 06-30-2002, 09:59 PM
  4. Help with compiling GLE...
    By Daedra in forum Linux - General Topics
    Replies: 3
    Last Post: 03-01-2002, 10:24 PM
  5. LFS - Help - Compiling gcc
    By gmoreno in forum Linux - General Topics
    Replies: 6
    Last Post: 02-10-2002, 02:58 PM


Posting Permissions

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