I've been trying to get Storm's C extensions to compile under windows.
For some reason, it wasn't able to find python25.dll, even if I paste
it directly under libs or DLLs. My theory was that it was finding
python25.lib (which I'm guessing is a static library) and trying to
use that instead.
If
Jason Baker wrote:
> I've been trying to get Storm's C extensions to compile under windows.
> For some reason, it wasn't able to find python25.dll, even if I paste
> it directly under libs or DLLs. My theory was that it was finding
> python25.lib (which I'm guessing is a static library) and tryin
On Fri, Aug 7, 2009 at 11:40 AM, Tim Roberts wrote:
> Jason Baker wrote:
>> I've been trying to get Storm's C extensions to compile under windows.
>> For some reason, it wasn't able to find python25.dll, even if I paste
>> it directly under libs or DLLs. My theory was that it was finding
>> pytho
Jason Baker wrote:
>
> Nope. I get linker errors saying it cant find a whole slew of symbols
> from the Python library. I haven't been able to figure out any other
> way to get it to work without replacing python25.lib with python25.dll
> (from C:\WINDOWS\SYSTEM32).
>
> If it makes any difference
On Fri, Aug 7, 2009 at 1:19 PM, Tim Roberts wrote:
> Jason Baker wrote:
>> Nope. I get linker errors saying it cant find a whole slew of symbols
>> from the Python library. I haven't been able to figure out any other
>> way to get it to work without replacing python25.lib with python25.dll
>> (fr
See this page:
http://eli.thegreenplace.net/2008/06/28/compiling-python-extensions-with-distutils-and-mingw/
it has helped me with something similar and tells how to make a mingw
compatable libpython25.a;
In newer mingw version I think it can figure out the exports (the .a)
from the dll itself.
~
Tim Roberts wrote:
> It makes a HUGE difference. The gcc compiler in MinGW doesn't
> understand the Microsoft library format. If you want to build
> extensions with MinGW, then you must build your Python from source,
> using MinGW. You can't use a standard distribution. (Well, you could
> use t
On Fri, Aug 7, 2009 at 11:19 AM, Tim Roberts wrote:
> Jason Baker wrote:
>>
>> Nope. I get linker errors saying it cant find a whole slew of symbols
>> from the Python library. I haven't been able to figure out any other
>> way to get it to work without replacing python25.lib with python25.dll
>>
I'm trying to use an ActiveX object to read data from hardware. Certain
methods do not appear to work, specifically ones that expect a pointer to an
array of 32-bit floats as one of the variables. One method is *ReadTag*.
The C prototype is
*long ReadTag(LPCTSTR name, float* pBuf, long nOS, long
Orest Kozyar wrote:
> I'm trying to use an ActiveX object to read data from hardware.
> Certain methods do not appear to work, specifically ones that expect a
> pointer to an array of 32-bit floats as one of the variables. One
> method is /ReadTag/.
>
> The C prototype is
> /long ReadTag(LPCTSTR
10 matches
Mail list logo