PageRenderTime 24ms CodeModel.GetById 16ms app.highlight 6ms RepoModel.GetById 0ms app.codeStats 0ms

/ghmm-0.7.0/README.Win

http://github.com/jcnossen/hmmgenefinder
Unknown | 91 lines | 61 code | 30 blank | 0 comment | 0 complexity | f5aa2aa6f96815bba90addeefac1b5c0 MD5 | raw file
Possible License(s): GPL-2.0
 1At the moment just static libraries can be build on Windows.
 2Dynamic link library (dll) support will be added later.
 3
 4
 5
 6Visual C++
 7----------
 8
 9a) Preparing gsl
10
11   The Windows version of gsl 1.0, that can be adapted for
12   Visual C++ can be downloaded from 
13    
14   http://gnuwin32.sourceforge.net/packages/gsl.htm
15
16   Download the Source code package and compile it.
17   Don't forget to copy all header files to the gsl/
18   subdirectory.
19
20   In the following documentation we assume that the gsl 
21   directory is c:\prefix\gsl-1.0\ while prefix depends
22   on the location to which you have unzipped the package.
23   
24
25b) Preparing xmlio & expat
26
27   The c++ wrapper of ghmm (ghmm++) needs the libraries xmlio 
28   and expat. These can be downloaded from:
29
30   http://xmlio.sf.net (download the latest daily snapshot)
31   http://sourceforge.net/projects/expat/ (download the windows binaries)
32
33   The xmlio project contains VisualC snapshot and an
34   instruction file (README.Win).
35
36   Copy both xmlio.lib and expat.lib to the main ghmm directory
37   (the directory that contains README.Win).
38
39   To ensure that the required xmlio header files are found. 
40   Change to ghmmpp project setting and add the include 
41   directory of the xmlio library to C/C++ - Preprocessor - 
42   Additional include dirs (e.g. c:\prefix\xmlio\include).
43
44   You also may add c:\prefix\xmlio\include to the global 
45   search directories of VisualC++, so that xmlio headers will 
46   be found by all of your projects. To do this add 
47   c:\prefix\xmlio\include to tools - directories.
48   
49
50c) Building ghmm.lib / ghmmpp.lib
51
52   Go into the VisualC directory that is created, and 
53   double-click on the VC++ workspace file ghmm.dsw. 
54   This should open up VisualC.
55
56   Now you have to ensure that the required gsl headers
57   are found. Change to ghmm project setting and add
58   the include directory of the gsl library to C/C++ - 
59   Preprocessor - Additional include dirs. 
60
61   You will find the include dirs:
62   ..\..\,..\..\..\gsl-1.0
63   
64   If the prefixes of gsl and ghmm are different you have 
65   to change it to ..\..\,c:\prefix\gsl-1.0\
66
67   You also may add c:\prefix\gsl-1.0\ to the global search 
68   directories of VisualC++, so that gsl headers will be 
69   found by all of your projects. To do this add 
70   c:\prefix\gsl-1.0\ to tools - directories.
71
72   Since gsl.lib is needed for successfully linking our
73   project, copy libgsl.lib to the main ghmm directory
74   (the directory that contains README.Win).
75
76   Now we are ready to build ghmm.lib.
77
78d) Building example programs:
79
80   Project files of some example programs are also included
81   in the ghmm workspace. They should compile without any
82   further adjustments. To run them, go to the appropriate
83   directory (e.g. VisualC/coin_toss_test/Release) and double
84   click the created .exe file.
85
86
87Other Compiler:
88---------------
89
90Also other compiler should work well. But we have not tested
91any so far.