Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-01

Error during linking.

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Cyril LAMY

Hello,

I have already install Freepascal on my computer but when i want to compile examples (gtk,xforms,..) from the package, I have the following error during linking :

/usr/bin/ld: cannot find -lX11
ex1.pp(24) Warning: Error while linking
Closing script ppas.sh
23 Lines compiled, 1.3 sec

and then i only have my .pp file and the .o file
How can i solve this problem ?

Peter Vreman
to Cyril LAMY
you wrote 13 lines
Hello, I have already install Freepascal on my computer but when i want to compile examples (gtk,xforms,..) from the package, I have the following error during linking : /usr/bin/ld: cannot find -lX11 ex1.pp(24) Warning: Error while linking Closing script ppas.sh 23 Lines compiled, 1.3 sec and then i only have my .pp file and the .o file How can i solve this problem ?

You also need to install the development packages from X11, gtk, xforms etc.

Peter