<<  >> (p.11)
    Author Topic: Armory - Discussion Thread  (Read 522411 times)
    nhodges
    Sr. Member
    ****
    Offline Offline

    Activity: 322
    Merit: 251


    View Profile
    January 30, 2012, 10:06:45 PM
     #201

    Trying to build solution on W7 w/ VS2012, however seem to be getting about 85 of these types of errors:

    error LNK2001: unresolved external symbol __imp_Py*

    I definitely have python installed and in my path, as well as all the other requirements. Any thoughts?

    It's possible that you are trying to compile for the wrong architecture.  Make sure you're selecting "Release" and "x64" at the top of MSVS (if you are on a 64-bit system) and make sure you have 64-bit python installed.  In my case, I got errors (albeit, different ones) if I tried compiling in 32-bit, because my installed C:\Python27\python27.lib file is only for 64-bit systems.

    I suppose it could also be a SWIG problem, but it sounds like you got all the way to the linking phase, so SWIG had probably done it's job by then...



    I've tried it under both. I have Python 2.6 for 32 bit systems installed. Is 2.7 a requirement on Windows?

    When I try to compile under 32 bit, I do get the "CppBlockUtils_wrap.cxx" file, but it seems like it dies there when trying to create the pyd/dll.

    I get this error in this case:

    Code:
    error MSB3073: The command "copy Release\SWIG_compile_dll_MSVS2005.dll ..\_CppBlockUtils.pyd;
    python ../pyqt/setup.py py2exe --includes sip,hashlib -d ../pyqtexplore

    Is there any debug information I can wrangle up that might help in figuring out what I'm missing?

    Thanks

Page 10
Viewing Page: 11