[Lazarus] csvexporter: works

Andrea Mauri andrea.mauri.75 at gmail.com
Tue Dec 16 15:45:39 CET 2008


Dear all,
I have to correct my thread. I checked again both on win and on linux.
Both under win and linux when I put a csvexporter on a form Lazarus adds 
lazdbexport unit in the uses clause of the project (lpr) and fpcsvexport 
in the uses clause of the form unit.
I misunderstood the lazarus behaviour because Lazarus failed to compile 
my project under linux saying that "Lazarus can't find unit lazdbexport 
used by...".
Now I added a new csvexporter to my form, I compiled my project and 
deleted the new csvexporter and compiled again, and it works.
I am not able to understand exactly what is the problem I suppose it is 
related to something in the lpi file.
I am sorry for my mistake.
Andrea


Andrea Mauri ha scritto:
> Yes, fpc 2.2.2 and lazarus svn
> andrea
>
> Vincent Snijders ha scritto:
>   
>> Andrea Mauri schreef:
>>   
>>     
>>> I am developing a cross platform application.
>>> Yesterday I dropped a csvexporter on a form (and I was under win). The 
>>> lazdbexport unit have been added by the IDE.
>>> Then today, working on my Ubuntu pc at home I tried to recompile the 
>>> same project and I got an error (lazdbexport unit not found), so I 
>>> opened an empty project and I dropped csvexporter on the form.
>>> The IDE added the fpccsvexport unit, so I introduced the IFDEFs.
>>> I supposed that the IFDEF were in the package.
>>> Anyway I used the csvexporter just a bit and it seems to work fine both 
>>> on win and linux :).
>>>     
>>>       
>> Do you use the same lazarus/fpc versions on both windows and linux?
>>
>> Vincent
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lazarus.freepascal.org
>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>>   
>>     
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>   

-- 
Dr. Andrea Mauri, PhD
Milano Chemometrics and QSAR Research Group
Department of Environmental Sciences
University of Milano-Bicocca 
P.zza della Scienza, 1
20126 Milano - Italy

Tel: ++39 02 64482801
mailto:andrea.mauri.75 at gmail.com
http://michem.disat.unimib.it/chm/ 




More information about the Lazarus mailing list