Hi Forum,
I've downloaded the TE-USB-Suite folder from github and tried to build TE_USB_FX2_CyAPI_SampleApplication without changing anything besides the target platform to Win32 in the configuration Manager. I'm compiling using Microsoft Visual C++ Express 2010 and Windows7 x86.
I get the following error when building.
1>------ Rebuild All started: Project: TE_USB_FX2_CyAPI_SampleApplication, Configuration: Release Win32 ------
1> stdafx.cpp
1> TE_USB_FX2_CyAPI_SampleApplication.cpp
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol _TE_USB_FX2_SendCommand
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol _TE_USB_FX2_ScanCards
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol _TE_USB_FX2_GetData_InstanceDriverBuffer
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol _TE_USB_FX2_GetData
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol _TE_USB_FX2_SetData_InstanceDriverBuffer
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol _TE_USB_FX2_SetData
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol "public: __thiscall CCyUSBDevice::CCyUSBDevice(void *,struct _GUID,int)" (??0CCyUSBDevice@@QAE@PAXU_GUID@@H@Z)
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol _TE_USB_FX2_Open
1>TE_USB_FX2_CyAPI_SampleApplication.obj : error LNK2001: unresolved external symbol _TE_USB_FX2_Close
1>$PATH\TE_USB_FX2_CyAPI_SampleApplication\Release\TE_USB_FX2_CyAPI_SampleApplication.exe : fatal error LNK1120: 9 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Any sugestion to solve this?
edit: I cleaned up the project before building.
Nevermind I solved the problem, I didn't saw the readme. I was using the wrong dll's and libs.
Actually the readme file is missing in the CyAPI_sampleApplication folder in the current version.
We added a lot of new readme files.
Anyway, I recommend to read our detailed and friendly documentation:
http://www.trenz-electronic.de/download/d0/Trenz_Electronic/d1/TE-USB-Suite.html
The release of the third generation Trenz Electronic USB FX2 Suite made this post obsolete. Please access current documentation and resources here: TE USB FX2 Suite (https://wiki.trenz-electronic.de/display/TEUSB/).