I'm trying to build PyFTGL against 64-bit Python2.7. PyFTGL uses Boost, so I have to build Boost as well (the downloadable installers are all 32-bit). I created a user-config.jam in my home directory with this line:

using python : 2.7 : C:\\Python27x64\\python.exe ;

and then built Boost's Python libraries with

> bjam.exe --toolset=msvc-9.0 --address-model=64 --with-python

PyFTGL uses Python's distutils to build, which doesn't know how to find libraries whose names start with "lib", so I renamed the .lib files in the stage/lib directory: "libboost_python-vc90-mt-1_46_1.lib" to "boost_python-vc90-mt-1_46_1.lib" and so on. Then I tried to build PyFTGL with this:

> C:\Python27x64\python.exe setup.py build

I get 41 link errors. Here's the first:

ftgl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: __cdecl boost::python::detail::tuple_base::tuple_base(struct boost::python::detail::new_reference_t *)" (__imp_??0tuple_base@detail@python@boost@@IEAA@PEAUnew_reference_t@123@@Z) referenced in function "public: __cdecl boost::python::tuple::tuple(struct boost::python::detail::new_reference_t *)" (??0tuple@python@boost@@QEAA@PEAUnew_reference_t@detail@12@@Z)

I've put the entire output up on a pastebin here: http://pastebin.com/iuPzKdKs

Any ideas what's going wrong here? Thanks for any suggestions!

-Chris