ich bin hier neu.
Als alter Delphi-Programmierer finde ich die theoretische Möglichkeit über eine IDE für verschiede Plattformen Programme zu schreiben und zu kompilieren fantastisch.
LEIDER, LEIDER habe ich noch keine wirklich durchgängig funktionierende Anleitung zur Einrichtung einer solchen IDE unter Linux (KUBUNTU 14.04 LTS) gefunden.
mit den folgenden Anleitungen:
http://wiki.lazarus.freepascal.org/Cross_compiling/de
viewtopic.php?f=1&t=3361
und diesen Quellen:
http://sourceforge.net/projects/lazarus ... s%201.2.4/
ist mir einiges gelungen:
Erstellen einfacher Consolenanwendungen (nix GUI) für folgende Zielplattformen:
DOS(i386-win32, x86_64-win64), i386-linux, x86_64-linux, arm-linux
Leider sieht es bei GUI-Applikationen gar nicht so gut aus.
i386-Win32
x86_64-Win64
x86_64-linux
i386-linux
->kompilieren bzw. aufräumen & kompilieren
Code: Alles auswählen
...
/usr/share/lazarus/1.2.4/lcl/interfaces/gtk2/gtk2callback.inc(2257,30) Hint: Mixing signed expressions and longwords gives a 64bit result
»Kompiliere Package LCL 1.2.4« beendet
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -latk-1.0
testGui.lpr(20,1) Error: Error while linking
testGui.lpr(20,1) Fatal: There were 1 errors compiling module, stopping
arm/linux
->kompilieren bzw. aufräumen & kompilieren
Code: Alles auswählen
»Kompiliere Package FCL 1.0.1« beendet
»Kompiliere Package LazUtils 1.0« beendet
»Kompiliere Package LCLBase 1.2.4« beendet
»Kompiliere Package LCL 1.2.4« beendet
Einstellungen geändert, sauberes Neucompilieren mit -B
/usr/bin/arm-linux-ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/arm-linux-ld: cannot find -lpthread
/usr/bin/arm-linux-ld: cannot find -lX11
/usr/bin/arm-linux-ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/arm-linux-ld: cannot find -lgtk-x11-2.0
/usr/bin/arm-linux-ld: cannot find -lgdk-x11-2.0
/usr/bin/arm-linux-ld: cannot find -lgobject-2.0
/usr/bin/arm-linux-ld: cannot find -lglib-2.0
/usr/bin/arm-linux-ld: cannot find -lgthread-2.0
/usr/bin/arm-linux-ld: cannot find -lgmodule-2.0
/usr/bin/arm-linux-ld: cannot find -lpango-1.0
/usr/bin/arm-linux-ld: cannot find -lcairo
/usr/bin/arm-linux-ld: cannot find -latk-1.0
/usr/bin/arm-linux-ld: cannot find -ldl
/usr/bin/arm-linux-ld: cannot find -lc
testGui.lpr(22) Error: Error while linking
testGui.lpr(22) Fatal: There were 1 errors compiling module, stopping
ich gehe mal davon aus dass entweder diverse compilerschalter auf die richtigen Verzeichnisse (fp.cfg) fehlen oder ich noch irgendwo Pakete nachkopieren muss (fremde Umgebung).
Kann mir da jemand entscheidende Tipps geben???