Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

[Closed] Ubuntu 12.04 Installation Issues 11 years 5 months ago #2757

  • BrianWinfrey
  • BrianWinfrey's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hello,

I wanted to report that I have some issues with the installation on Ubuntu 12.04.

[Desktop] The first issue I ran into was an OpenGL problem on one computer (using nouveaux on NV34 adapter). Lazarus would not start - unfortunately I did not note the error. I was able to work around the problem by making these changes in synaptics.

Edit: Do not do this. Lazarus wont re/build. Hosed system had to reinstall my system partition.
libsdl1.2-dev deinstall
libgl1-mesa-swx11 install
nvidia-settings deinstall
libglewmx1.5 install
ubuntu-desktop deinstall
jockey-common deinstall
libgtkglext1-dev deinstall
libosmesa6 install
libglu1-mesa-dev deinstall
freeglut3-dev deinstall
dkms install
libgl1-mesa-dev deinstall
nvidia-common deinstall
libgl1-mesa-glx deinstall
jockey-gtk deinstall


Both computers indicate "NOT Found !!!" on all libraries on CT's Libraries Tab.

Cross-Build "FPC32 build cross element arm-android" Failed for different reasons on both computers.

[Laptop]One indicates "Cross compiler ppcrossarm NOT builded sorry, build STOP".
[Desktop]The other "Cross element for arm-android NOT Exists sorry, build STOP".

I had previously ran Cross-Build > "FPC32 build cross element arm-linux" on
[Desktop], so I did the same on [Laptop]. Now both have the later error.

I tried to compile the androidlcltest project in examples and got this error:
Options changed, recompiling clean with -B
Hint: Start of reading config file /usr/lib/codetyphon/fpc/bin/i386-linux/fpc.cfg
Hint: End of reading config file /usr/lib/codetyphon/fpc/bin/i386-linux/fpc.cfg
Free Pascal Compiler version 2.7.1 [2012/11/02] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMEL
Compiling androidlcltest.lpr
androidlcltest.lpr(6,3) Fatal: Can not find unit customdrawnint used by androidlcltest. Check if package LCL is in the dependencies.

Any help is appreciated.

Thank you.

Regards,
Brian

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

Last edit: by BrianWinfrey. Reason: Closed

Ubuntu 12.04 Installation Issues 11 years 5 months ago #2758

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir,
did you install system libraries
before build lazarus-FPC ?
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Ubuntu 12.04 Installation Issues 11 years 5 months ago #2761

  • BrianWinfrey
  • BrianWinfrey's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0

sternas wrote: Sir,
did you install system libraries
before build lazarus-FPC ?


I did. I was able to get Lazarus to run by enabling the vendor drivers for nvidia and the x-swat repository.
sudo su
add-apt-repository ppa:ubuntu-x-swat/x-updates
apt-get update
apt-get upgrade
restart
sudo jockey-gtk

The remaining issues are Android related.

"Cross element for arm-android NOT Exists sorry, build STOP"
"Cross compiler ppcrossarm NOT builded sorry, build STOP"
I mention the second as the instructions do not indicate it is a requirement.

Also, I had another question regarding Android. Does CT patch FPC/LAZ for android JVM?
wiki.freepascal.org/FPC_JVM/Building
wiki.freepascal.org/FPC_JVM_Android_Development

And lastly, is tiOPF supported?

Thank you. I appreciate the work done on CT.

Regards,
Brian

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

Last edit: by BrianWinfrey. Reason: Added code for OpenGL issue

Ubuntu 12.04 Installation Issues 11 years 5 months ago #2762

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
we added android crossbuild support on linux
to Lab (unpublished) CT version
give us time to release the CodeTyphon 3.00 ver

tiOPF no yet Sir
info
but is in our To-Do List
PilotLogic Architect and Core Programmer

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

Ubuntu 12.04 Installation Issues 11 years 5 months ago #2763

  • BrianWinfrey
  • BrianWinfrey's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Thank you for your response.

sternas wrote: Sir
we added android crossbuild support on linux
to Lab (unpublished) CT version
give us time to release the CodeTyphon 3.00 ver


Would this be why I had the problem with androidlcltest?
I am able to compile and run a console testapp on android using ".../fpc -Tlinux -Parm -XParm-linux- ...",
But I got a different error when I just now tried again to compile the example.
secondform.pas(113,14) Error: Identifier not found "CDWidgetSet"
secondform.pas(114,6) Error: Ordinal expression expected
secondform.pas(115,6) Error: Ordinal expression expected

sternas wrote: tiOPF no yet Sir
info
but is in our To-Do List


Can I install it myself?

And finally, no news regarding the JVM question?
I would like to explore both methods of FPC/Android development.

Regards,
Brian

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

Ubuntu 12.04 Installation Issues 11 years 5 months ago #2764

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
The Android Cross Element is a special
Arm-Linux element, the building procedure has some tricks
so, you must wait for CT ver 3.00 release

JVM is the new FPC kid on the block, experimental
we waiting "stabilization" of FPC SVN code

<<I would like to explore both methods of FPC/Android development.>>

we want the same...soon..
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Konstantinos Papadoulas, BrianWinfrey

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1