cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

I have been using CyAPI.lib (from Suite USB 3.4.7) successfully as part of a C++ program in Visual Studio 2010 and 2013, however I have recently upgraded to VS2015 and it is now producing linker errors regarding a _sprintf() function call within the lib file.

   

Has anyone found a solution or workaround for this or must I return to VS2013?

   

 

   

Many thanks,

   

Chris

0 Likes
Reply
5 Replies
Anonymous
Not applicable

I am having the same Issue with Dev Studio 2015 Please let me know the resolutions..

   

CySuiteUSB_3_4_7_B204

0 Likes
Reply
Anonymous
Not applicable

I am having the same Issue with Dev Studio 2015 Please let me know the resolutions..

   

CySuiteUSB_3_4_7_B204

0 Likes
Reply
Anonymous
Not applicable

Same linking problem here : 

   

LNK2001 : unresolved external symbol _sprintf

We have EZ-USB FX3 SDK 1.3.3​

0 Likes
Reply
Anonymous
Not applicable

I am also seeing this issue.  ANy plans to fix it?  Or is there a workaround?

0 Likes
Reply
Anonymous
Not applicable

I found the answer myself. This is a general problem in VS2015 using C++ libraries compiled with an older Visual Studio version. Microsoft have made some breaking changes explained in the link below (scroll down to the section "<Stdio.h> and <Conio.h>")

   

https://msdn.microsoft.com/en-us/library/bb531344.aspx#BK_CRT

   

Looks like you will have to link in legacy_stdio_definitions.lib until Cypress issue a VS2015 version of CyAPI.lib

0 Likes
Reply