AsynPro linker problems

0

I´m using RAD C++ 10.2 Tokio to create a program VCL 32bits. The program compiles and runs well until... I need to manage serial communications, so I have installed the free tool AsynPro. As soon as I add non-visual component "TApdComPort" named "ApdComPort1". The link fails to finish the linking. The message is:   [ilink32 Error] Error: Unable to open file 'ADSELCOM.DFM' [ilink32 Error] Error: Unable to perform link   I have tested with RTL enable or disabled. I have tested with Run Time Packages false/true. In all this cases, the error continues appearing. I have checked the "#include "AdPort.hpp"" line is in Header of my file.   Can anybody help me ??     Regards, Daniel

Responses (1)
  • Accepted Answer

    Friday, April 21 2017, 08:28 AM - #Permalink
    0

    Hello Daniel - Using C++ Builder 10.2 Tokyo, I just tried adding the non-visual component "TApdComPort"  from GetIt Package Manager AsyncPro for VCL 1.3

    AddComPort1

    And for me the Project compiles and links OK:

    Target _PerformLink:

        Target _PerformBCCILink:

            c:\program files (x86)\embarcadero\studio\19.0\bin\ilink32.exe -G8 -L.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\19.0\lib\Win32\debug";"c:\program files (x86)\embarcadero\studio\19.0\lib\win32\release";"c:\program files (x86)\embarcadero\studio\19.0\lib\win32\release\psdk";C:\Users\Public\Documents\Embarcadero\Studio\19.0\DCP -j.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\19.0\lib\Win32\debug";"c:\program files (x86)\embarcadero\studio\19.0\lib\win32\release";"c:\program files (x86)\embarcadero\studio\19.0\lib\win32\release\psdk";C:\Users\Public\Documents\Embarcadero\Studio\19.0\DCP -l.\Win32\Debug -v -GA"C:\Users\amann\AppData\Local\Temp\vfs89D0.tmp"="C:\Users\amann\Documents\Embarcadero\Studio\Projects\Unit1.dfm" -aa -V5.0 -Tpe  c0w32w rtl.bpi vcl.bpi AsyncProDR.bpi vclx.bpi memmgr.lib sysinit.obj .\Win32\Debug\Project1.obj .\Win32\Debug\Unit1.obj , .\Win32\Debug\Project1.exe , .\Win32\Debug\Project1.map , import32.lib cp32mti.lib , , Project1.res 

     

    Build succeeded.

     

    Did your ADSELCOM.DFM file get installed in your:

    C:\Users\\Documents\Embarcadero\Studio\19.0\CatalogRepository\AsyncPro-1.3\source

    The reply is currently minimized Show
Your Reply

Please login to post a reply