Page 1 of 2

Lazarus

Posted: Thu Jun 14, 2007 10:17 am
by 9346751
Hi,
Has anyone made a Lazarus package file (.lpk)? or does anyone have suggestions onto how to build Teechart into Lazarus?
Thanks

Posted: Thu Jun 14, 2007 10:45 am
by narcis
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.

Posted: Thu Jun 14, 2007 1:31 pm
by 9346751
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]

Posted: Fri Sep 21, 2007 2:15 am
by 9334736
Can someone send to me the lpk file?

I wish to try TeeChart with lazarus.

Regards.

Posted: Fri Sep 21, 2007 7:32 am
by narcis
Hi ssamayoa,

Sure, just sent you the files to your forums profile e-mail address.

Posted: Thu Nov 29, 2007 3:26 pm
by 10547502
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

Posted: Thu Nov 29, 2007 3:33 pm
by narcis
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.

Posted: Fri Nov 30, 2007 3:25 am
by 10547502
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.

Posted: Tue Dec 04, 2007 10:50 am
by 10046032
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

Posted: Tue Dec 04, 2007 12:23 pm
by narcis
Hi johnnix,

I have already sent you the files for compiling TeeChart with Lazarus.

Posted: Tue Dec 04, 2007 1:04 pm
by 10046032
Thank you very much. I will give it a try!!!!

Posted: Tue Dec 04, 2007 2:25 pm
by 10547502
Dear Narcís:

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

Posted: Tue Feb 05, 2008 8:45 am
by narcis
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.

Compiling TeeChart 8.02 in Lazarus

Posted: Sat Sep 13, 2008 8:56 am
by 10549671
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

Posted: Mon Sep 15, 2008 7:56 am
by narcis
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.