Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » Link error on Linux
Link error on Linux [message #13814] |
Tue, 29 January 2008 02:39 |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |
|
|
Compiling examples with:
GUI NOGTK GCC FORCE_SPEED LINUX
first had link error, dl library wasn`t found. After some googling in WWW and in this forum, removed linking this library in Draw package. Then I have link error reporting that freetype library isn`t found. I searched available packages and installed everything containing freetype libs, but still no way to find it. After removing this library from list through Package organizer, I had numerous link errors where a number of libraries were not found: pthread, png, stdc++, ...
Exact original message was:
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
OS: Mandriva Linux 2007.1 Spring
U++: 2007.1
P.S. Removing NOGTK flak makes linking the same sorces without any problems. But I want to learn to be able to write non-GTK U++ stuff.
[Updated on: Tue, 29 January 2008 02:50] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Oct 08 01:56:26 CEST 2024
Total time taken to generate the page: 0.02978 seconds
|