Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 ''C:/Qt/x.y.z'' where ''x.y.z'' is the version number, e.g. ''4.4.0'').
  
-  * HDF4: tsData, pets2, qTimeseries +Of course, we also need to point ''LDFLAGS'', ''CPPFLAGS'' and ''--prefix'' at ''c:/met.no''.
-  * MySQL: puSQL, diSQL +
- +
-We also need to specify where Qt is to be found (normally ''C:\Qt\x.y.z'' which translates to ''/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'' aka. ''/c/met.no''.+
  
   $ ./autogen.sh   $ ./autogen.sh
-  $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/include \ +  $ LDFLAGS=-Lc:/met.no/lib CPPFLAGS=-Ic:/met.no/include \ 
-      ./configure --disable-shared --prefix=/c/met.no +      ./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:/met.no/bin/diana.bin.exe
 +  $ strip c:/met.no/bin/bdiana.exe
  • diana/windows/building/diana.1266933596.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)