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

TOPIC:

cross compile problems CodeTyphon 4.6 10 years 11 months ago #4773

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
CodeTyphon 4.6
xubuntu 64
add-architecture i386

Cross compile: linux i386
path library: /usr/lib/codetyphon/binLibraries/i386-linux/
project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure
/usr/lib/codetyphon/fpc/bin/x86_64-linux/i386-linux-ld: warning: link.res contains output sections; did you forget -T?
/usr/lib/codetyphon/fpc/bin/x86_64-linux/i386-linux-ld: cannot find -lcairo-gobject
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping

Cross compile: linux arm
path library: /usr/lib/codetyphon/binLibraries/arm-linux-pi/
Options changed, recompiling clean with -B
project1.lpr(22) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtn.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtn.o" not found, this will probably cause a linking failure
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: warning: link.res contains output sections; did you forget -T?
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: cannot find -lcairo-gobject
project1.lpr(22) Error: Error while linking
project1.lpr(22) Fatal: There were 1 errors compiling module, stopping

CodeTyphon 4.5 work no problems

Can anyone help me with this?

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

cross compile problems CodeTyphon 4.6 10 years 11 months ago #4774

  • 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 now
give us time

Which Components use your project ?
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

cross compile problems CodeTyphon 4.6 10 years 11 months ago #4775

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
thanks sternas!

android application compile OK.

Cross compile: android arm
path library: /usr/lib/codetyphon/binLibraries/android-4.0-api14-arm/
I did not create the apk so I do not know whether runs on Android

compile: /usr/lib/codetyphon/CodeOcean/2_Basics/samples/androidlcl/androidlcltest.lpi
change path: /usr/lib/codetyphon/binLibraries/android-4.0-api14-arm/
add path: CustomSqliteDS
compile OK!

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

cross compile problems CodeTyphon 4.6 10 years 11 months ago #4776

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We have update libraries for :
-arm-linux-pi
-i386-linux
-x86_64-linux
with libcairo-gobject.so
please download and test again
Our test working OK
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

cross compile problems CodeTyphon 4.6 10 years 11 months ago #4779

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
thanks sternas!

cp /usr/lib/codetyphon/binLibraries/arm-linux-pi/libcairo-gobject.so.2 /usr/lib/codetyphon/binLibraries/arm-linux-pi/libcairo-gobject.so
linux arm compile OK

cp cp /usr/lib/codetyphon/binLibraries/arm-linux-pi/libcairo-gobject.so.2 /usr/lib/codetyphon/binLibraries/i386-linux/libcairo-gobject.so
not compile linux i386
cp cp /usr/lib/codetyphon/binLibraries/arm-linux-pi/libcairo-gobject.so.2 /usr/lib/i386-linux-gnu/libcairo-gobject.so
not compile linux i386

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

cross compile problems CodeTyphon 4.6 10 years 11 months ago #4785

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Download the new libraries from our site Sir here
or use CTC/"download Libraries" dialog


PilotLogic Architect and Core Programmer
The following user(s) said Thank You: zeljko

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

Last edit: by Sternas Stefanos.

cross compile problems CodeTyphon 4.6 10 years 11 months ago #4788

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
thanks sternas!

work
arm-linux-pi
i386-linux

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

  • Page:
  • 1