Building extensions for python 2.6 adm64 with the SDK compiler

Discussion in 'Python' started by David Cournapeau, Dec 12, 2008.

  1. Hi,

    I have some trouble building python 2.6 extensions with the SDK
    compiler on windows 64 bits. The problem is that after link step,
    mt.exe is called to embed the MANIFEST into the executable, but the
    manifest is not created, so the build fails with a "general error
    c1010070:Failed to load and parse the manifest". I am a bit confused:
    - I thought that manifest should not be embedded in .pyd
    (http://bugs.python.org/issue4120), but the code of msvc9compiler.py
    in distutils suggests otherwise, and uses the option /MANIFESTFILE
    (which only changes the name of the manifest, according to MSDN).
    - Is this specific to the SDK compiler ? E.g. does the native VS
    compiler on 64 bits have the same problem ? I guess not, because
    people would have complained before, I guess.

    If I manually add the /MANIFEST file to the link options, the build does work,

    David
     
    David Cournapeau, Dec 12, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anthony Baxter
    Replies:
    7
    Views:
    563
    Grumman
    Dec 12, 2004
  2. Mike C. Fletcher
    Replies:
    6
    Views:
    361
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Jul 30, 2004
  3. David
    Replies:
    4
    Views:
    1,798
    Andrew Thompson
    Jan 10, 2007
  4. Replies:
    8
    Views:
    648
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Apr 11, 2007
  5. James Tucker
    Replies:
    0
    Views:
    148
    James Tucker
    May 27, 2007
Loading...

Share This Page