× CodeTyphon Cross-Build Development, discussions and problems

Question Cross Compiling to Linux from Vista

  • Keith Johnson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 months ago #105 by Keith Johnson
Cross Compiling to Linux from Vista was created by Keith Johnson
Hi,

Thanks for this great product.
I'm having problems cross-compiling to Linux from Vista.
Here is my error ->

C:\pp\bin\i386-win32\i386-linux-ld.exe: cannot find -lX11
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping

I've also tried clean installing as Administrater too.

I have tried searching the internet on this, but it appears it's mainly goes on about Linux, the only thing I found about windows was this ->
forum.lazarus.freepascal.org/index.php?topic=5439.0
But that goes on about how cross-compiling isn't a good idea. :dry:
And how VirtualBox/VmWare was better, but I'd rather have the one development environment if possible, and keep Virtualbox for testing.

One thing I have noticed is that directory ->
C:\lazarus\lcl\units\i386-linux\win32
Has all gk2 files, is that correct?

Also any plans on adding MacOSX, that would really make it the perfect cross compiler.

Regards

Keith..

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

More
12 years 1 month ago - 12 years 1 month ago #111 by Kjow
Replied by Kjow on topic Re:Cross Compiling to Linux from Vista
Hi,

same problem here, but from Win7. I noticed that the problem is present in all linux targets (arm-linux cross-compiling too).

Other thing I noticed is that I can't cross-compile nothing from Linux: I installed CodeTyphon in Ubuntu 9.10, but in menu I haven't any choise.

A nice feature that will be great is to cross-compile a project in all targets (Windows, Linux, MacOSX, WinCE-arm, Linux-arm [maemo?;)]) we want in one click. (for example: a list of checkboxes with all targets).

Other nice thing is to use GLScene in arm platform (WinCE-arm and Linux-arm).

Thank you for great job. :)
Last edit: 12 years 1 month ago by Kjow.

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

More
10 years 10 months ago #419 by Delphi
Replied by Delphi on topic Re:Cross Compiling to Linux from Vista
I am having this problem in Windows XP. Can someone explain what is happening here?

I would appreciate it. I am trying out CodeTyphon for the first time.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
10 years 10 months ago - 10 years 10 months ago #420 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re:Cross Compiling to Linux from Vista
Thanks Sir
You must copy Unix libraries from target system
for all unix crossbuilds...
Compiler try to find these libraies to link
the libraries procedures/functions addresses in the executable...

LAB News for CodeTyphon 1.30 until now

-ADD pl_ExDesign (with object explorer)
-ADD pl_ExSystem
-ADD pl_freespider 1.2.3
-ADD pl_TitanScript
-ADD pl_Moon
-ADD pl_SynapseVS
-ADD pl_KambiEngine

-Update pl_Graphics32 (SVN 19-1-2011)
-Update pl_Synapse (SVN 04-2-2011)
-Update pl_PasDoc (SVN 21-1-2011)
-Update pl_GLScene (SVN 23-1-2011)

and many new samples to CodeOcean...

PilotLogic Architect and Core Programmer
Last edit: 10 years 10 months ago by Sternas Stefanos.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
10 years 10 months ago - 10 years 10 months ago #421 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re:Cross Compiling to Linux from Vista
We working on this Sir

LAB 1.30 version
has the new GLScene from SVN

but NO support for WinCE-arm
GLScene has some Assembly code only for Intel CPU not for ARM.
Someone must port this code...

PilotLogic Architect and Core Programmer
Last edit: 10 years 10 months ago by Sternas Stefanos.

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

More
10 years 9 months ago #424 by Delphi
Replied by Delphi on topic Re:Cross Compiling to Linux from Vista
Thank you so much for replying.

Not knowing which libraries to move from Linux, or where to place them, I decided to just install an .RPM Linux distro and see if I have much more luck installing a daily snapshot of Lazarus as the .deb packages are currently buggy ( mantis.freepascal.org/view.php?id=18656 ) and will not install Lazarus correctly on Ubuntu.

Again, Thank you.

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

  • administrator
  • Visitor
  • Visitor
10 years 9 months ago #425 by administrator
Replied by administrator on topic Re:Cross Compiling to Linux from Vista
Yes, this "LCLBase" package in SVN, has many many problems...

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