Download the latest source package from the RUDL SourceForge files page
Continue with the general setup.
This chapter may be outdated at any time.
This explains how to get RUDL installed on Windows. Developers are advised to create a package with their program, SDL, and RUDL in it so average users won't have to install RUDL seperately.
If you want to use another version of Ruby, you'll get trouble using RUDL. This is because the RUDL.so library is statically linked with msvcrt-ruby18.lib (or something of that kind) and that lib changes a lot between Ruby versions. This can be solved by downloading a lib only RUDL, if it exists for your version. (If it doesn't, it can be created on request) You can put the RUDL.so in the directory where you unpacked the RUDL setup and rerun install-on-windows.
Compiling from source could be useful for creating a smaller RUDL library, depending on less libraries.
Source is now compiled with the Microsoft Visual C 6 command line tools. They need to be set up with the "vcvars32" batchfile in VC's bin directory, you need to add RUDL's lib and include to the LIB and INCLUDE in the batch file.
Windows environment variables example
With Visual Studio in D:\Program Files\VStudio\,
and the include and lib dirs beneath the RUDL dir: d:\rubyspul\rudl\.
include=D:\Program Files\VStudio\VC98\Include;d:\rubyspul\rudl\include
lib=D:\Program Files\VStudio\VC98\Lib;d:\rubyspul\rudl\lib
MSDevDir=D:\Program Files\VStudio\Common\MSDev98
Path=D:\Program Files\VStudio\Common\MSDev98\BIN;D:\Program Files\VStudio\VC98\BIN;D:\Program Files\VStudio\Common\MSDev98\TOOLS
Continue with the general setup.
... to do.