Caliga
June 1st, 2009, 07:47 PM
Hello, after being advised by some of the good chaps on this forum to use QT Creator as my IDE (it has all the feautres I need) I downloaded and installed it. WHen trying to build a small text application I get the following build error:
:-1: error: collect2: ld returned 1 exit status
In more detail in the compile section:
p, li { white-space: pre-wrap; } Running build steps for project Test...
Configuration unchanged, skipping QMake step.
Starting: /usr/bin/make -w
make: Entering directory `/home/caliga/Test'
g++ -Wl,-rpath,/home/caliga/qtsdk-2009.02/qt/lib -o Test main.o mainwindow.o moc_mainwindow.o -L/home/caliga/qtsdk-2009.02/qt/lib -lQtGui -L/home/caliga/qtsdk-2009.02/qt/lib -L/usr/X11R6/lib -pthread -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make: *** [Test] Error 1
make: Leaving directory `/home/caliga/Test'
Exited with code 2.
Error while building project Test
When executing build step 'Make'
Any idea how to go about fixing this? IM relitively new to Linux, so baby steps would be greately apreciated. Especially if you have a simple "apt-get" answer to this :]
Love and peace <3
:-1: error: collect2: ld returned 1 exit status
In more detail in the compile section:
p, li { white-space: pre-wrap; } Running build steps for project Test...
Configuration unchanged, skipping QMake step.
Starting: /usr/bin/make -w
make: Entering directory `/home/caliga/Test'
g++ -Wl,-rpath,/home/caliga/qtsdk-2009.02/qt/lib -o Test main.o mainwindow.o moc_mainwindow.o -L/home/caliga/qtsdk-2009.02/qt/lib -lQtGui -L/home/caliga/qtsdk-2009.02/qt/lib -L/usr/X11R6/lib -pthread -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make: *** [Test] Error 1
make: Leaving directory `/home/caliga/Test'
Exited with code 2.
Error while building project Test
When executing build step 'Make'
Any idea how to go about fixing this? IM relitively new to Linux, so baby steps would be greately apreciated. Especially if you have a simple "apt-get" answer to this :]
Love and peace <3