Compiles on 32bits VS, crashes on 64bits VS (exact same project)
Oct 3, 2013 at 11:00pm UTC
Hello.
I have created a project in Visual studio 2010, 32bit win7. Compiled it, it works fine.
I transfered the project to my 64bit computer with win 7 64 bits & visual studio 2010, and it gives me the following error.
what should I change/modify ?
thanks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
1
1>Build started 10/3/2013 3:56:43 PM.
1>InitializeBuildStatus:
1> Touching "Debug\Example1.unsuccessfulbuild".
1>GenerateTargetFrameworkMonikerAttribute:
1>Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
1>ClCompile:
1> All outputs are up-to-date.
1> All outputs are up-to-date.
1> All outputs are up-to-date.
1>CoreResGen:
1> Processing resource file "Form1.resX" into "Debug\Example1.Form1.resources".
1>ResourceCompile:
1> All outputs are up-to-date.
1>Example1.obj : error LNK2028: unresolved token (0A000023) "public: bool __thiscall CCyUSBDevice::Open(unsigned char)" (?Open@CCyUSBDevice@@$$FQAE_NE@Z) referenced in function "private: void __clrcall Example1::Form1::RefreshList(void)" (?RefreshList@Form1@Example1@@$$FA$AAMXXZ)
1>Example1.obj : error LNK2028: unresolved token (0A000038) "public: unsigned char __thiscall CCyUSBDevice::DeviceCount(void)" (?DeviceCount@CCyUSBDevice@@$$FQAEEXZ) referenced in function "private: void __clrcall Example1::Form1::RefreshList(void)" (?RefreshList@Form1@Example1@@$$FA$AAMXXZ)
1>Example1.obj : error LNK2028: unresolved token (0A000040) "public: __thiscall CCyUSBDevice::CCyUSBDevice(void *,struct _GUID,int)" (??0CCyUSBDevice@@$$FQAE@PAXU_GUID@@H@Z) referenced in function "public: void __clrcall Example1::Form1::GetDevice(void)" (?GetDevice@Form1@Example1@@$$FQ$AAMXXZ)
1>Example1.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CCyUSBDevice::Open(unsigned char)" (?Open@CCyUSBDevice@@$$FQAE_NE@Z) referenced in function "private: void __clrcall Example1::Form1::RefreshList(void)" (?RefreshList@Form1@Example1@@$$FA$AAMXXZ)
1>Example1.obj : error LNK2019: unresolved external symbol "public: unsigned char __thiscall CCyUSBDevice::DeviceCount(void)" (?DeviceCount@CCyUSBDevice@@$$FQAEEXZ) referenced in function "private: void __clrcall Example1::Form1::RefreshList(void)" (?RefreshList@Form1@Example1@@$$FA$AAMXXZ)
1>Example1.obj : error LNK2019: unresolved external symbol "public: __thiscall CCyUSBDevice::CCyUSBDevice(void *,struct _GUID,int)" (??0CCyUSBDevice@@$$FQAE@PAXU_GUID@@H@Z) referenced in function "public: void __clrcall Example1::Form1::GetDevice(void)" (?GetDevice@Form1@Example1@@$$FQ$AAMXXZ)
1>C:\Users\Joe\Cypress\Example1\Debug\Example1.exe : fatal error LNK1120: 6 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.34
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Oct 3, 2013 at 11:06pm UTC
unresolved token/symbol means something is either missing an implementation (or rather, this is always what it means but bare with me) or something isn't being linked against.
Oct 4, 2013 at 12:04am UTC
it doesn't say what :(
is there any plugin/extension I can install that would give more details about what's missing ?
This is my Configuration Properties/C++/Command Line:
/I"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\library\cpp\inc" /Zi /clr /nologo /W3 /WX- /Od /Oy- /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /EHa /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"StdAfx.h" /Fp"Debug\Example1.pch" /Fa"Debug\" /Fo" Debug\" /Fd" Debug\vc100.pdb" /FU" C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /FU" C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /FU" C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /FU" C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /FU" C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /FU" C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /analyze- /errorReport:queue
I made sure that the Cypress APIs I use are the 64bits version. What about the others ? they seem to be standard coding APIs. are they compatible 64bits ?
Oct 4, 2013 at 12:10am UTC
Topic archived. No new replies allowed.