Problemas com RV em C++Builder XE8

General TRichView support forum. Please post your questions here
Post Reply
Jonabe
Posts: 3
Joined: Tue Jan 16, 2018 5:35 pm

Problemas com RV em C++Builder XE8

Post by Jonabe »

I am having errors with C ++ Builder XE8 in 64bit.

During the installation I select the "Install C ++ Builder packages ..."
tela instalacao.PNG
tela instalacao.PNG (17.67 KiB) Viewed 15471 times
After selecting C ++ Builder XE8 only.
tela opcao.PNG
tela opcao.PNG (32.15 KiB) Viewed 15471 times
And when I'm going to compile a project in 64bit, this window is displayed asking for the file RVPkgCBX8.a, I already searched all over the pc and I did not find it. Apparently only the 32-bit version of RichView has been installed.
compile 64.PNG
compile 64.PNG (8.41 KiB) Viewed 15471 times

Can anybody help me?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Problemas com RV em C++Builder XE8

Post by Sergey Tkachenko »

Yes, if you choose "Install C++Builder packages", they will be installed only in 32-bit. Unfortunately, I was not able to create 64-bit CBPROJ packages that RAD Studio was able to compile.

Choose another option instead: "Install Delphi packages". It should work even if you do not have Delphi personality, and installs both in 32-bit and 64-bit platform.
Jonabe
Posts: 3
Joined: Tue Jan 16, 2018 5:35 pm

Re: Problemas com RV em C++Builder XE8

Post by Jonabe »

Hello!

I still get error message when running the XE8 linker only on win64.

"[ilink64 Error] Fatal: Unable to open file 'CUMENTS\EMBARCADERO\STUDIO\16.0\DCP\WIN64\DEBUG'"

This error always occurs after installing RichView, I also sent a message to Embarcadero Support but I have not received an answer yet. I believe the installer should register some invalid path or file.

Can you help me?

Maybe send me only the main package (TRichViewEdit + TRVStyle + TRVPrint) in BPL.

Below is the full message of the linker.

