Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11425

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Hello.

Suddently, after use of cross compiling to Android for a project, all other CT projects (not cross-compiled) fail to compile with that errors:

Compile package adFCL 6.3.1: Exit code 256, Errors: 1
fcllaz.pas(11,3) Fatal: Cannot find db used by fcllaz of package adFCL.

What appends?

Thanks.

Fre;D

Please Log in or Create an account to join the conversation.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11426

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Your CT version ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11427

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
> Your CT version ?

Typhon IDE version 6.3
Date: 2018-01-28
FPC version: 3.1.1
x86_64-linux-gtk2

Please Log in or Create an account to join the conversation.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11428

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
My suggestion is
"Remove and build ALL " action
from CTCenter=>CodeTyphon

Your OS ? and RAM ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11429

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
>Your OS ?
Linux Mint 17 64 bit.

>and RAM ?
4 gigas.

>My suggestion is "Remove and build ALL "

:(

OK.

Please Log in or Create an account to join the conversation.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11430

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
4Gbytes RAM only, is a problem on 64bit systems
for BIG IDE with full packages.

In our LAB tests FPC 3.1.1 64bit request about 3.2 Gbytes of RAM to build Full BIG IDE

We test Full BIG IDE 64bit on 8Gbytes RAM PCs

The solution is to Build "Medium Big IDE" more info
with about 60 packages.
or
to selects your Big IDE packages "plan"

-Big Small IDE with CTCenter
-open Small IDE and select packages (or click to Medium Big IDE button)
-rebuild IDE

FreePascal 3.1.1 use a lot of memory and this is a Big Problem...

PS: "Remove and Build" is normal procedure in CodeTyphon Studio.
We remove and build FreePascal or Typhon or both, every 10 minutes in our lab for our tests ....

Now I finish my test with Typhon64 for QT4 on MacOS 10.13.3
and I will "remove and build" Typhon64 for QT5 on MacOS 10.13.3
for our tests...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11431

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Hello Sternas.
Ooops, now tat I try to rebuild CT --->

??????????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon64 Small IDE x86_64-linux-gtk2 NOT Build
??????????????????????????????????????????????????????????

==============================================================
Build Typhon64 BIG IDE x86_64-linux-gtk2 for Linux
==============================================================


[ERROR]: Sorry, Typhon64 from Small-IDE NOT Build
please remove and build Typhon again...


So, like you said it must be a RAM problem...

> The solution is to Build Small IDE with CTCenter

Ha , ok, I will try this.

Suggestion: Maybe you may add in script:

9) Remove all and Build FPC + Small IDE.

Fre;D

Please Log in or Create an account to join the conversation.

Last edit: by fredvs.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11432

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Yes this is an Option

but you can "Remove ALL"
and build "Typhon Small IDE" with CTCenter

CTCenter will build and FPC...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11433

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1

FreePascal 3.1.1 use a lot of memory and this is a Big Problem...


Huh, does it use more memory than 3.0.4 ?
Do you know why so much more memory are used ?

Fre;D

Please Log in or Create an account to join the conversation.

Last edit: by fredvs.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11434

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
> but you can "Remove ALL"and build "Typhon Small IDE" with CTCenter

I did try with CTCenter to build small ide but still:

[INFO]: Clean Tools Directory
/usr/local/codetyphon/typhon/packager/registration/fcllaz.pas(11,3) Fatal: (10022) Can't find unit db used by fcllaz
Fatal: (1018) Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory `/usr/local/codetyphon/typhon/packager/registration'
make: *** [registration] Error 2
mv: cannot stat ‘typhon’: No such file or directory
mv: cannot stat ‘typhonstart’: No such file or directory
mv: cannot stat ‘typhonbuild’: No such file or directory
mv: cannot stat ‘tools/ctres’: No such file or directory
mv: cannot stat ‘tools/ctlrstofrm’: No such file or directory

Please Log in or Create an account to join the conversation.

Last edit: by fredvs.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11435

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
FPC 3.1.1 request Double of RAM from FPC 3.0.4
I don't know why ...:(

can you save and attach the Action Log file here ? (zip first)
More Info Here
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11436

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Hello Sternas.

I get the bandit ;)
It comes from here :

Hint: (11030) Start of reading config file /home/fred/.fpc.cfg
Hint: (11031) End of reading config file /home/fred/.fpc.cfg


----> What is that /home/fred/.fpc.cfg doing there (and hidden!).
After deleting that file, all compile perfectly, even Big IDE.

Question: Why was that /home/fred/.fpc.cfg file added and when?

Thanks.

Fre;D

PS: Other suggestion: In the script "Remove ALL" ----> remove please also.fpc.cfg

Please Log in or Create an account to join the conversation.

Last edit: by fredvs.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11437

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Good night and have fun my friend.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11439

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
> Good night

Not yet :(

Warning: windres... not found
main_sp.pas(765,3) Error: resource compiler "windres" not found, switching to external mode
Error: /usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/ppcx64 can't be executed, error message: Failed to execute "/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/ppcx64", error code: -11


Huh, windres is needed for Linux?

Here I am loosed.

Fre;D

PS: But you are right, better stop now, tomorrow will be clearer.

Please Log in or Create an account to join the conversation.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11440

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Hello.

I did find the cause of the error message:
Error: resource compiler "windres" not found, switching to external mode

It is:
{$R *.lfm}

---> with fpc 3.1.1, is there no more ressource compiler included?

In code, any {$R ... } is not compiled any more ;-(

Huh, using fpc 3.0.4 ---> no problem, ressource are compiled.

Or maybe I miss something.

:(

Fre;D

Please Log in or Create an account to join the conversation.

Fatal: Cannot find db used by fcllaz after cross-compiling. 6 years 8 months ago #11442

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
> Error: resource compiler "windres" not found, switching to external mode

No success, I did try everything, re-installing, deleting fpc.cfg and .fpc.cfg files, ... no luck.

Always "resource compiler "windres" not found".

The good news is that if I create a new project (with Project > New Project) the compilation is ok (and fpcres is searched (and found) in place of windres).

So the problem must come from the conversion of lpi ---> ctpr.

I did analyze the ctpr but I do not see where the ressource compiler is defined.

:(

Fre;D

Please Log in or Create an account to join the conversation.

  • Page:
  • 1