Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
Linux
»
Cannot find -lgtk (when linking)
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
v3.99 code completion que...
by
440bx
[
Today
at 12:45:55 am]
FpDebug breakpoint on "be...
by
440bx
[
Today
at 12:36:23 am]
Generics - correct syntax
by
jamie
[
Today
at 12:09:16 am]
Access violation when re-...
by
TRon
[April 19, 2024, 11:44:51 pm]
[solved] how to get class...
by
jamie
[April 19, 2024, 11:34:44 pm]
Lazarus for Windows on aa...
by
Wallaby
[April 19, 2024, 10:52:25 pm]
Demoscene The Champs Crac...
by
KodeZwerg
[April 19, 2024, 10:36:21 pm]
Poll: Watches and Display...
by
440bx
[April 19, 2024, 07:13:51 pm]
InstallAware Using Lazaru...
by
marcov
[April 19, 2024, 04:46:46 pm]
Who is Indy mattias?
by
paweld
[April 19, 2024, 04:17:53 pm]
I just released a commerc...
by
BrassGear
[April 19, 2024, 03:17:28 pm]
Does anyone know why thes...
by
Laksen
[April 19, 2024, 03:04:14 pm]
Database standards OR Am ...
by
gidesa
[April 19, 2024, 02:37:56 pm]
How to: create DLL file f...
by
TRon
[April 19, 2024, 02:26:53 pm]
A fairly simple sound sol...
by
paweld
[April 19, 2024, 01:46:11 pm]
Access violation when ope...
by
Чебурашка
[April 19, 2024, 12:27:34 pm]
Step-into the field sette...
by
Martin_fr
[April 19, 2024, 11:31:48 am]
AI, NLP and CAI: Text Gen...
by
Dzandaa
[April 19, 2024, 11:03:26 am]
dwindows for Android
by
PierceNg
[April 19, 2024, 10:54:44 am]
create system unit from s...
by
Laksen
[April 19, 2024, 10:53:57 am]
[Solved] Find child contr...
by
Joanna
[April 19, 2024, 09:53:43 am]
FpDebug unexpected Assemb...
by
Marc
[April 19, 2024, 08:46:38 am]
Offical launch of the 1 B...
by
Handoko
[April 19, 2024, 07:59:07 am]
Big Numbers Math
by
iLya2IK
[April 19, 2024, 07:13:20 am]
BUG REPORT: Unable to gen...
by
dbannon
[April 19, 2024, 06:29:49 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Cannot find -lgtk (when linking) (Read 9875 times)
Ger
Guest
Cannot find -lgtk (when linking)
«
on:
February 20, 2004, 10:06:05 am »
When trying to compile a simple project (initial form + 1 button added) I get :
TOutputFilter: "Compiling /tmp/project1.lpr"
TOutputFilter: "Linking /tmp/project1"
TOutputFilter: "/usr/bin/ld: cannot find -lgtk"
TOutputFilter: "project1.lpr(12,1) Error: Error while linking"
TOutputFilter: "Closing script ppas.sh"
Running on Suse 9.0 with KDE 3.2
Any ideas appreciated
Ger
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
Cannot find -lgtk (when linking)
«
Reply #1 on:
February 20, 2004, 01:14:13 pm »
Have you read the FAQ:
http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=2#9
And this topic:
http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=146
Does it help you?
Logged
Anonymous
Guest
Cannot find -lgtk (when linking)
«
Reply #2 on:
February 20, 2004, 05:22:53 pm »
All .dev's are installed (or at least so reports the SuSE installer )
These are the .a files I can find
/opt/gnome/lib/gtk-2.0/2.2.0/engines/libcrux-engine.a
/opt/gnome/lib/gtk-2.0/2.2.0/engines/libhcengine.a
/opt/gnome/lib/gtk-2.0/2.2.0/engines/liblighthouseblue.a
/opt/gnome/lib/gtk-2.0/2.2.0/engines/libmist.a
/opt/gnome/lib/gtk-2.0/2.2.0/engines/libsvg.a
/opt/gnome/lib/gtk-2.0/2.2.0/immodules/im-gucharmap.a
/opt/gnome/lib/gtk-2.0/2.2.0/loaders/svg_loader.a
/opt/gnome/lib/gtk-2.0/modules/libgal-a11y-2.0.a
/opt/gnome/lib/gtkhtml/libgnome-gtkhtml-editor-3.0.a
/opt/gnome/lib/libgconf-gtk-1.a
/opt/gnome/lib/libgtk.a
/opt/gnome/lib/libgtkgl.a
/opt/gnome/lib/libgtkhtml-2.a
/opt/gnome/lib/libgtkhtml-3.0.a
/opt/gnome/lib/libgtkhtml-a11y-3.0.a
/usr/lib/fpc/1.9.3/units/linux/fpgtk/libpfpglib.a
/usr/lib/fpc/1.9.3/units/linux/fpgtk/libpfpgtk.a
/usr/lib/fpc/1.9.3/units/linux/fpgtk/libpfpgtkext.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgdk.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgdkpixbuf.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpglib.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgmodule.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgtk.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgtkglarea.a
/usr/lib/gimp/1.2/modules/libcolorsel_gtk.a
/usr/lib/ocaml/lablgtk/lablgtk.a
/usr/lib/ocaml/lablgtk/liblablgtk.a
Dunno what else I can look for
Ger
Logged
Marc
Administrator
Hero Member
Posts: 2584
Cannot find -lgtk (when linking)
«
Reply #3 on:
February 20, 2004, 05:36:31 pm »
is /opt/gnome/lib/ part of your fpc.cfg ?
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Anonymous
Guest
Cannot find -lgtk (when linking)
«
Reply #4 on:
February 20, 2004, 08:41:46 pm »
Adding the line to fpc.cfg crashes the IDE
TOutputFilter: "Hint: Start of reading config file /etc/fpc.cfg"
TOutputFilter: "Hint: End of reading config file /etc/fpc.cfg"
TOutputFilter: "Free Pascal Compiler version 1.9.3 [2004/02/02] for i386"
TOutputFilter: "Copyright (c) 1993-2004 by Florian Klaempfl"
TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Compiling /home/ger/Lazarus/BoardDesign/project1.lpr"
TOutputFilter: "Linking /home/ger/Lazarus/BoardDesign/project1"
TOutputFilter: "15 Lines compiled, 1.8 sec"
[TCompiler.Compile] end
[TDebugManager.DoInitDebugger] A
[TCmdLineDebugger] Debug PID: 4753
Gdk-ERROR **: BadWindow (invalid Window parameter)
serial 18893 error_code 3 request_code 10 minor_code 0
Logged
Anonymous
Guest
Cannot find -lgtk (when linking)
«
Reply #5 on:
February 22, 2004, 02:39:21 am »
Problem solved.
It's not Lazarus or fpc, it's my machine (Athlon 1.1 Ghz) that's going awry.
I tried it on an Intel 800 Mhz and a 2.8 Ghz and it worked okay on both.
Ger
Logged
Marc
Administrator
Hero Member
Posts: 2584
Cannot find -lgtk (when linking)
«
Reply #6 on:
February 22, 2004, 07:36:23 pm »
That badwindow now and then pops up. It is something with debugging, gdb, X and lazarus
I'm investigating it, however the problem disapeared here (no clue why)
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Anonymous
Guest
Cannot find -lgtk (when linking)
«
Reply #7 on:
February 23, 2004, 10:18:28 am »
My workstation is a NIS-client and I suspect that to be the reason. After disabling NIS I reinstalled Lazarus and FPC, they both work okay now. Will try to track down what the problem is because NIS is the standard installation here.
Ger
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Installation
»
Linux
»
Cannot find -lgtk (when linking)
TinyPortal
© 2005-2018