Page 1 of 1

TRichview and Lazarus 1.8.4 CRVData not found

Posted: Sun Jan 13, 2019 12:23 pm
by Mr. Bean
Hi,

I am testing the trial of TRichView with Lazarus 1.8.4 (Windows 10 Pro) and got the error message that CRVData is not available.

Which package need to be added to the IDE to make CRVData available?

Question about ReportWorkshop:
When it will work with Lazarus + Windows will it also support to print RichText?

Thank you
Mr. Bean

Re: TRichview and Lazarus 1.8.4 CRVData not found

Posted: Sun Jan 13, 2019 6:23 pm
by Sergey Tkachenko
Basically, you need to compile <TRichView Dir>\TRichView\Source\rvpkglaz.lpk and rvpkglaz_dsgn.lpk, and then install rvpkglaz_dsgn.lpk.
But there are more packages, so it's much more simple to use project groups.
The project group for the trial version is <TRichView Dir>\TRichViewTrialLazarus.lpg

See the install instruction, the section "Install in Lazarus":
https://www.trichview.com/download/tric ... stall.html

Re: TRichview and Lazarus 1.8.4 CRVData not found

Posted: Sun Jan 13, 2019 7:13 pm
by Sergey Tkachenko
As for Report Workshop, I think it will be ported to Lazarus in this February.
Currently, we paused porting to implement support of "Per Monitor v2" introduced in Delphi 10.3 Rio. When we release it, we will resume porting to Lazarus.

Re: TRichview and Lazarus 1.8.4 CRVData not found

Posted: Sun Jan 13, 2019 9:51 pm
by Mr. Bean
Dear Sergey,
Thank you for your messages.
I have tried to compile the project group. Error message is attached.

Additonal I have tried to compile both .lpk files manually. This was not possible. The package mangager shows files with an error. Screenshots attached.

I have used the latest trial from yesterday.

Thank you.
Mr. Bean

Re: TRichview and Lazarus 1.8.4 CRVData not found

Posted: Mon Jan 14, 2019 9:42 am
by Sergey Tkachenko
It's ok that the package manager shows unit names as a strikethrough text: this is not an error, this means that source code is not available.
But there are compiled files:
- for 32-bit Lazarus, they are in <TRichView Dir>TRichView\Source\lib\i386-win32\
- for 64-bit Lazarus, they are in <TRichView Dir>TRichView\Source\lib\x86_64-win64\
Compiled files must be enough

Please check, are CRVData.ppu and CRVData.o there?
Maybe you used "Recompile Clean" command? This command must not be used for trials, it deletes trial files.

Re: TRichview and Lazarus 1.8.4 CRVData not found

Posted: Mon Jan 14, 2019 10:14 pm
by Mr. Bean
Dear Sergey,
Files are there. Attached some file information.
I have used "compile" only. "Clean compile" not touched.
After switching Lazarus IDE to English it says something, that the checksum for graphics has changed and a recompile is needed. Details attached.

Re: TRichview and Lazarus 1.8.4 CRVData not found

Posted: Wed Jan 16, 2019 9:07 am
by Sergey Tkachenko
I think it means that your version of Lazarus / FPC is not exactly the same as it was used to compile the trial version.

Check the Lazarus About box (menu Help | About Lazarus).
The trial was compiled with:
Version #: 1.8.4
Date: 2018-07-28
FPC version: 3.0.4
SVN Revision: 57972

Or maybe you applied some patches that changed LCL files?

Re: TRichview and Lazarus 1.8.4 CRVData not found

Posted: Wed Jan 16, 2019 9:54 pm
by Mr. Bean
My Build of Lazarus:
Version #: 1.8.4
Date: 2018-05-19
FPC version: 3.0.4
SVN Revision: 57972

i386-win32-win32/64

The LCL files contains x86 and x64 Version.

Which Version was used by you? x86 / x64 with or without the extensions for cross compiling x86/x64?

I will do another test when the report workshop is also available with Lazarus.

I would need the Report Engine for the Rich Text Memo.

Re: TRichview and Lazarus 1.8.4 CRVData not found

Posted: Thu Jan 17, 2019 10:31 am
by Sergey Tkachenko
So you have the same version...
Sorry, I do not know why Lazarus finds that checksum of LCL units are different in your and my copies of Lazarus.
I can only imagine that you might installed some patches of third-party libraries that modified LCL code.

The full version is distributed with the source code, so this problem does not affect them.