Sign in Join

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

Mailing lists / lazarus / 2002-06

Compile fails: FORMS not found.

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Stefan. Hille
to Nikolai Zhubr: Perhaps it's a very stupid newbie question, but still I haven't found it in FAQs so i'll…
Nikolai Zhubr wrote 6 lines
Hi, Yes, 'make' fixed the problem. Thanks a lot. BTW. I looked at the executable file size for a simplest project and was surprised how large it is, compared to that produced by Delphi. Almost 10 times or so. Not that I'm going to criticize this, but just curious, is it a real necessity or it could be optimized in future?
Try
   strip --strip-all YourSimpleProjectExe

This will remove debug information from your executable and it should shrink to approx. 1/3 of its original size. I assume it will still be much larger than a comparable delphi project but we'll have to go into that later.

bye
Stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Nikolai Zhubr

Hi,
Perhaps it's a very stupid newbie question, but still I haven't found it in FAQs so i'll ask.
I've just downloaded lazarus binaries and fpc and tried to compile some minimal (1 button) project. But, compile fails with a message about FORMS unit not found. I've downloaded lazarus sources as well, but i have a feeling that souces should not be necessary for compile as 'Compiler options -> other unit files' referes to lcl/units directory which already contains compiled units. So, it looks like fpc somewhy refuses to see them. (The same thing happens when starting fpc directly with all those dirs mentioned in -Fu) Any hints appreciated.

Best regards, Nikolai Zhubr

Reply by email

Nikolai Zhubr
to Nikolai Zhubr

Hi,
Yes, 'make' fixed the problem. Thanks a lot.
BTW. I looked at the executable file size for a simplest project and was surprised how large it is, compared to that produced by Delphi. Almost 10 times or so. Not that I'm going to criticize this, but just curious, is it a real necessity or it could be optimized in future?

Best regards, Nikolai Zhubr Saturday, 01 June, 2002, 20:01:54, wrote: > On Sat, 1 Jun 2002 02:33:03 +0400 > Nikolai Zhubr wrote: >> Hi, >> Perhaps it's a very stupid newbie question, but still I haven't >> found it in FAQs so i'll ask. >> I've just downloaded lazarus binaries and fpc and tried to compile >> some minimal (1 button) project. But, compile fails with a message >> about FORMS unit not found. I've downloaded lazarus sources as well, >> but i have a feeling that souces should not be necessary for compile >> as 'Compiler options -> other unit files' referes to lcl/units >> directory which already contains compiled units. So, it looks like >> fpc somewhy refuses to see them. (The same thing happens when starting >> fpc directly with all those dirs mentioned in -Fu) >> Any hints appreciated. > There is probably a conflict between your fpc version and the fpc version used for building the binary. > Plz download the lazarus sources (cvs or snapshot) and compile them manually: > bash > export > cvs login > the password is 'cvs' > cvs -z3 checkout lazarus > make clean all > Mattias > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Mattias Gaertner
to Nikolai Zhubr: Perhaps it's a very stupid newbie question, but still I haven't found it in FAQs so i'll…
Show quoted text 12 lines
Hi, Perhaps it's a very stupid newbie question, but still I haven't found it in FAQs so i'll ask. I've just downloaded lazarus binaries and fpc and tried to compile some minimal (1 button) project. But, compile fails with a message about FORMS unit not found. I've downloaded lazarus sources as well, but i have a feeling that souces should not be necessary for compile as 'Compiler options -> other unit files' referes to lcl/units directory which already contains compiled units. So, it looks like fpc somewhy refuses to see them. (The same thing happens when starting fpc directly with all those dirs mentioned in -Fu) Any hints appreciated.

There is probably a conflict between your fpc version and the fpc version used for building the binary. Plz download the lazarus sources (cvs or snapshot) and compile them manually:

bash
export
cvs login

the password is 'cvs'

cvs -z3 checkout lazarus
make clean all

Mattias

Reply by email