You are here

Using CyAPI.lib in BCB program | Cypress Semiconductor

Using CyAPI.lib in BCB program

Summary: 1 Reply, Latest post by aasi on 26 Aug 2013 11:00 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
snowwolf's picture
13 posts

I want to use CyAPI.lib in my BCB program.
After adding code lile below
#pragma comment(lib,"C:\\Cypress\\Cypress Suite USB 3.4.7\\CyAPI\\lib\\x64\\CyAPI.lib")
in cpp file, and compling, error is showed as below.
[Linker Error] 'C:\CYPRESS\CYPRESS SUITE USB 3.4.7\CYAPI\LIB\X64\CYAPI.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

aasi's picture
Cypress Employee
1166 posts


The CyAPI.lib that comes with the SuiteUSB is for Microsoft Visual studio suite of tools.

The .lib source code is available, you can use that to build your own code or migrate to MS Visual studio which would be easier given the sample code and documentation available.



Log in to post new comments.