Win32 API won't build - python22_d.lib?

Spencer Doidge spencer at spencerdoidge.com
Sun Jan 27 11:51:26 EST 2002


With the latest Python 2.2 download (last night), building the source shown
below (using Visual C++), I get this error:

LINK : fatal error LNK1104: cannot open file "python22_d.lib"

Can't find python22_d.lib.

// PythonTest11.c Python embedding test module 1

#include <windows.h>
#include "Python.h"

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                    PSTR szCmdLine, int iCmdShow)
{
 MSG      msg = {0};
 Py_Initialize();
 return msg.wParam ;

}// end WinMain

// end of file.

Any clues?

Spencer Doidge





More information about the Python-list mailing list