TRichview and Lazarus 1.8.4 CRVData not found

General TRichView support forum. Please post your questions here
Post Reply
Mr. Bean
Posts: 19
Joined: Wed Mar 28, 2018 6:40 pm

TRichview and Lazarus 1.8.4 CRVData not found

Post 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
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRichview and Lazarus 1.8.4 CRVData not found

Post 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
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRichview and Lazarus 1.8.4 CRVData not found

Post 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.
Mr. Bean
Posts: 19
Joined: Wed Mar 28, 2018 6:40 pm

Re: TRichview and Lazarus 1.8.4 CRVData not found

Post 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
Attachments
TRV-Laz184-Err.png
TRV-Laz184-Err.png (126 KiB) Viewed 30296 times
rvpkglaz-err.png
rvpkglaz-err.png (35.48 KiB) Viewed 30296 times
rvpkglaz_dsgn-err.png
rvpkglaz_dsgn-err.png (25.35 KiB) Viewed 30296 times
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRichview and Lazarus 1.8.4 CRVData not found

Post 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.
Mr. Bean
Posts: 19
Joined: Wed Mar 28, 2018 6:40 pm

Re: TRichview and Lazarus 1.8.4 CRVData not found

Post 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.
Attachments
lib.png
lib.png (54.54 KiB) Viewed 30266 times
error.png
error.png (14.82 KiB) Viewed 30266 times
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRichview and Lazarus 1.8.4 CRVData not found

Post 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?
Mr. Bean
Posts: 19
Joined: Wed Mar 28, 2018 6:40 pm

Re: TRichview and Lazarus 1.8.4 CRVData not found

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRichview and Lazarus 1.8.4 CRVData not found

Post 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.
Post Reply