Announcing: D support in SWIG

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Dec 8 11:35:23 PST 2010


Hey hey, good news, got it all working now.

I did a configure with:
--with-d2-compiler=C:\DMD\dmd2\windows\bin\dmd.exe and make to build
swig.

Then I've ran one example in:
C:\MinGW\msys\1.0\src\swig\Examples\d\class\ with: make D_VERSION=2 .
It builds and runs fine.

I've only tried one example, but great work klickverbot!!

On 12/8/10, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> Am I supossed to use
> --with-d2-compiler=C:\DMD\dmd2\windows\bin\dmd.exe or just
> --with-d2-compiler=C:\DMD\ path when calling configure?
>
> On 12/8/10, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
>> Okay, got it working now.
>>
>> I've installed MinGW (again) via that new mingw-get installer from
>> sourceforge. And I had the same error message as you, so I've
>> downloaded pcre-8.01.tar.bz2 from
>> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/, I've put it in
>> my swig svn directory (C:\MinGW\msys\1.0\src\swig) and I've ran the
>> tools/pcre-build.sh script.
>>
>> So I've ran ./configure again and make. It's building right now.
>>
>> On 12/8/10, BLS <windevguy at hotmail.de> wrote:
>>> On 08/12/2010 18:48, Andrej Mitrovic wrote:
>>>> On 11/24/10, BLS<windevguy at hotmail.de>  wrote:
>>>>> Hi David,
>>>>> let me shake your hands and say Thank You, GREAT work.
>>>>>
>>>>> It was a bit difficult to build SWIG SVN on Windows.
>>>>
>>>> Just finding those automake/autoconf/bison binaries is a detectives'
>>>> work.
>>>>
>>>> How did u build from svn?
>>>
>>> If I recall correctly, I've just installed MinGW, and MSYS
>>> calling svn, make,makeinstall. There was however a problem with pcre (I
>>> am using 8.10) I found the solution by reading the error message from
>>> make regarding pcre very careful. Sorry that all I can tell you atm.
>>> beside, to start msys via menu look for MinGW Shell
>>> hth bjoern
>>>
>>
>


More information about the Digitalmars-d-announce mailing list