Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > compile error -3.4.7 CyAPI.lib(x64) in vs2010

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



compile error -3.4.7 CyAPI.lib(x64) in vs2010
Moderator:
RSKV

Post Reply
Follow this topic



compile error -3.4.7 CyAPI.lib(x64) in vs2010

qiezi posted on 11 Jul 2012 6:09 PM PST

1 Forum Post

project on windows 7 (x64bit),first i complie CyAPI.lib(X64) on windows xp(32bit) error,but compile CyAPI.lib(x86) is OK

And the same error when  i complie CyAPI.lib on windows 7(x64bit) is that CyAPI.lib(x64) error and CyAPI.lib(x86) is OK;

all compile in vs2010

why??

1>CyUsb.obj : error LNK2019: 无法解析的外部符号 "public: bool __thiscall CCyUSBEndPoint::XferData(unsigned char *,long &,class CCyIsoPktInfo *)" (?XferData@CCyUSBEndPoint@@QAE_NPAEAAJPAVCCyIsoPktInfo@@@Z),该符号在函数 "public: void __thiscall CCyUsb::WritePort(void)" (?WritePort@CCyUsb@@QAEXXZ) 中被引用
1>Omr2001Dlg.obj : error LNK2001: 无法解析的外部符号 "public: bool __thiscall CCyUSBEndPoint::XferData(unsigned char *,long &,class CCyIsoPktInfo *)" (?XferData@CCyUSBEndPoint@@QAE_NPAEAAJPAVCCyIsoPktInfo@@@Z)
1>Omr2001Dlg.obj : error LNK2019: 无法解析的外部符号 "public: bool __thiscall CCyUSBEndPoint::WaitForXfer(struct _OVERLAPPED *,unsigned long)" (?WaitForXfer@CCyUSBEndPoint@@QAE_NPAU_OVERLAPPED@@K@Z),该符号在函数 "public: int __thiscall COmr2001Dlg::read_buf(unsigned char * const)" (?read_buf@COmr2001Dlg@@QAEHQAE@Z) 中被引用
1>Omr2001Dlg.obj : error LNK2019: 无法解析的外部符号 "public: unsigned char __thiscall CCyUSBDevice::EndPointCount(void)" (?EndPointCount@CCyUSBDevice@@QAEEXZ),该符号在函数 "public: int __thiscall COmr2001Dlg::FindLoopDevice(void)" (?FindLoopDevice@COmr2001Dlg@@QAEHXZ) 中被引用
1>Omr2001Dlg.obj : error LNK2019: 无法解析的外部符号 "public: bool __thiscall CCyUSBDevice::Open(unsigned char)" (?Open@CCyUSBDevice@@QAE_NE@Z),该符号在函数 "public: int __thiscall COmr2001Dlg::FindLoopDevice(void)" (?FindLoopDevice@COmr2001Dlg@@QAEHXZ) 中被引用
1>Omr2001Dlg.obj : error LNK2019: 无法解析的外部符号 "public: unsigned char __thiscall CCyUSBDevice::DeviceCount(void)" (?DeviceCount@CCyUSBDevice@@QAEEXZ),该符号在函数 "public: int __thiscall COmr2001Dlg::FindLoopDevice(void)" (?FindLoopDevice@COmr2001Dlg@@QAEHXZ) 中被引用
1>Omr2001Dlg.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CCyUSBDevice::CCyUSBDevice(void *,struct _GUID,int)" (??0CCyUSBDevice@@QAE@PAXU_GUID@@H@Z),该符号在函数 "public: int __thiscall COmr2001Dlg::FindLoopDevice(void)" (?FindLoopDevice@COmr2001Dlg@@QAEHXZ) 中被引用
1>Omr2001Dlg.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CCyUSBDevice::~CCyUSBDevice(void)" (??1CCyUSBDevice@@QAE@XZ),该符号在函数 "public: void * __thiscall CCyUSBDevice::`scalar deleting destructor'(unsigned int)" (??_GCCyUSBDevice@@QAEPAXI@Z) 中被引用

 




Re: compile error -3.4.7 CyAPI.lib(x64) in vs2010

posted on 12 Jul 2012 10:41 PM PST

1 Forum Post

 Hi,

 

Are you using the latest version of SuiteUSB? If not, can you please try out the CyAPI.lib from the respective folder, available as part of the latest SuiteUSB (http://www.cypress.com/?rID=34870). Please check and let us know, if this issue is seen with the latest version also.

 

Regards,

Gayathri



Re: compile error -3.4.7 CyAPI.lib(x64) in vs2010

Gayathri posted on 12 Jul 2012 10:42 PM PST
Cypress Employee
428 Forum Posts

 Hi,

 

Are you using the latest version of SuiteUSB? If not, can you please try out the CyAPI.lib from the respective folder, available as part of the latest SuiteUSB (http://www.cypress.com/?rID=34870). Please check and let us know, if this issue is seen with the latest version also.

 

Regards,

Gayathri



Re: compile error -3.4.7 CyAPI.lib(x64) in vs2010

yilong posted on 02 Apr 2013 05:14 AM PST

1 Forum Post

Hello!

I also meet the same question .

Please give me the question's solution.

Thank you



Re: compile error -3.4.7 CyAPI.lib(x64) in vs2010

Gayathri posted on 03 Apr 2013 10:19 PM PST
Cypress Employee
428 Forum Posts

 Hi,

 

Pleae try building the application by forcing that to x86 architecture in VS 2010 and see if it builds successfully?

 

Regards,

Gayathri



Re: compile error -3.4.7 CyAPI.lib(x64) in vs2010

NIKL posted on 03 Apr 2013 09:08 PM PST
Cypress Employee
148 Forum Posts

 C# or C++ heavily depends on system performance counter. If the performance counter instantiation fails, then a exception is thrown by the system. Please try the following:


In the problem machine,launch performance monitor. Make sure the processor time graph is moving. To launch performance monitor, go to Run "perfmon.msc" and please make sure you can run performance monitoring successfully.

 

Thanks

Nikhil






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20