Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
diana:windows:building:metlibs [2010-02-22 16:15:58]
dages
diana:windows:building:metlibs [2022-05-31 09:29:31] (current)
Line 2: Line 2:
  
 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).
 +
 +We won't build shared libraries.  They're a huge pain to manage on Windows, and we don't really need them.
  
 Since we currently don't have working HDF4 and MySQL libraries, we have to disable everything that uses those directly or indirectly: Since we currently don't have working HDF4 and MySQL libraries, we have to disable everything that uses those directly or indirectly:
Line 8: Line 10:
   * MySQL: puSQL, diSQL   * 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'').+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'' aka. ''/c/met.no''.+Of course, we also need to point ''LDFLAGS'', ''CPPFLAGS'' and ''--prefix'' at ''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 --prefix=/c/met.no \+      ./configure --disable-shared --prefix=c:/met.no \
       --disable-tsData --disable-pets2 --disable-qTimeseries \       --disable-tsData --disable-pets2 --disable-qTimeseries \
       --disable-puSQL --disable-diSQL \       --disable-puSQL --disable-diSQL \
-      --enable-gribapi \ +      --enable-gribapi --with-netcdf 
-      --with-qt4=/c/qt/4.4.0+      --with-qt4=c:/qt/4.4.0
   $ make all install   $ make all install
  
  • diana/windows/building/metlibs.1266855358.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)