ilink64 command line
c:\program files (x86)\embarcadero\studio\16.0\bin\ilink64.exe -G8 -L.\Win64\Debug\obj_lsf;"c:\program files
(x86)\embarcadero\studio\16.0\lib\Win64\debug";E:\ProjetosXE\Auxiliares\libxl\Win64;..\..\..\..\Auxiliares\Interface_Lig3D;
..\..\Interface_mCalc3D\Arquivos;"..\..\Interface_mCalc3D\Arquivos\AutoCAD DXF";..\..\Interface_mCalc3D\Forms;..\..\Interface_mCalc3D\Graficos;
..\..\Interface_mCalc3D\Calculos;..\..\Interface_mCalc3D\Entidades;..\..\Interface_mCalc3D\XMath;..\..\Interface_mCalc3D\Listas;
..\..\Interface_mCalc3D;"..\..\Interface_mCalc3D\Arquivos\mCalc PRI";..\..\Interface_mCalc3D\Compile;..\..\..\..\Auxiliares\Perfis;"..\Arquivos\mCalc
PRI";..\XMath;"..\Arquivos\AutoCAD DXF";..\..\..\..\Auxiliares\XLS;..\..\..\..\Detalhamento\Apoio\LSF;
..\..\..\..\Auxiliares\Protecao\TesteConsistencia;..\..\..\..\Auxiliares\AuxiliarXE;"..\..\..\..\Auxiliares\Sistema de Eixos 3D";
..\..\..\..\Auxiliares\Unidades;..\..\..\..\Auxiliares\CT;..\Arquivos;..\Listas;..\..\..\..\Auxiliares\Util;..\Entidades;..;..\Calculos;..\Graficos;
..\Forms;..\..\..\..\Auxiliares\Protecao;..\..\..\..\Auxiliares\Definicoes;E:\ProjetosXE\mCalc3D\mCalc3D_Versao_5\Interface_mCalc3D\Compile;
C:\Users\Public\Documents\Embarcadero\Studio\16.0\DCP\Win64;"c:\program files (x86)\embarcadero\studio\16.0\lib\win64\release";"c:\program files
(x86)\embarcadero\studio\16.0\lib\win64\release\psdk";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE8\Win64";"C:\Program Files
(x86)\FastReports\LibD22x64";C:\VCL\TRichView\TRichView\Source\Delphi64\XE8\Release;C:\VCL\TRichView\RichViewActions\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\RvHtmlImporter\Source\Delphi64\XE8\Release;C:\VCL\TRichView\RvXml\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\ReportBuilder\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\DevExpress\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\rvHtmlViewImporter\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\HunSpell\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\Indy\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\CleverComponents\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\Math\Source\Delphi64\XE8\Release;C:\Users\Public\Documents\Embarcadero\Studio\16.0\DCP\Win64\Debug -j.\Win64\Debug\obj_lsf;
"c:\program files (x86)\embarcadero\studio\16.0\lib\Win64\debug";E:\ProjetosXE\Auxiliares\libxl\Win64;..\..\..\..\Auxiliares\Interface_Lig3D;
..\..\Interface_mCalc3D\Arquivos;"..\..\Interface_mCalc3D\Arquivos\AutoCAD DXF";..\..\Interface_mCalc3D\Forms;..\..\Interface_mCalc3D\Graficos;
..\..\Interface_mCalc3D\Calculos;..\..\Interface_mCalc3D\Entidades;..\..\Interface_mCalc3D\XMath;..\..\Interface_mCalc3D\Listas;
..\..\Interface_mCalc3D;"..\..\Interface_mCalc3D\Arquivos\mCalc PRI";..\..\Interface_mCalc3D\Compile;..\..\..\..\Auxiliares\Perfis;"..\Arquivos\mCalc
PRI";..\XMath;"..\Arquivos\AutoCAD DXF";..\..\..\..\Auxiliares\XLS;..\..\..\..\Detalhamento\Apoio\LSF;
..\..\..\..\Auxiliares\Protecao\TesteConsistencia;..\..\..\..\Auxiliares\AuxiliarXE;"..\..\..\..\Auxiliares\Sistema de Eixos 3D";
..\..\..\..\Auxiliares\Unidades;..\..\..\..\Auxiliares\CT;..\Arquivos;..\Listas;..\..\..\..\Auxiliares\Util;..\Entidades;..;..\Calculos;..\Graficos;
..\Forms;..\..\..\..\Auxiliares\Protecao;..\..\..\..\Auxiliares\Definicoes;E:\ProjetosXE\mCalc3D\mCalc3D_Versao_5\Interface_mCalc3D\Compile;
C:\Users\Public\Documents\Embarcadero\Studio\16.0\DCP\Win64;"c:\program files (x86)\embarcadero\studio\16.0\lib\win64\release";"c:\program files
(x86)\embarcadero\studio\16.0\lib\win64\release\psdk";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE8\Win64";"C:\Program Files
(x86)\FastReports\LibD22x64";C:\VCL\TRichView\TRichView\Source\Delphi64\XE8\Release;C:\VCL\TRichView\RichViewActions\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\RvHtmlImporter\Source\Delphi64\XE8\Release;C:\VCL\TRichView\RvXml\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\ReportBuilder\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\DevExpress\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\rvHtmlViewImporter\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\HunSpell\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\Indy\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\CleverComponents\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\Math\Source\Delphi64\XE8\Release;C:\Users\Public\Documents\Embarcadero\Studio\16.0\DCP\Win64\Debug -l.\Win64\Debug -v -Gn -aa -V5.0
-Tpe c0w64w memmgr.a sysinit.o .\Win64\Debug\obj_lsf\bcbToXE.o .\Win64\Debug\obj_lsf\Ct.o .\Win64\Debug\obj_lsf\def_lig.o
.\Win64\Debug\obj_lsf\def_mix.o .\Win64\Debug\obj_lsf\ST3D_Imp.o .\Win64\Debug\obj_lsf\interface_lig3d.o .\Win64\Debug\obj_lsf\PerfisAux.o
.\Win64\Debug\obj_lsf\C_HKManager.o .\Win64\Debug\obj_lsf\C_HLThread.o .\Win64\Debug\obj_lsf\STRINGS_dat.o .\Win64\Debug\obj_lsf\c_consist.o
.\Win64\Debug\obj_lsf\EL_EixosLocais.o .\Win64\Debug\obj_lsf\U_Unidades.o .\Win64\Debug\obj_lsf\c_Util.o .\Win64\Debug\obj_lsf\ExportXLS.o
.\Win64\Debug\obj_lsf\XLS_Sheet.o .\Win64\Debug\obj_lsf\LSF_FormaGeometrica.o .\Win64\Debug\obj_lsf\C_DxfExport.o .\Win64\Debug\obj_lsf\C_DxfImport.o
.\Win64\Debug\obj_lsf\C_Export.o .\Win64\Debug\obj_lsf\C_Import.o .\Win64\Debug\obj_lsf\C_Native.o .\Win64\Debug\obj_lsf\C_PriExport.o
.\Win64\Debug\obj_lsf\C_Math.o .\Win64\Debug\obj_lsf\mCalc3D.o .\Win64\Debug\obj_lsf\C_Carregamentos.o .\Win64\Debug\obj_lsf\C_Geometria.o
.\Win64\Debug\obj_lsf\C_Modelo.o .\Win64\Debug\obj_lsf\C_Travamentos.o .\Win64\Debug\obj_lsf\C_Entidade.o .\Win64\Debug\obj_lsf\c_Grupo.o
.\Win64\Debug\obj_lsf\C_Layer.o .\Win64\Debug\obj_lsf\c_Ligacao.o .\Win64\Debug\obj_lsf\c_Pilar1.o .\Win64\Debug\obj_lsf\D_Renum.o
.\Win64\Debug\obj_lsf\F_Carregamentos.o .\Win64\Debug\obj_lsf\F_Configuracao.o .\Win64\Debug\obj_lsf\F_DMaximo.o .\Win64\Debug\obj_lsf\F_DxfExport.o
.\Win64\Debug\obj_lsf\F_Ferramentas.o .\Win64\Debug\obj_lsf\f_gerarplanilhas.o .\Win64\Debug\obj_lsf\F_Impressao.o
.\Win64\Debug\obj_lsf\F_LayerConfig.o .\Win64\Debug\obj_lsf\F_SMaximas.o .\Win64\Debug\obj_lsf\U_AboutBox.o .\Win64\Debug\obj_lsf\U_IniProg.o
.\Win64\Debug\obj_lsf\u_main3d.o .\Win64\Debug\obj_lsf\C_Gfx3D.o .\Win64\Debug\obj_lsf\C_Vista.o .\Win64\Debug\obj_lsf\C_Vista2.o
.\Win64\Debug\obj_lsf\DesenhoPerfil.o .\Win64\Debug\obj_lsf\C_ListaCargas.o .\Win64\Debug\obj_lsf\C_ListaCConcentradas.o
.\Win64\Debug\obj_lsf\C_ListaCDistribuidas.o .\Win64\Debug\obj_lsf\C_ListaEixos.o .\Win64\Debug\obj_lsf\C_ListaEntidades.o
.\Win64\Debug\obj_lsf\c_ListaGrupos.o .\Win64\Debug\obj_lsf\C_ListaLayer.o .\Win64\Debug\obj_lsf\c_ListaLigacoes.o
.\Win64\Debug\obj_lsf\C_ListaLinhas.o .\Win64\Debug\obj_lsf\c_ListaPilares1.o .\Win64\Debug\obj_lsf\C_ListaPontos.o
.\Win64\Debug\obj_lsf\C_ListaVistas.o .\Win64\Debug\obj_lsf\XMATH.o , .\Win64\Debug\mCalc3D.exe , .\Win64\Debug\mCalc3D.map , rtl.a vcl.a vclx.a
vclimg.a VclSmp.a bcbsmp.a RVPkgDXE8.a libxl.a import64.a cp64mt.a , , mCalc3D.res ..\Resources\Cursores.res
[ilink64 Error] Fatal: Unable to open file 'CUMENTS\EMBARCADERO\STUDIO\16.0\DCP\WIN64\DEBUG'
Failed
Elapsed time: 00:05:47.0
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Problemas com RV em C++Builder XE8

Post by Sergey Tkachenko »

It looks like the 64-bit compiler/linker has a limitation on the path length.

TRichView paths are:
C:\VCL\TRichView\TRichView\Source\Delphi64\XE8\Release;C:\VCL\TRichView\RichViewActions\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\RvHtmlImporter\Source\Delphi64\XE8\Release;C:\VCL\TRichView\RvXml\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\ReportBuilder\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\DevExpress\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\rvHtmlViewImporter\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\HunSpell\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\ThirdParty\Indy\Source\Delphi64\XE8\Release;C:\VCL\TRichView\ThirdParty\CleverComponents\Source\Delphi64\XE8\Release;
C:\VCL\TRichView\Math\Source\Delphi64\XE8\Release

They are repeated twice in the command line.
Try removing paths to add-ons you do not use.
For example, if you use only TRichView, without additional packages, leave only "C:\VCL\TRichView\TRichView\Source\Delphi64\XE8\Release", delete all other TRichView paths.
Post Reply