I have some experience in Python, R!, C# and VB, but I'm very beginner in Lazarus/Pascal/Delphi, so please forgive me if answer to my question is obvious.
I'm trying to write a simple application that reads an Excel workbook and generate another workbook with descriptive statistics of the cell values stored in input workbook.
I'm using Lazarus 1.6 (FPC 3.0) under 64-bit Ubuntu 16.04.1 LTS.
I downloaded FPSpreadsheet 1.6.2 from
https://sourceforge.net/projects/lazarus-ccr/files/FPSpreadsheet/My project) compiles, but regarding of trying to read xlsx or xls file (I store test data
here), I receive following error message:
Project project1 raised exception class 'External: SIGSEGV'.
In file 'xlsxooxml.pas' at line 357as you can see on following
print screensI read an Excel spreadsheet in following way:
skoroszyt_in.ReadFromFile(NazwaPliku);
(whole commit to repo for reading Excel file looks as follows:
https://github.com/kedziorm/FreePascal-import-eksport-Excela/commit/e594351aeb55379a78ecb07e06d44eb89d191c30I have no idea if there's something wrong within my code, I installed library incorrectly or is it a bug in FPSpreadsheet