Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
diana:windows:building:diana [2010-02-26 13:58:55] dages |
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/met.no \ | + | ./configure --disable-shared --prefix=c:/met.no \ |
| - | --with-qt4=/c/qt/4.4.0 | + | --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:/ | ||