Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

CyAPI.lib(CyAPI.obj) - Error LNK2019: Unresolved External Symbol

CyAPI.lib(CyAPI.obj) - Error LNK2019: Unresolved External Symbol

Anonymous
Not applicable

How to fix error LNK2019?

 

When a C++ project with CyAPI.lib is built using Visual Studio, the error “CyAPI.lib(CyAPI.obj): error LNK2019: unresolved external symbol” is shown. How to fix this error?

The error is thrown when the linker cannot find the CyAPI.lib library file. To fix this, link the CyAPI.lib library to your project. Refer to MSDN article: .lib files as linker input on how to link a library with your project.

Link the following libraries:

  1. setupapi.lib. This is a standard library available with the Windows SDK.
  2. CyAPI.lib. This library is located at C:\Program Files (x86)\Infineon\EZ-USB FX3 SDK\1.3\library\cpp\lib\x64 for 64-bit systems and at C:\Program Files\Infineon\EZ-USB FX3 SDK\1.3\library\cpp\lib\x86 for 32-bit systems

 

Version: **

Translation - Japanese: CyAPI.lib(CyAPI.obj):エラーLNK2019:未解決の外部シンボル – KBA90454 - Community Translated (JA)

0 Likes
1518 Views