Recent

Author Topic: Problems installing laz_fpspreadsheet_visual  (Read 13178 times)

LDBrown

  • Newbie
  • Posts: 6
Problems installing laz_fpspreadsheet_visual
« on: May 12, 2011, 10:35:42 pm »
Although I have all the required packages installed, I cannot compile and install laz_fpspreadsheet_visual. I get 'Identifier not found: TCustomChartSource' in fpspreadsheetchart.pas.

Any ideas?

jmLandsvik

  • New Member
  • *
  • Posts: 29
Re: Problems installing laz_fpspreadsheet_visual
« Reply #1 on: May 13, 2011, 10:04:53 am »
Not sure, but what do you run: ? (os/laz.ver/fpc.ver? )

I installed the packgage last nite, and it installed perfectly...

//JM

LDBrown

  • Newbie
  • Posts: 6
Re: Problems installing laz_fpspreadsheet_visual
« Reply #2 on: May 13, 2011, 03:47:24 pm »
Win 7 enterprise, laz 0.9.30, FPC 2.4.2

I installed fpspreadsheet with no problem, but can't compile fpspreadsheet visual. I had it installed on same machine when I was running laz 0.9.28 but can't compile or install since upgrading.

My fpSpreadsheet_visual package is dated 5/1/10. Is that the one you installed jm?

jmLandsvik

  • New Member
  • *
  • Posts: 29
Re: Problems installing laz_fpspreadsheet_visual
« Reply #3 on: May 13, 2011, 04:34:39 pm »
Hi

Not sure, I did a SVN export.
From here: https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/fpspreadsheet/

Not knowing what you try to do, I'm a little blind, but anyway, you could try this:
Read the bottom of this page: http://wiki.lazarus.freepascal.org/Office_Automation

Then download the SpreadSheetInterFace V 0.11, and try the example below the link.
(Possible you need FPC 2.5.1, but that I cannot test before I get home)

If you like, I can send you a complete test program. (the one I used to get it working)

regards
JM


LDBrown

  • Newbie
  • Posts: 6
Re: Problems installing laz_fpspreadsheet_visual
« Reply #4 on: May 13, 2011, 07:18:11 pm »
I'll try the svn export and see if it is the same package. I need fpspreadsheet to install because I'm trying to work on an app that I wrote when I had the package working. The app is dependent on it.

Thanks for your help so far JM.

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: Problems installing laz_fpspreadsheet_visual
« Reply #5 on: May 15, 2011, 12:45:10 pm »
I recommend you to install TAChartLazarusPkg -- TCustomChartSource is from there.
laz_fpspreadsheet_visual should list it as a dependency, but apparently it does not.

LDBrown

  • Newbie
  • Posts: 6
Re: Problems installing laz_fpspreadsheet_visual
« Reply #6 on: May 16, 2011, 09:05:11 pm »
Ask,

Thanks for your reply. TAChartLazarusPkg 1.0 is already installed.

What's strange is I can navigate to fpspreadsheetchart.pas (where TCustomChartSource is defined) using ctrl+enter in the uses clause, but the compiler can't seem to find it.

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Problems installing laz_fpspreadsheet_visual
« Reply #7 on: May 29, 2011, 05:43:55 pm »
Are you using the chart component? If not, I suppose that you can just remove this unit from the package and try again.

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Problems installing laz_fpspreadsheet_visual
« Reply #8 on: May 29, 2011, 05:54:31 pm »
Strange, I just checked here and everything works fine for me in Mac OS X.

I recommend you to install TAChartLazarusPkg -- TCustomChartSource is from there.
laz_fpspreadsheet_visual should list it as a dependency, but apparently it does not.

It does list it as a dependency.

 

TinyPortal © 2005-2018