[bcc64 Fatal Error] Unit29.h(10): 'RichView.hpp' file not fo

General TRichView support forum. Please post your questions here
Post Reply
hartcons
Posts: 21
Joined: Sat Aug 01, 2015 12:26 am

[bcc64 Fatal Error] Unit29.h(10): 'RichView.hpp' file not fo

Post by hartcons »

i have a simple richview example program (trichviewedit and trvstyle) in c++ builder xe6 and it compiles fine 32-bit but when i try compile it 64-bit i get this:

[bcc64 Fatal Error] Unit29.h(10): 'RichView.hpp' file not found
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Did you install a version with automatic installer?
Did you install Delphi+C++Builder or C++Builder-only version?
hartcons
Posts: 21
Joined: Sat Aug 01, 2015 12:26 am

Post by hartcons »

I used TRichView16Setup.exe as the installer.

we have c++ builder xe6 so i chose "install c++ packages"
hartcons
Posts: 21
Joined: Sat Aug 01, 2015 12:26 am

Post by hartcons »

i see the file in here:
C:\VCL\TRichView\TRichView\Source\CBuilder32\XE6

but i wasn't sure if i should be referencing something with 32 in it for 64-bit compiles. i don't have a corresponding cbuilder64 directory.
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The option "install C++Builder packages" installs the components only in C++Builder for Win32.
The option "install Delphi packages" can install in all supported personalities, including C++Builder for Win32 and C++Builder for Win64. It's highly recommended to choose this option, but it requires Delphi personality.


---
Below you can find a copy of my post from the protected forum
---



Why doesn't the installer contain C++Builder-only 64-bit packages?

I tried to compile 64-bit C++Builder CBPROJ packages, but I failed.
The base 64-bit package (RVPkg*.cbproj) is compiled fine. However, attempts to compile any dependent package end with "unresolved externals" errors about classes contained in the base package.

May be I missed something, but it looks like C++Builder still does not support dependent C++ packages containing pas-units.

A workaround is possible - to create a package containing all files - TRichView, RichViewActions, ScaleRichView, etc., but I do not like it.

So currently C++Builder for Win64 is supported only when installing DPROJ package (that requires Delphi personality)
hartcons
Posts: 21
Joined: Sat Aug 01, 2015 12:26 am

how do i know if i have the delphi personality?

Post by hartcons »

how do i know if i have the delphi personality? do you have to pay extra for that when you purchase c++ builder?
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If you have "VCL Form Application - Delphi" in "File | New" menu, this means you have Delphi personality.
Post Reply