Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Cross Compiling to Linux from Vista 15 years 3 months ago #105

  • Keith Johnson
  • Keith Johnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
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.

Re:Cross Compiling to Linux from Vista 15 years 1 month ago #111

  • Kjow
  • Kjow's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
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. :)

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

Last edit: by Kjow.

Re:Cross Compiling to Linux from Vista 13 years 9 months ago #419

  • Delphi
  • Delphi's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
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.

Re:Cross Compiling to Linux from Vista 13 years 9 months ago #420

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
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

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

Last edit: by Sternas Stefanos.

Re:Cross Compiling to Linux from Vista 13 years 9 months ago #421

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
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

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

Last edit: by Sternas Stefanos.

Re:Cross Compiling to Linux from Vista 13 years 9 months ago #424

  • Delphi
  • Delphi's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
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.

Re:Cross Compiling to Linux from Vista 13 years 9 months ago #425

  • administrator
  • administrator's Avatar
  • Visitor
  • Visitor
Yes, this "LCLBase" package in SVN, has many many problems...

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

  • Page:
  • 1