Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.
Version 1 (modified by kaarna, 13 years ago)
--

Building on Windows

Some quick notes... damn this wiki formatting...

DMD and Tango 0.99.9 http://www.dsource.org/projects/tango/wiki/TopicInstallTangoDmd DSSS 0.78 http://svn.dsource.org/projects/dsss/downloads/0.78/ GTK+ http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/ http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/GTK%2B%202.22/gtk2-runtime-2.22.0-2010-10-21-ash.exe/download C:\Program Files\GTK2-Runtime\ GtkGLExt http://bonifazi.blogspot.com/2009/11/gtk-glade-gtkglext-all-in-one-windows.html http://www.bonifazi.eu/appunti/gtkglext-win32-1.2.0.exe C:\Program Files\GtkGLExt\ Then I built my custom GtkD.

(For unix and bash users who are accustomed to using "ls" instead of "dir" you can get some unix commands from http://win-bash.sourceforge.net. I created a folder called C:\bash, copied the files there, and added the folder to Path in Control Panel - (search for)Environment Variables.) Install Freetype: Project page: http://gnuwin32.sourceforge.net/packages/freetype.htm Download link for the installer (Setup): http://gnuwin32.sourceforge.net/downlinks/freetype.php You'll need to copy the freetype.dll to somewhere (propably to c:/windows/system/ but I haven't tested that), or to the same folder as your binary.

I also put the freetype.dll to the helloworld example dir. There's also a dir helloworld/system/fonts/Vera.ttf... Because the fonts refuse to load...