Avatar of Roger Alcindor
Roger Alcindor

asked on 

Innapropriate ilink32 error

I have coded a Windows 32 VCL application using Embarcadero C++ builder  EX10.1 Berlin and using a winsoft TOBR barcode recognition component.
The application worked.
I now wish to no longer use the Winsoft component in the application so I removed it from the project entirely,including the library and the obr.hpp header file.
The project now compiles but I get a linker error that the file OBR.OBJ cannot be found when the project no loger uses the component as far as I can see.
Where is the linker getting the reference to OBR.OBJ from or how can I get rid of the error ?

The ilink32 command line is as follows :

  c:\program files (x86)\embarcadero\studio\18.0\bin\ilink32.exe -G8 -L.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\18.0\lib\Win32\debug";
  CivicWeldRESTServer;"c:\program files (x86)\embarcadero\studio\18.0\lib\win32\release";"c:\program files 
  (x86)\embarcadero\studio\18.0\lib\win32\release\psdk";C:\Users\Public\Documents\Embarcadero\Studio\18.0\DCP -j.\Win32\Debug;"c:\program files 
  (x86)\embarcadero\studio\18.0\lib\Win32\debug";CivicWeldRESTServer;"c:\program files (x86)\embarcadero\studio\18.0\lib\win32\release";"c:\program 
  files (x86)\embarcadero\studio\18.0\lib\win32\release\psdk";C:\Users\Public\Documents\Embarcadero\Studio\18.0\DCP -l.\Win32\Debug -C -v 
  -GA"C:\Users\roger\AppData\Local\Temp\vfs7F41.tmp"="C:\Users\roger\Documents\Embarcadero\Studio\Projects\FrameStatusWebServerV2\WebModuleUnit1.dfm" 
  -GA"C:\Users\roger\AppData\Local\Temp\vfs7F42.tmp"="C:\Users\roger\Documents\Embarcadero\Studio\Projects\FrameStatusWebServerV2\FormUnit1.dfm" -aa 
  -V5.0 -Tpe -GHtds=0x0F000000 c0w32 memmgr.lib sysinit.obj .\Win32\Debug\FrameStatusWebServer.obj .\Win32\Debug\FormUnit1.obj 
  .\Win32\Debug\WebModuleUnit1.obj , .\Win32\Debug\FrameStatusWebServer.exe , .\Win32\Debug\FrameStatusWebServer.map , vcl.lib rtl.lib inet.lib 
  dbrtl.lib adortl.lib inetdbxpress.lib inetdb.lib dbexpress.lib DbxCommonDriver.lib DBXMSSQLDriver.lib vclimg.lib xmlrtl.lib vclactnband.lib vclx.lib 
  fmx.lib import32.lib cp32mt.lib , , FrameStatusWebServer.res FrameStatusWebServer.res 
[ilink32 Error] Fatal: Unable to open file 'OBR.OBJ'

Open in new window

C++Delphi

Avatar of undefined
Last Comment
Roger Alcindor

8/22/2022 - Mon