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).
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
If you're not going to debug Diana, I strongly recommend stripping the binaries:
$ strip c:/met.no/bin/diana.bin.exe $ strip c:/met.no/bin/bdiana.exe