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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • diana/windows/building/diana.txt
  • Last modified: 2022-05-31 09:29:31
  • (external edit)