Forum
× CodeTyphon MacOS Development, discussions and problems

Question CT on MacOS Yosemite

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 3 weeks ago - 5 years 3 weeks ago #6577 by Sternas Stefanos
CT on MacOS Yosemite was created by Sternas Stefanos
We test Lab CodeTyphon ver 5.20 on
MacOS Yosemite ver 10.10.1 ( info )

This is an Exploration Port of CT on MacOS
many things are unfinished,
but these are our first steps to this OS....


Some screens from CodeTyphon Installation and Build procedure:
1)-Install
a)-- Xcode from Apple Store
b)-- XQuartz https://xquartz.macosforge.org/landing/
c)-- MacPorts https://www.macports.org

Is the only Proprietary OS that want Credit Card to download "Free To Use" software :silly:

The same CT installation procedure, as any other Unix (Linux, FreeBSD, Solaris etc)

2)-Give full "sudo" permissions to current user.
su
nano /etc/sudoers

add in /etc/sudoers file the line
USER	ALL=(ALL) NOPASSWD: ALL

3)-Download and Unzip CodeTyphonIns.zip
4)-Run installation script
cd CodeTyphonIns
sh ./install.sh

5)-Install "System Libraries" from CT Setup script.
6)-Build ALL FPC and Typhon IDE.

PilotLogic Architect and Core Programmer
Last edit: 5 years 3 weeks ago by Sternas Stefanos.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 3 weeks ago - 5 years 3 weeks ago #6578 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT on MacOS Yosemite
General CT tests list :

-CT System libraries installation (MultiArch)
-CT Installation (MultiArch)
-CT Build All procedure
-CT Update procedure
-CT ToolChains download procedure
-FreePascal compiler tests (MultiArch)
-Typhon IDE tests (MultiArch only for 32bit)
-Typhon IDE tools tests (MultiArch only for 32bit)
-CodeOcean samples tests

Some CodeOcean tests screens for CT libraries:

pl_ExControls,,
pl_BGRAbitmap, pl_BGRAcontrols,
pl_Graphic32,
pl_PowerPDF,
pl_SpkToolBar,
pl_Cindy,
etc...

PilotLogic Architect and Core Programmer
Last edit: 5 years 3 weeks ago by Sternas Stefanos.
The following user(s) said Thank You: zbyna, frederico augusto marques

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

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 3 weeks ago #6580 by German Pablo Gentile
Replied by German Pablo Gentile on topic CT on MacOS Yosemite
I can find the v 5.20 for testing(?)

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 weeks ago - 5 years 2 weeks ago #6581 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT on MacOS Yosemite
Sir go to our Download Page
All the guys here, must go to sleep now, it was a long night...
have fun...

PilotLogic Architect and Core Programmer
Last edit: 5 years 2 weeks ago by Sternas Stefanos.

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

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 weeks ago #6582 by German Pablo Gentile
Replied by German Pablo Gentile on topic CT on MacOS Yosemite
Thanks my friend im downloading this at 5 k/s, don't know why. Can i suggest you using bittorrent in a future?

Best regards.

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

  • frederico augusto marques
  • frederico augusto marques's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
5 years 2 weeks ago #6583 by frederico augusto marques
Replied by frederico augusto marques on topic CT on MacOS Yosemite
Sir Sternas,

Thanks a lot !!!
It's a great job !!! :)

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

More
5 years 2 weeks ago #6584 by Jos Wegman
Replied by Jos Wegman on topic CT on MacOS Yosemite
Ct 5.20
MAC Yosemite 10.10.1
Smooth install. No problems.
Very Great job, Sternas and team!!
Thanks very much :)

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

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 weeks ago - 5 years 2 weeks ago #6585 by German Pablo Gentile
Replied by German Pablo Gentile on topic CT on MacOS Yosemite
I get it and start ok. The only problem is the debugger raise a error and don't allow to run from inside the idea, any project.

El comando GDB:
"-exec-run"
devolvio el error:
",msg="Unable to find Mach task port for process-id 69752: (os/kern) failure (0x5).\n (please check gdb is codesigned - see taskgated(8))""
Last edit: 5 years 2 weeks ago by German Pablo Gentile.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 weeks ago - 5 years 2 weeks ago #6586 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT on MacOS Yosemite
This is because the MacOS kernel will refuse to allow gdb to debug another process if you don't "code signing" your application.. :woohoo:
which is a private key plus a digital certificate procedure
info and info2

How to Codesigning the gdb Debugger on MacOS:
informations here and
here or here

we exploring this ...

Welcome to MacOS as Programmer... :silly:

PilotLogic Architect and Core Programmer
Last edit: 5 years 2 weeks ago by Sternas Stefanos.

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

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 weeks ago #6589 by German Pablo Gentile
Replied by German Pablo Gentile on topic CT on MacOS Yosemite
Thanks for your comment.

I know about that kind of process, i work with Xcode and Oxygene also. I doubt is related to code signing the debugger...
That is very weird, i remember in the past that was not needed, even when you use lazarus normal (previous) version i don't need to do this steps....

Check my blogpost

donaldshimoda.blogspot.com/2010/05/lazar...x-short-version.html

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 weeks ago - 5 years 2 weeks ago #6590 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT on MacOS Yosemite
Sorry Sir, I don't know everyone skills :kiss:

We test a lot of solutions in our lab, some are from MacOS core develop team persons.
Soon we will write our solution, for gdb problem on MacOS in our Wiki Session.

But, the first step for CT on MacOS Galaxy is a fact....
and we have for next CT release, DragonFly BSD Galaxy Exploration..

The trip with CodeTyphon Star-ship in "Software Cosmos" is so exiting ... :cheer:

PilotLogic Architect and Core Programmer
Last edit: 5 years 2 weeks ago by Sternas Stefanos.

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

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 weeks ago - 5 years 2 weeks ago #6592 by German Pablo Gentile
Replied by German Pablo Gentile on topic CT on MacOS Yosemite
No problem, my friend.

We need to cross compile to arm and , if is possible, remote debug on arm. How possible is it? I see theres no toolchains to download for arm on the actual mac os install.
Last edit: 5 years 2 weeks ago by German Pablo Gentile.

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

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
5 years 2 weeks ago - 5 years 2 weeks ago #6593 by German Pablo Gentile
Replied by German Pablo Gentile on topic CT on MacOS Yosemite
Other question my friend. I see several packages like ins and zeos don't compile. Just reporting. Best regards.
Last edit: 5 years 2 weeks ago by German Pablo Gentile.

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

More
5 years 2 weeks ago #6597 by saulo
Replied by saulo on topic CT on MacOS Yosemite
The Codethypon 5.2 installation in Yosemite went smoothly, and an empty project compiles properly, however when trying to add a new method: Ex. Onclick of a button an error message indicated that it was not possible to locate the Classes and Types unit, something I did wrong? Or is there any post-installation solution?

Tanks.

Saulo
Attachments:

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 weeks ago - 5 years 2 weeks ago #6598 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT on MacOS Yosemite
Typhon IDE->Tools->Rescan FPC source Directory

PilotLogic Architect and Core Programmer
Last edit: 5 years 2 weeks ago by Sternas Stefanos.
The following user(s) said Thank You: saulo

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