This is an old revision of the document!
Building Diana on Windows
First, check out the source code using your favorite Subversion client (I recommend TortoiseSVN).
Since we currently don't have working HDF4 and MySQL libraries, we have to disable everything that uses those directly or indirectly:
- HDF4: tsData, pets2, qTimeseries
- MySQL: puSQL, diSQL
We also need to specify where Qt is to be found (normally C:/Qt/x.y.z
where x.y.z
is the version number, e.g. 4.4.0
).
Of course, we also need to point LDFLAGS
, CPPFLAGS
and –prefix
at c:/met.no
.
$ ./autogen.sh $ LDFLAGS=-Lc:/met.no/lib CPPFLAGS=-Ic:/met.no/include \ ./configure --disable-shared --prefix=c:/met.no \ --with-qt4=c:/qt/4.4.0 $ make all install