title: Visual Studio 2010 project builds fine using 32 bit, but get LNK2028 and LNK2019 errors when trying 64-bit. What could fix this?
body: <p>I have a <code>Microsoft Visual 2010</code> project that runs fine in the <code>Win-32</code> compilation setting. I am running on Windows 10. I am trying to use the <code>x64</code> to build for <code>64-bit</code> but that is when I encounter the <code>LNK</code> errors (examples below):</p>
  <pre><code>error LNK2028: unresolved token (0A00015D) &quot;extern &quot;C&quot; unsigned char __cdecl 
  UcanDeinitCan(unsigned char)&quot; (?UcanDeinitCan@@$$J0YAEE@Z) referenced in function 
  &quot;public: unsigned int __cdecl CAN::DeConfigDev(void)&quot; (?DeConfigDev@CAN@@$$FQEAAIXZ)     
  CAN.obj
  
  error LNK2019: unresolved external symbol &quot;extern &quot;C&quot; unsigned char __cdecl 
  UcanDeinitCan(unsigned char)&quot; (?UcanDeinitCan@@$$J0YAEE@Z) referenced in function 
  &quot;public: unsigned int __cdecl CAN::DeConfigDev(void)&quot; (?DeConfigDev@CAN@@$$FQEAAIXZ)     
  CAN.obj
  
  error LNK2001: unresolved external symbol __imp___glewGenBuffers    Patient_GPU.obj
  </code></pre>
  <p>I've attempted to change the <code>/clr</code> function, as well as the calling convention (_cdecl ...) in an attempt to follow other solutions related to the LNK errors but neither has worked. Is there a different way to fix these errors, or get a better idea of what they actually mean? Any help would be greatly appreciated. Thank you so much!</p>