5 Replies Latest reply on Jul 12, 2012 12:42 AM by gayathri.vasudevan

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

    yan.jin

      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) 中被引用