Install Gnuplot 4.4.0 on Ubuntu Linux

The most frequented blog entries here are about installing Gnuplot on Ubuntu Linux or Mac OS X. These entries are still valid for the newer Ubuntu versions. But Gnuplot newest version 4.4.0 was already released, and in this release there are cairo based pdf and png terminals provided. So you don’t need the pdflib anymore. Below you’ll find updated instructions to compile and install Gnuplot 4.4.0 with wxt and pdfcairo terminal. These instructions were tested on Ubuntu 8.04 (Hardy Heron) and Ubuntu 9.10 (Karmic Koala) and should also work on 8.10 (Intrepid Ibex) and 9.04 (Jaunty Jackalop). Continue reading Install Gnuplot 4.4.0 on Ubuntu Linux

GTK-Framework for Mac OS X (as well as cairo, pango, ….)

There is no official GTK framework for Mac OS X available. They are working hard on it, but in the moment you are forced to compile the framework on your own, though the instructions don’t look that complicated. You could also use macports or fink, but when I use them I always encounter some problems, if a package doesn’t compile. I found an easy and fast solution to install the GTK framework for Mac OS X (using X11) and you also get cairo, pango and other libraries of the GTK project. Continue reading GTK-Framework for Mac OS X (as well as cairo, pango, ….)

Adding GDI+ headers to MinGW (to compile wxWidgets with wxGraphicsContext support)

The GDI+ library is mandatory for wxGraphicsContext support on Win32. This is no problem if you’re using Visual C++, since the SDK provides the headers and import libraries, but for MinGW there are no such headers and import libraries provided. But there are some sources on the internet where you can get the necessary files.

Continue reading Adding GDI+ headers to MinGW (to compile wxWidgets with wxGraphicsContext support)

Install Gnuplot on Mac OS X

I provide another instructions to install Gnuplot 4.4.0 compiling it yourself on Mac OS X.

There are some possibilities to install Gnuplot on Mac OS X, none of them is “official”, since the Gnuplot project doesn’t provide binaries for Mac OS X. It’s actually quite easy to configure and compile Gnuplot (i.e. ./configure; make; make install), but some terminals are not built due to missing dependencies and this makes Gnuplot less powerful.

Continue reading Install Gnuplot on Mac OS X

MinGW (3.4.5) binaries of GNU Scientific Library 1.12 for use with MinGW and Visual C++

“The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total with an extensive test suite”.

Binaries of the GSL 1.11 were already provided in an earlier post including instructions on how the package was assembled. Here, the binaries for GSL 1.12 are provided.

Continue reading MinGW (3.4.5) binaries of GNU Scientific Library 1.12 for use with MinGW and Visual C++

Apple keyboard keymap (German) for Windows running as guest on Mac OS X host in Virtualbox

Puh, that’s a long title. I’m working on Mac OS X and use Virtualbox to run Windows XP as a guest operating system. Virtualbox runs exceptionally well and it’s even free. But the keyboard mapping is problematic since Windows XP assumes a standard PC keyboard. The layout of the Apple keyboards is different, so if you are not a Windows guy, you’ll have troubles to find the backslash ‘\’ or ‘@’. I was looking for a solution for a long time now, but didn’t find anything until now. Stefan Bohm actually published a solution for the same problem if you run parallels. He provided a new keyboard layout for installation (the layout is called ‘Parallels Keyboard Map’) as well a registry hack so that the ‘alt’ keys work as expected.

Continue reading Apple keyboard keymap (German) for Windows running as guest on Mac OS X host in Virtualbox

MinGW (3.4.5) binaries of GNU Scientific Library 1.11 for use with MinGW and Visual C

The binaries for GSL 1.12 are provided in this post: MinGW (3.4.5) binaries of GNU Scientific Library 1.12 for use with MinGW and Visual C++

“The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total with an extensive test suite”.

GSL is quite Unix centric but one might want to use the library at least with MinGW on Windows. I didn’t find any MinGW binaries of GSL apart from the one provided by the Ascend package or the binaries from GNUWin32 (which is only at version 1.8), but I don’t like graphical installers for libraries and I needed the static library. Therefore I compiled my own library with MSYS (I updated MSYS according to this link) and provide here the tarred binary package, which can also be used with the MinGW compiler without MSYS and with Visual C (import libraries for the shared library are provided).

Continue reading MinGW (3.4.5) binaries of GNU Scientific Library 1.11 for use with MinGW and Visual C

Instructions on how to create DevPak packages

I’m in the process of writing a DevPak for the libharu libary. These are actually tar.bz2 packages of whatever you think is a good idea to install into the Dev-C++, Code::Blocks or wxDev-C++ IDEs. E.g. precompiled libraries and necessary header files. In addition one adds a so called DevPackage file, which tells the IDEs where to put all the files. Since you are also allowed to install files into the windows directory, these packages are also quite dangerous – you should check the package content first (rename xxx.DevPak to xxx.tar.bz2). The DevPackage file format is more or less straight forward, but first I couldn’t find a documentation for that. In the cvs repository of Dev-C++ there was actually a documentation (File Format.txt), but it contained some errors. So I updated the file and make it available in this post. Continue reading Instructions on how to create DevPak packages