Sign in Join

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

Mailing lists / fpc-pascal / 2002-11

Problem building program in IDE.

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Mikael Bak

Hi,

I'm rather new to freepascal, so what I'm asking may be quite trivial. I tried to find the answer by searching google, but without any success.

I'm using the Linux version, downloaded from here: ftp://ftp.freepascal.org/pub/fpc/dist/Linux/fpc-1.0.6.ELF.tar

I'm trying to build one of the example programs illustrating how to build a Unix socket server using the FCL.

When I build from command line, everything is OK.
But I can't build this example program from the IDE. I think this has to do with search paths ot something, but I can't figure out what to edit.

If I write a program that doesn't use the FCL, then I can build it pressing F9 in the IDE without problem, so it's just the FCL giving me headace.

What should I do?

TIA,
Mikael Bak
Budapest, Hungary

Marco van de Voort
to Mikael Bak
Show quoted text 17 lines
I'm rather new to freepascal, so what I'm asking may be quite trivial. I tried to find the answer by searching google, but without any success. I'm using the Linux version, downloaded from here: ftp://ftp.freepascal.org/pub/fpc/dist/Linux/fpc-1.0.6.ELF.tar I'm trying to build one of the example programs illustrating how to build a Unix socket server using the FCL. When I build from command line, everything is OK. But I can't build this example program from the IDE. I think this has to do with search paths ot something, but I can't figure out what to edit. If I write a program that doesn't use the FCL, then I can build it pressing F9 in the IDE without problem, so it's just the FCL giving me headace. What should I do?

(note that the manual has a chapter about the IDE with screenshots)

Go to the options->directories menu, add the entire unit path to the unitdirectory path.

Probably something like /usr/local/lib/fpc/1.0.6/units/linux/* but check this for your own OS (maybe you have to remove "local/"), and don't forget the asterisk.

Mikael Bak
to Marco van de Voort

Marco,

(note that the manual has a chapter about the IDE with screenshots)

I missed that part. Sorry!

Go to the options->directories menu, add the entire unit path to the

unitdirectory path.

Probably something like /usr/local/lib/fpc/1.0.6/units/linux/* but check

this for your own

OS (maybe you have to remove "local/"), and don't forget the asterisk.

It works great now. Thank you very much for the quick help!

Mikael