Turbo Power Asyncpro error on compiling

476 Views Asked by At

I have a C++ Builder XE project. I use additional packages from Turbo Power Async Professional called TApdComport to enabling the communication with Serial Port.

However, I always got error message if I try to compile my project. Here is the message:

[ILINK32 Error] Fatal: Unable to open file 'ADPORT.OBJ'

I don't understand whats going wrong here. I've been install the packages correctly based on this tutorial but that error always appeared.

It includes "ILINK32" which means the error is on linking process so I check my Include path and Library path in Tools>Option menu but nothing wrong on the path section.

Anyone can tell me how to solve a problem like this?

Thank in advance.

1

There are 1 best solutions below

1
On

This error message means that the linker cannot find a file that satisfies an explicit dependency. Sometimes, one of the source files/headers is explicitly asking for this file via a #pragma link, but most of the time one of the .obj/.lib files you are linking against has an explicit dependency.

This is usually satisfied by adding a path to the linker's search paths.

Since you say there is nothing wrong with your linker paths, does that mean you've got an entry for the Turbo Power Libraries?

It is worth noting that the linker is sometimes satisfied with an appropriate .lib file, even though it asks for a specific .obj file, that may be available in a differently named .lib file.