RE: Problem with SWIG under 64-bit arch

[email protected] ("Jan Dubois")
Newsgroups perl.xs
Organization ActiveState Software Inc
Message-ID <[email protected]>
On Fri, 01 Oct 2010, menth0l wrote:
> 
> I wrote a small module with C++ for computing similiarity between
> strings. I compiled it on my 32-bit Windows XP machine using MinGW and
> SWIG and got a .dll file. It worked like a charm.
> 
> Now i need to make it work in Windows 2003 x86_64 envinronment. I
> downloaded 64-bit version of MinGW and reproduced exactly the same
> steps from 32-bit env, namely:
[...] 
> Note that this does not happen on my 32-bit envinronment. What could
> be the cause? If it helps: i use ActiveState perl v5.10 on both
> envinronments.

I don't know if the 64-bit version of MinGW is binary compatible with
the Microsoft compiler, so you may want to use the same Visual C++ compiler
that was used to build ActivePerl itself.  It is available as a free
download from Microsoft as part of the Windows 2003 SP1 Platform SDK:

https://www.microsoft.com/downloads/en/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en

Cheers,
-Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.