I am migrating a very large application from BDS 2006 straight to XE10. I have everything compiling now, but am hitting link errors, the first of which is "[ilink32 Error] Fatal: Unable to open file 'PTBLRV.OBJ'".
A search of this forum gave me this article, which seems more or less the same issue:
http://www.trichview.com/forums/viewtopic.php?t=6965
I have significant experience with c++, but little with Embarcadero or it's predecessor, so I can not work out what files (libraries) to reference in the solution given in the link above. Although the latest (licensed) version of TR I have installed components in my XE10 environment, I can not find the equivalent "RVPkgCBXE10" project or a related library.
As an aside, the legacy code I am migrating contains many "#pragma link" directives, which is the source of this error. Do these need to remain in the code, or is it enough to specify the required libraries ?
link error (missing obj file) with latest version and XE10
-
- Site Admin
- Posts: 17561
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
The advice in
http://www.trichview.com/forums/viewtopic.php?t=6965
is still correct.
You need add TRichView library in CBPROJ file
(alternatively, you can use pragma link
#pragma link "RVPkgD10.lib"
or
#pragma link "RVPkgCB10.lib")
By default, these files must be created in <common document>\Embarcadero\Studio\17.0\Dcp, such as c:\Users\Public\Documents\Embarcadero\Studio\17.0\Dcp
http://www.trichview.com/forums/viewtopic.php?t=6965
is still correct.
You need add TRichView library in CBPROJ file
(alternatively, you can use pragma link
#pragma link "RVPkgD10.lib"
or
#pragma link "RVPkgCB10.lib")
By default, these files must be created in <common document>\Embarcadero\Studio\17.0\Dcp, such as c:\Users\Public\Documents\Embarcadero\Studio\17.0\Dcp