You can disregard this, I was in fact overlooking something obvious.  I built the VM I'm working on from scratch and missed the 64-bit compiler tools somehow during the silent run of my VS Install.  Don't mind me.

--Dan


On Fri, Jun 21, 2013 at 11:18 AM, Daniel Casper <dancasper@gmail.com> wrote:
Previously I spent some time getting 64-bit support working with an older version of py2exe and I wanted to try to merge those changes into the 6.10 source, but I've hit a snag.  I've built a fresh VM and retrieved the py2exe trunk.  When I attempt to build it I receive a number of Unresolved Externals and I'm unable to install py2exe or create installers for it.  The errors are included here:

   Creating library build\temp.win-amd64-2.7\Release\source\_memimporter.lib and object build\temp.win-amd64-2.7\Release\source\_memimporter.exp
MyLoadLibrary.obj : error LNK2019: unresolved external symbol __imp__PyErr_Clear referenced in function __LoadLibrary
MyLoadLibrary.obj : error LNK2019: unresolved external symbol __imp__PyString_AsString referenced in function __LoadLibrary
MyLoadLibrary.obj : error LNK2019: unresolved external symbol __imp__PyObject_CallFunction referenced in function __LoadLibrary
_memimporter.obj : error LNK2019: unresolved external symbol __imp__PyImport_ImportModule referenced in function _import_module
_memimporter.obj : error LNK2019: unresolved external symbol __imp__PyErr_Occurred referenced in function _import_module
_memimporter.obj : error LNK2019: unresolved external symbol __imp___Py_PackageContext referenced in function _import_module
_memimporter.obj : error LNK2019: unresolved external symbol __imp__PyErr_Format referenced in function _import_module
_memimporter.obj : error LNK2019: unresolved external symbol __imp__PyExc_ImportError referenced in function _import_module
_memimporter.obj : error LNK2019: unresolved external symbol __imp__PyArg_ParseTuple referenced in function _import_module
_memimporter.obj : error LNK2019: unresolved external symbol __imp__PyInt_FromLong referenced in function _get_verbose_flag
_memimporter.obj : error LNK2019: unresolved external symbol __imp__Py_VerboseFlag referenced in function _get_verbose_flag
_memimporter.obj : error LNK2019: unresolved external symbol __imp__Py_InitModule4 referenced in function _init_memimporter
build\lib.win-amd64-2.7\_memimporter.pyd : fatal error LNK1120: 12 unresolved externals

Am I missing something simple?  It seems like those are all parts of the python API that should be available.  I did not build my Python from source, just a Windows Installer for 64-bit 2.7.5.

Thanks in advance,
--Daniel