I got it, I should use static lib instead of ddl.
So I did add inc directory and .lib directory. Now the problem became CHAR is not defined in cyusb30_def.h. I thought this should already defined somewhere. Why do I get this failure?
c:\program files (x86)\cypress\ez-usb fx3 sdk\1.3\library\cpp\inc\cyusb30_def.h
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\library\cpp\inc
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\library\cpp\lib\x64
I got it now. It's windows.h. Thx