Page 1 of 1
[bcc64 Fatal Error] Unit29.h(10): 'RichView.hpp' file not fo
Posted: Wed Aug 12, 2015 9:01 pm
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
Posted: Thu Aug 13, 2015 1:37 pm
by Sergey Tkachenko
Did you install a version with automatic installer?
Did you install Delphi+C++Builder or C++Builder-only version?
Posted: Thu Aug 13, 2015 4:13 pm
by hartcons
I used TRichView16Setup.exe as the installer.
we have c++ builder xe6 so i chose "install c++ packages"
Posted: Thu Aug 13, 2015 7:25 pm
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.
Posted: Thu Aug 13, 2015 8:06 pm
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)
how do i know if i have the delphi personality?
Posted: Fri Aug 14, 2015 3:24 pm
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?
Posted: Wed Aug 19, 2015 11:33 am
by Sergey Tkachenko
If you have "VCL Form Application - Delphi" in "File | New" menu, this means you have Delphi personality.