Py_Initialize() fails on windows when SDL.h is included.

2011-03-15 Thread Nathan Coulson
clude/python3.2/pyerrors.h:361:0: note: this is the location of the previous definition it is defined in SDL_config.h as #define HAVE_SNPRINTF 1 although no clue if it's related... probably a red herring -- Nathan Coulson (conathan) -- Location: British Columbia, Canada Timezone: PS

Re: Py_Initialize() fails on windows when SDL.h is included.

2011-03-15 Thread Nathan Coulson
Recompiling SDL, using --disable-stdio-redirect fixed this problem. On Tue, Mar 15, 2011 at 1:48 AM, Nathan Coulson wrote: > I began porting one of my projects from linux (no problems under > linux) to windows,  but I am getting the following problem when > attempting to run it  (This w

Looking for ideas on controlling python module loading

2011-04-03 Thread Nathan Coulson
hash of the local file matches a hash provided by the server. I was also wondering, if you could construct a module, without a .py file, and define functions and variables. -- Nathan Coulson (conathan) -- Location: British Columbia, Canada Timezone: PST (-8) Webpage: http

looking for libpython31.a 64bit (missing from python-3.1.3.amd64.msi)

2011-04-13 Thread Nathan Coulson
.amd64.msi /qb TARGETDIR=out. Either case, libs/libpython31.a is not there. as a last resort, tried cross compiling it with my tools, but a few google searches tell me that way will lead to headaches, and currently not supported out of the box. -- Nathan Coulson (conathan) -- Location: British

Re: looking for libpython31.a 64bit (missing from python-3.1.3.amd64.msi)

2011-04-13 Thread Nathan Coulson
On Wed, Apr 13, 2011 at 7:03 PM, David Cournapeau wrote: > On Wed, Apr 13, 2011 at 5:17 PM, Nathan Coulson wrote: >> Well, as the subject says,  I am looking to find libpython31.a >> [win64bit version] for use in a linux to windows 64bit cross compiler >> [x86_64-w64-mingw3

Re: looking for libpython31.a 64bit (missing from python-3.1.3.amd64.msi)

2011-04-13 Thread Nathan Coulson
On Wed, Apr 13, 2011 at 7:53 PM, David Cournapeau wrote: > On Thu, Apr 14, 2011 at 11:28 AM, Nathan Coulson wrote: > >> actually figured out a neat trick,  mingw-w64 can link directly to the .dll. >> gcc file.c python31.dll -o file.exe >> >> no .a needed. &