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

TOPIC:

Cannot install ct 5.1 in osx yosemite 10 years 2 weeks ago #6215

  • zbyna
  • zbyna's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2
Hi all,
I am aware of only basic support for osx, but I am not able to even install. I am completely new to os x so thanks for any pointing me.
I enclose whole install log with the result of system libraries check and update at the beginning.
Thanks for any help
zbyna

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

Last edit: by zbyna.

Cannot install ct 5.1 in osx yosemite 10 years 2 weeks ago #6217

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
The way to Mac OS it's long way Sir
we want time for this task...
PilotLogic Architect and Core Programmer

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

Cannot install ct 5.1 in osx yosemite 10 years 2 weeks ago #6237

  • zbyna
  • zbyna's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2

sternas wrote: The way to Mac OS it's long way Sir
we want time for this task...

Ok, now I know what basic support mean :)
I have just tried to follow the path and it seems to be very zigzag :)
Here is the result:
1. I am able to build TyphonSmallIDE 32 on Carbon widget (Carbon is only 32 bit)
2. there is a more than lot of issues with bulding BigIDE, I have tried a lot but without final result ...
my findings and "fixing" for achieving item 1 and proceeding item 2 are summarised in attached file :unsure:

File Attachment:

File Name: Fixingofco...sues.txt
File Size:9 KB


So it is possible to start Small IDE for me but it magically lost focus for keyboard after start ...
but only in some window, windows cannot be moved by mouse, but for example "center" form designer works,
context menu works too but upper menu is not accessable ...

Warning: Spoiler!

I am not able to judge if this originated from lazarus source code, bad instalation or os yosemite.
Clean reinstall does not solved this issue.
Kudos for you and your team for dealing with such issues on daily base !!!

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

Last edit: by zbyna.

Cannot install ct 5.1 in osx yosemite 10 years 1 week ago #6248

  • zbyna
  • zbyna's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2
Some progress:
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus failed with result -30585
is solved by switching TAB key behaviour in system settings for keyboard in yosemite.
All windows are still not movable using mouse and in some windows mouse button works.
Form designer is not embedded ...
Typhon start log:
Warning: Spoiler!
The following user(s) said Thank You: kenlee

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

Last edit: by zbyna.

Cannot install ct 5.1 in osx yosemite 10 years 1 week ago #6265

  • zbyna
  • zbyna's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2
Just to summarize my strugling :) :
While ago I installed fpc 2.6 bin, than svn 2.7.1 and then svn lazarus (Lazarus 1.3 r46797M FPC 2.7.1 i386-darwin-carbon)
it runs without problems which are describes above.
It lacked docking and embended form designer.
Docking was solved by installing pl_glassdocking package from CT 5.1 with slightly modified source - several lines had to be commented to compile without problems.
I am giving up embended form designer b/c it is out of my skills at present.
For correct debugging is needed to sign gdb binaries with tools built in yosemite info: here .

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

Last edit: by zbyna.

Cannot install ct 5.1 in osx yosemite 10 years 6 days ago #6305

  • zbyna
  • zbyna's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2
Big progress, at least for me ;) :
I compiled CT 5.1 with fpc 2.7.1 installed according previous post:
make FPC=/usr/local/lib/fpc/2.7.1/ppc386 OPT="-Fu/usr/local/lib/fpc/2.7.1/units/i386-darwin/* -Fu/usr/local/lib/fpc/2.7.1/units/i386-darwin/rtl" clean all LCL_PLATFORM=carbon
then created directory /usr/lib/codetyphon/typhon/bin32/ and move typhon, typhonstart there.

I tried to start with typhonstart but I it caused known problem with partially focused IDE windows (please see above). Then I notice that lazarus instalation behaves the same way when started from command line too. So I tried to create package codetyphon.app according to lazarus.app (the same structure and pointing to typhon (lazarus), typhonstart (startlazarus) binaries and all problems with "partially" focused windows are away :)

The embedded form designer enabled on edited project after IDE restart does not work correctly: form designer window
is not hidden and fake embedded designer does not contain grid although it resizes according to manual change of form designer window .
When tried to create new project with embedded form desinger enabled ide shows division by zero error message and
what ever you choose (ok or storno) ide crashes.

Is it possible for anybody to say what is status of osx support for carbon windgets in these areas:

-CT installation: in my opion N/A
-CT Install System Libraries (with Homebrew): OK only for gdb
-Build Freepascal 32bits : in my opinion OK , but at the end I used manual way
-Build Typhon32 Small IDE: OK with some paths adjustments (please see above), I used manual way
-Build Freepascal 64bits : in my opinion N/A for carbon although script tries to install
-Build Typhon64 Small IDE: in my opinion N/A for carbon although script tries to install
- embedded form designer : in my opinion does not work

Are there any plan for another widgets qt, cocoa, gtk ?

Big thanks
The following user(s) said Thank You: kenlee

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

Last edit: by zbyna.

Cannot install ct 5.1 in osx yosemite 10 years 6 days ago #6306

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
where did you make codetyphon.app
and can you post a zip file with this codetyphon.app here ?
PilotLogic Architect and Core Programmer

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

Cannot install ct 5.1 in osx yosemite 10 years 5 days ago #6310

  • zbyna
  • zbyna's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2
It does not depend where to put codetyphon.app, it lunches ide without problem even from / . I put it in /usr/lib/codetyphon/typhon/.
When I tried to make zip file from finder, unzipped app did not work :huh: . So I made 7z package with DoubleCommander (Root mode).
I think I shoud add that all my attempts in this thread was proceeded after modifing sudo with: user ALL=(ALL) NOPASSWD: ALL

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

Last edit: by zbyna.

Cannot install ct 5.1 in osx yosemite 10 years 5 days ago #6311

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We solve the MacOS problem...
CT run OK now to MacOS, soon the first lab news...
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: zbyna

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

Last edit: by Sternas Stefanos.

Cannot install ct 5.1 in osx yosemite 10 years 5 days ago #6320

  • zbyna
  • zbyna's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2
I may do not understand your question properly: so I make app package by editing app package originated from lazarus, I adjusted simlinks and added typhon icon and
all changes were projected to Info.plist files in CodeTyphon.app/Contents/ and CodeTyphon.app/Contents/Resources/typhonstart.app/Contents/ .
Thanks for fixing problems in lab.

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

  • Page:
  • 1