Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
diana:windows:building:diana [2010-02-23 13:59:56] dages created |
diana:windows:building:diana [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
First, check out the source code using your favorite Subversion client (I recommend TortoiseSVN). | 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: | + | We also need to specify where Qt is to be found (normally '' |
- | * HDF4: tsData, pets2, qTimeseries | + | Of course, we also need to point '' |
- | * MySQL: puSQL, diSQL | + | |
- | + | ||
- | We also need to specify where Qt is to be found (normally '' | + | |
- | + | ||
- | Of course, we also need to point '' | + | |
$ ./ | $ ./ | ||
- | $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/ | + | $ LDFLAGS=-Lc:/met.no/lib CPPFLAGS=-Ic:/ |
- | ./configure --disable-shared --prefix=/c/ | + | ./configure --disable-shared --prefix=c:/met.no \ |
- | --disable-tsData --disable-pets2 --disable-qTimeseries \ | + | --with-qt4=c:/qt/4.4.0 |
- | --disable-puSQL --disable-diSQL | + | |
- | --with-qt4=/c/qt/4.4.0 | + | |
$ make all install | $ make all install | ||
+ | If you're not going to debug Diana, I strongly recommend stripping the binaries: | ||
+ | |||
+ | $ strip c:/ | ||
+ | $ strip c:/ |