Recent

Author Topic: Error while linking  (Read 7160 times)

Theofilus

  • Guest
Error while linking
« on: September 24, 2003, 10:16:00 am »
When I compile a simple project I get the error

/usr//bin/ld: cannot find -lgtk
Project1.lpr(15) Error: Error while linking

I didn't see this in the FAQ. What could be wrong?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2530
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
Error while linking
« Reply #2 on: November 05, 2003, 08:17:57 pm »
I get the same error, and can find no corresponding package to install. gdk seems to be part of the package gtk, and I have installed this, as well at its -devel counterpart. Can someone please help?

Anonymous

  • Guest
Error while linking
« Reply #3 on: November 05, 2003, 08:23:36 pm »
Sorry, I misread the original message. The error which I get is "cannot find -lgdk".

Apologies for mistake.

Eric

Anonymous

  • Guest
Error while linking
« Reply #4 on: November 06, 2003, 11:52:34 am »
Quote from: "Anonymous"
Sorry, I misread the original message. The error which I get is "cannot find -lgdk".

Apologies for mistake.

Eric
Guest,

I've now found the solution. I had to add some library paths in the 'Compiler options' dialog. Mine now reads /lib/;/opt/gnome/lib/

Eric

 

TinyPortal © 2005-2018