Can CyAPI be used in mingw?

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

cross mob
hush_4779821
Level 1
Level 1

My project was compiled by mingw, but I have not been able to find the CyAPI.lib that can be used in mingw. Please refer to anyone who has encountered and solved this problem, thank you!

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

The CyAPI.lib is compiled with Visual Studios. We have not tested using CyAPI.lib in QT applications.

To use the  CyAPI with MinGW, the CyAPI source needs to be recompiled with MinGW and then statically linked in the project.

Please download the CYUSB suite from this link https://www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit and recompile with MinGW compiler.

Please let me know if any queries on it.

Regards,

Rashi

  

Regards,
Rashi

View solution in original post

0 Likes
2 Replies
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

The CyAPI.lib is compiled with Visual Studios. We have not tested using CyAPI.lib in QT applications.

To use the  CyAPI with MinGW, the CyAPI source needs to be recompiled with MinGW and then statically linked in the project.

Please download the CYUSB suite from this link https://www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit and recompile with MinGW compiler.

Please let me know if any queries on it.

Regards,

Rashi

  

Regards,
Rashi
0 Likes

Thank you for your reply, I have solved this problem a few days ago. Thank you again for your concern!

0 Likes