[PythonCE] Python23.lib?

Salvatore Russo salvatore.russo at laposte.net
Tue Jun 28 10:11:17 CEST 2005


I've tried yesterday the command:

"lib python23.dll"

... but it does't work, I have the error: 

Python23.dll : fatal error LNK1136 : invalid or corrupt file.

I found this programm


and used it... and it created me the dll. But this programm is very expensive, and I don't know what it is really doing. Given that I am working on a open source application, I am not so happy to use such a programm. Such an expensive programm can not do something that we can do with a simple command line :=) ??

I am using evc4. The other problem I have is that I would be happy to begin testing Blender on the emulator and the python23.dll is only for pocketpc.
Maybe it will be a better solution to built pythonCE again with EVC and then, I will have everything I need... maybe someone as a better idea? I only need python23.dll and python23.lib for pocketpc and for emulator (x86). Did someone already built PythonCE with EVC4 ?? Maybe someone has already the projects files :=) ?

Thanks for your help,

> On 27 Jun 2005 at 16:02, Salvatore Russo wrote:
> > 
> > What I don't understand, is why pyconfig.h (one of the file in all header to use python with C++) want to import this python23.lib. Here is the code:
> > # pragma comment(lib,"python23.lib")
> This pragma automatically tells windows compiler which library you need 
> to link to.
> You always need a library if you're linking to the DLL, otherwise the linker 
> doesn't know which symbols are available, or their types (if using C++ 
> mangling)
> > I am using EVC4... I can try what you proposed. BUT if I generate a python23.lib from my python23.dll... and then include them in my built, I will have the python informa> 
> No, you won't have it twice. the .lib file is only used during the linking 
> process. It doesn't add anything to your exe.
> Think of it as a symbol table, not a static link.
> -- 
> Brad Clements, bkc at murkworks.com (315)268-1000
> http://www.murkworks.com 
> AOL-IM or SKYPE: BKClements
> _______________________________________________
> PythonCE mailing list
> PythonCE at python.org
> http://mail.python.org/mailman/listinfo/pythonce

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonce/attachments/20050628/92caf36a/attachment-0001.htm

More information about the PythonCE mailing list