Lazarus

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
bah
Newbie
Newbie
Posts: 2
Joined: Tue Jul 04, 2006 12:00 am

Lazarus

Post by bah » Thu Jun 14, 2007 10:17 am

Hi,
Has anyone made a Lazarus package file (.lpk)? or does anyone have suggestions onto how to build Teechart into Lazarus?
Thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jun 14, 2007 10:45 am

Hi bah,

I've just sent you TeeChart.lpk and compile.bat to generate your TeeChart packages for Lazarus. Please notice that you'll have to change the fixed paths at compile.bat.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

bah
Newbie
Newbie
Posts: 2
Joined: Tue Jul 04, 2006 12:00 am

Post by bah » Thu Jun 14, 2007 1:31 pm

Hi Narcis,
Thanks for the lpk. It didn't work "out of the box", but after a bit of work I finally got it built into the IDE.
The main problems I had was the "chart" unit in TeeChart conflicted with the Lazarus one. I renamed all chart to chartbh :) and it compiled up (i.e. I could rebuild lazarus with Teechart).
Another problem is that icons shown in the lazarus palette are all the same. I am sure it could be fixed quickly. The hints work so it is fairly easy to add the chart, preview, buttons, etc.
I also get an access violation on right mouse clicking the chart and selecting "Edit Chart", but I think that is a rouge "chart" still hanging around.
Anyway thanks a lot. I think if a vast component like TeeChart can work in lazarus then almost anything can.
Ciao
Brett[/img]

ssamayoa
Newbie
Newbie
Posts: 1
Joined: Mon Nov 10, 2003 5:00 am

Post by ssamayoa » Fri Sep 21, 2007 2:15 am

Can someone send to me the lpk file?

I wish to try TeeChart with lazarus.

Regards.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Sep 21, 2007 7:32 am

Hi ssamayoa,

Sure, just sent you the files to your forums profile e-mail address.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Piero
Newbie
Newbie
Posts: 3
Joined: Mon Nov 26, 2007 12:00 am

Post by Piero » Thu Nov 29, 2007 3:26 pm

I Use TeeChart 8.02 Source and have TeeChart.lpr , but can't
compiler with Lazarus 0.9.24 .

Can someone help me?

mail:piero@sound.com.tw

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Nov 29, 2007 3:33 pm

Hi Piero,

I have sent you the same files I mentioned earlier in this forum. Can you please try using them? If this doesn't succeed could you please post the exact problems you are having?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Piero
Newbie
Newbie
Posts: 3
Joined: Mon Nov 26, 2007 12:00 am

Post by Piero » Fri Nov 30, 2007 3:25 am

hi Narcís,

after I run compile.bat > log.txt

cut some report:

C:\lazarus\components\TeeChart\Sources>set LAZARUS=c:\lazarus

C:\lazarus\components\TeeChart\Sources>c:\lazarus\fpc\2.2.0\bin\i386-win32\fpc TeeChart.pas -S2cgi -Mdelphi -OG1 -gl -WG -vewnhi -l -Fuc:\lazarus\lcl\units\i386\win32\ -Fuc:\lazarus\lcl\units\i386\win32\win32\ -Fuc:\lazarus\packager\units\i386\win32\ -Fuc:\lazarus\fpc\2.2.0\units\i386-win32\fcl -Fuc:\lazarus\fpc\2.2.0\units\i386-win32\paszlib -Fu. -Fu.. -oproject1.exe -dLCL
Hint: Start of reading config file c:\lazarus\fpc\2.2.0\bin\i386-win32\fpc.cfg
Hint: End of reading config file c:\lazarus\fpc\2.2.0\bin\i386-win32\fpc.cfg
Warning: You are using the obsolete switch -OG
Free Pascal Compiler version 2.2.0 [2007/11/14] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling TeeChart.pas
Compiling TeeChartPro.pas
Fatal: Can't find unit PropEdits used by TeeChartPro
Fatal: Compilation aborted
Error: c:\lazarus\fpc\2.2.0\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)

==========================
another way I have Type to Open TeeChart.lpr
and Add LCL , IDEIntf , CodeTools , JPEGForLazarus ..etc Packages
add IDEIntf can pass "Fatal: Can't find unit PropEdits" error.
but have many errors .. I mark more code to recompile in Lazarus
until ..... TeeChar use jpeg.pas , but Lazarus Uses lazjepg.pas...XD

==========================

unit TeeChart;

interface

uses
TeeChartPro, TeeChartReg, LazarusPackageIntf;

implementation

procedure Register;
begin
RegisterUnit('TeeChartPro', @TeeChartPro.Register);
RegisterUnit('TeeChartReg', @TeeChartReg.Register);
end;

initialization
RegisterPackage('TeeChart', @Register);
end.

Thanks.

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Post by johnnix » Tue Dec 04, 2007 10:50 am

Hello,

Where can I get the Lazarus package file so that I can give it a try? I am a registered TeeChart Pro 8 user (no sources).

Regards

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Dec 04, 2007 12:23 pm

Hi johnnix,

I have already sent you the files for compiling TeeChart with Lazarus.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Post by johnnix » Tue Dec 04, 2007 1:04 pm

Thank you very much. I will give it a try!!!!

Piero
Newbie
Newbie
Posts: 3
Joined: Mon Nov 26, 2007 12:00 am

Post by Piero » Tue Dec 04, 2007 2:25 pm

Dear Narcís:

I have try your path file , but can't successful

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 05, 2008 8:45 am

Hello everyone.

Piero,

Sorry for the delayed reply. There were some problems using v8 sources with Lazarus. We have finally arranged latest sources to work fine. I've sent you an e-mail with those sources and also latest TeeRecompile version for compiling and installing them.


johnnix,

At the moment we can only provide Lazarus support for source code customers. If you are interested in upgrading your license please contact our Sales Dept. at sales@steema.com.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

TF.Rangel
Newbie
Newbie
Posts: 7
Joined: Wed Jul 23, 2008 12:00 am

Compiling TeeChart 8.02 in Lazarus

Post by TF.Rangel » Sat Sep 13, 2008 8:56 am

I read that there is a .bat file that helps compiling TeeChart 8.02 in Lazarus. I would appreciate if you could send me that file along with further instructions on how to use it.

Thiago Rangel

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Sep 15, 2008 7:56 am

Hi Thiago,

As mentioned above in the thread you'll have to change the paths to adapt them to your environment and run *.bat file.

Just sent you the files.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply