Results 1 to 5 of 5

Thread: compiling kbbmc

  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
    Code:
    [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/ld.so.conf and do a ldconfig afterwards.

  3. #3

    Re: compiling kbbmc

    Code:
    [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
    Code:
    /usr/bin/ld: cannot find -lQTDIR
    and ld.so.conf 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

    anyonee..............

    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. Need help installing gnu make 3.80.0(fixed)
    By AljoshaNL in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 08-19-2005, 11:51 AM
  2. Sick of Compiling
    By kornp in forum Linux - General Topics
    Replies: 20
    Last Post: 11-29-2002, 04:05 AM
  3. Compiling a Kernel? How to?
    By tellurye in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 06-13-2002, 07:10 PM
  4. gtk compiling probs in rh7.2
    By in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 03-04-2002, 11:22 PM
  5. Kernel compiling is POSSIBLE!
    By Sekihmet in forum Linux Distros
    Replies: 12
    Last Post: 09-12-2001, 12:43 AM

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
  •