Jump to page: 1 24  
Page
Thread overview
Announcing: D support in SWIG
Nov 21, 2010
klickverbot
Nov 22, 2010
BCS
Nov 22, 2010
Fawzi Mohamed
Nov 24, 2010
BLS
Dec 08, 2010
Andrej Mitrovic
Dec 08, 2010
BLS
Dec 08, 2010
Andrej Mitrovic
Dec 08, 2010
Andrej Mitrovic
Dec 08, 2010
Andrej Mitrovic
Dec 10, 2010
BLS
Dec 10, 2010
Andrej Mitrovic
Dec 14, 2010
Jimmy Cao
Dec 08, 2010
Jimmy Cao
Dec 09, 2010
Andrej Mitrovic
Dec 09, 2010
klickverbot
Dec 09, 2010
Andrej Mitrovic
Dec 09, 2010
BLS
Dec 09, 2010
Andrej Mitrovic
Dec 10, 2010
klickverbot
Dec 10, 2010
klickverbot
Dec 10, 2010
BLS
Dec 10, 2010
Andrej Mitrovic
Dec 10, 2010
Jimmy Cao
Dec 10, 2010
BLS
Dec 02, 2010
klickverbot
Dec 02, 2010
klickverbot
Jan 19, 2011
Jordi
Jan 19, 2011
Trass3r
Jan 19, 2011
Jordi
Feb 02, 2011
Trass3r
Feb 02, 2011
David Nadlinger
November 21, 2010
In a nutshell, SWIG is a »glue code« generator, allowing you to access C/C++ libraries from various target languages, including C#, Go, Java, Ruby, Python … and, since I merged my work into SWIG trunk a few days ago, also D, both version 1 and 2.

I have put up a short description of it at my blog (http://klickverbot.at/blog/2010/11/announcing-d-support-in-swig/), but to give it a whirl, just head over to the SWIG SVN and build it from there (http://swig.org/svn.html).

I would be glad if some brave souls could go ahead and test it in real-world use cases before it is officially released with SWIG for the first time (SWIG 2.0.2, date yet to be determined), so that any major bugs can be ironed out before.

If you have any questions or suggestions, feel free to post them here, drop me a line, or ask right away in #D at freenode. While I am quite busy at the moment, I'd be happy to help you with any issues (particularly happy if they concern the SWIG side of implementing enhancements, obviously, but also simple usage questions). Besides that, as always, it would be nice just to hear about what you are using this for.

Happy coding,
David
November 22, 2010
Hello klickverbot,

> In a nutshell, SWIG is a »glue code« generator, allowing you to access
> C/C++ libraries from various target languages, including C#, Go, Java,
> Ruby, Python . and, since I merged my work into SWIG trunk a few days
> ago, also D, both version 1 and 2.
> 

I'm so tempted to go learn Go so I can write a program that's half D, half Go and some SWIG to tie the two together.


November 22, 2010
On 21-nov-10, at 18:27, klickverbot wrote:

> In a nutshell, SWIG is a »glue code« generator, allowing you to access C/C++ libraries from various target languages, including C#, Go, Java, Ruby, Python … and, since I merged my work into SWIG trunk a few days ago, also D, both version 1 and 2.
>
> I have put up a short description of it at my blog (http://klickverbot.at/blog/2010/11/announcing-d-support-in-swig/), but to give it a whirl, just head over to the SWIG SVN and build it from there (http://swig.org/svn.html).
>
> I would be glad if some brave souls could go ahead and test it in real-world use cases before it is officially released with SWIG for the first time (SWIG 2.0.2, date yet to be determined), so that any major bugs can be ironed out before.
>
> If you have any questions or suggestions, feel free to post them here, drop me a line, or ask right away in #D at freenode. While I am quite busy at the moment, I'd be happy to help you with any issues (particularly happy if they concern the SWIG side of implementing enhancements, obviously, but also simple usage questions). Besides that, as always, it would be nice just to hear about what you are using this for.
>
> Happy coding,
> David

nice work David, I was following your github repository, nice that you made into the official repository.

Fawzi

November 24, 2010
Hi David,
let me shake your hands and say Thank You, GREAT work.

It was a bit difficult to build SWIG SVN on Windows. However. it was doable and as soon as I have some free time I will try make a few tests on a Win C++ GUI project.
Bjoern

On 21/11/2010 18:27, klickverbot wrote:
> In a nutshell, SWIG is a »glue code« generator, allowing you to access
> C/C++ libraries from various target languages, including C#, Go, Java,
> Ruby, Python … and, since I merged my work into SWIG trunk a few days
> ago, also D, both version 1 and 2.
>
> I have put up a short description of it at my blog
> (http://klickverbot.at/blog/2010/11/announcing-d-support-in-swig/), but
> to give it a whirl, just head over to the SWIG SVN and build it from
> there (http://swig.org/svn.html).
>
> I would be glad if some brave souls could go ahead and test it in
> real-world use cases before it is officially released with SWIG for the
> first time (SWIG 2.0.2, date yet to be determined), so that any major
> bugs can be ironed out before.
>
> If you have any questions or suggestions, feel free to post them here,
> drop me a line, or ask right away in #D at freenode. While I am quite
> busy at the moment, I'd be happy to help you with any issues
> (particularly happy if they concern the SWIG side of implementing
> enhancements, obviously, but also simple usage questions). Besides that,
> as always, it would be nice just to hear about what you are using this for.
>
> Happy coding,
> David

December 02, 2010
Sorry if this might come a bit late for anybody following SWIG SVN trunk, but I needed to make a breaking naming change to the D module of SWIG to bring it more in line with the C# support.

The details, along with a sed script for fixing any custom typemaps: ttp://klickverbot.at/blog/2010/12/swig-d-breaking-name-changes/

This should have been the last major breaking change, at least I hope so.

David
December 02, 2010
On 12/2/10 6:00 PM, klickverbot wrote:
> The details, along with a sed script for fixing any custom typemaps:
> ttp://klickverbot.at/blog/2010/12/swig-d-breaking-name-changes/

Oops, there is an h missing, that should have obviously been http://klickverbot.at/blog/2010/12/swig-d-breaking-name-changes/.
December 08, 2010
On 11/24/10, BLS <windevguy@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?
December 08, 2010
On 08/12/2010 18:48, Andrej Mitrovic wrote:
> On 11/24/10, BLS<windevguy@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
December 08, 2010
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@hotmail.de> wrote:
> On 08/12/2010 18:48, Andrej Mitrovic wrote:
>> On 11/24/10, BLS<windevguy@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
>
December 08, 2010
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@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@hotmail.de> wrote:
>> On 08/12/2010 18:48, Andrej Mitrovic wrote:
>>> On 11/24/10, BLS<windevguy@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
>>
>
« First   ‹ Prev
1 2 3 4