Forum

× CodeTyphon MacOS Development, discussions and problems

Important Project with TChart

  • Premysl Beran
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 3 weeks ago #12680 by Premysl Beran
Project with TChart was created by Premysl Beran
Hi there,

I've developed my application with TChart on Windows and recently I've got the access to Mac. I tried to open and compile my application for this platform. It worked well. When I opened my project for the first time all was perfect. When I close it and wanted to open it again, I was not able to do. Typhon suddenly crashed. On Windows, I was able to open and compile the project. But not for Mac.

So I created dummy project with just simple form and TCHart component on it. With one TLineSeries and two buttons. One reads the data.dat file and another close the application. I created it on Mac. I was able to compile it. But when close and the re-open doesn't work. When I tried to re-open it, the terminal output looks like see below. But no problems on Windows.

I have CT6.5 and Typhon compiled with Qt4 widgets. In the attachment is the dummy project.

Thanks for the help.

With best regards

Premek
/Applications/Typhon64.app/Contents/MacOS/typhonstart chartmac.ctpr
chartmac.ctpr is a file
 is a file
TTyphonManager.Run starting /usr/local/codetyphon/typhon/bin64/typhon.app/Contents/MacOS/typhon ...
Hint: (IDE) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/Users/premyslberan/.typhon64"
Hint: (IDE) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/typhon"
Hint: (IDE) [TBuildManager.SetBuildTarget] Old=x86_64-darwin-qt New=x86_64-darwin-qt FPC=True LCL=False
TComponentTreeView.SetSelection: Updating component node values.
TApplication.HandleException Access violation
  Stack trace:
  $0000000000000000
  $000000010021B60F
  $000000010021BC0B
  $00000001000587D5
  $000000010001220E
  $0000000100215181
  $000000010005A66C
  $0000000100B116AA
  $00000001002205C6
  $0000000100212EBB
  $0000000100212DF1
  $000000010005DD95
  $00000001002113E1
  $000000010022A9AD
  $00000001007CD6F9
  $00000001007CCA16
  $00000001007B51F6
2018-09-18 15:07:47.139 typhon[87191:4093145] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
typhon.pp - unhandled exception
Hint: (IDE) [TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
Hint: (IDE) [TMainIDE.Destroy] END
Attachments:

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 months 3 weeks ago - 2 months 3 weeks ago #12682 by Sternas Stefanos
Replied by Sternas Stefanos on topic Project with TChart
Thanks Sir
We have make a lot of improvements in LAB CT 6.6 for MacOS

Please give us time to release Final CT6.6

PS: Your MacOS version ?

CodeTyphon Architect and Programmer
Last edit: 2 months 3 weeks ago by Sternas Stefanos.

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

  • Premysl Beran
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 3 weeks ago #12684 by Premysl Beran
Replied by Premysl Beran on topic Project with TChart
Thanks for the answer. My MacOS is High Sierra 10.13.6. Just now, I tested to open the project with CTLab 6560 and it still not work.

Premek

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 months 3 weeks ago #12686 by Sternas Stefanos
Replied by Sternas Stefanos on topic Project with TChart
My suggestion
(until we fix the problem with QT4 and QT5 on MacOS)

With LAB CT 6560, try to build Typhon for GTK2
then you can open and build your project to any Platform (Cocoa, QT4, QT5, GTK2)

CodeTyphon Architect and Programmer

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