Here is a very simple test that just loads an SVG icon from a file and
displays it. This runs on my 32-bit version on Racket Version 6.6 (under
Windows 10) with the above dlls above. I also included a screen shot.

Doug

On Mon, Sep 26, 2016 at 3:54 PM, Doug Williams <m.douglas.willi...@gmail.com
> wrote:

> I downloaded librsvg-2.40.1-2-w32-bin.zip from https://sourceforge.net/
> projects/ezwinports/files/. This contains the file librsvg-2-2.dll and
> all of its dependencies (18 total dlls). When run with the 32-bit version
> of Racket (version 6.6) and the rsvg module, this seems to work fine. I
> assume I would have to recompile them from source, which is also included
> at ezwinports, for a 64-bit version.
>
> I didn't try a new build script with the dependencies. Many of the
> dependencies are included with Racket already - I assume because it uses
> Cairo internally. So, it may not be that many new ones to add. I haven't
> tracked that down. Would native support for SVG be worth the additional
> libraries?
>
> Doug
>
> On Mon, Sep 26, 2016 at 3:35 PM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
>
>> In case you haven't noticed already, many of the relevant libraries are
>> distributed with Racket in the "lib" directory. I think they're
>> probably compiled in a way that's compatible with most
>> "librsvg-2-2.dll" builds, but if not, the best approach may be to start
>> with the compilation script in "racket/src/native-libs" and add entries
>> for new libraries, then cross-compile on a Unix system with MinGW.
>>
>> At Mon, 26 Sep 2016 14:31:34 -0600, Doug Williams wrote:
>> > I have been tracking them down, too. When I get back home I can send the
>> > list I have. I found the dependencies at exwinports on Sourceforge.
>> But, I
>> > haven't had time to try it yet.
>> >
>> > On Sep 26, 2016 10:44 AM, "Lehi Toskin" <lehi.tos...@gmail.com> wrote:
>> >
>> > > Using Dependency Walker, it says I'm missing a whole lot of system
>> files.
>> > > I'll have to investigate this thoroughly.
>> > >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> Groups
>> > > "Racket Users" group.
>> > > To unsubscribe from this group and stop receiving emails from it,
>> send an
>> > > email to racket-users+unsubscr...@googlegroups.com.
>> > > For more options, visit https://groups.google.com/d/optout.
>> > >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Racket Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to racket-users+unsubscr...@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: svg-test.rkt
Description: Binary data

Reply via email to