x26.html
来自「一个功能强大的神经网络分析程序」· HTML 代码 · 共 297 行
HTML
297 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><TITLE>Installation</TITLE><link href="../style.css" rel="stylesheet" type="text/css"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINKREL="HOME"TITLE="Fast Artificial Neural Network Library"HREF="index.html"><LINKREL="UP"TITLE="Introduction"HREF="c13.html"><LINKREL="PREVIOUS"TITLE="Introduction"HREF="c13.html"><LINKREL="NEXT"TITLE="Getting Started"HREF="x68.html"></HEAD><BODYCLASS="section"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Fast Artificial Neural Network Library</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="c13.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 1. Introduction</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="x68.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="section"><H1CLASS="section"><ANAME="intro.install">1.2. Installation</A></H1><DIVCLASS="section"><H2CLASS="section"><ANAME="intro.install.rpm">1.2.1. RPMs</A></H2><P> RPMs are a simple way to manage packages, and is used on many common Linux distributions such as <AHREF="http://www.redhat.com"TARGET="_top">Red Hat</A>, <AHREF="http://www.mandrake.com/"TARGET="_top">Mandrake</A>, and <AHREF="http://www.suse.com/"TARGET="_top">SuSE</A>. </P><P> Two separate packages exist; fann, the runtime library, and fann-devel, the development library and header files. </P><P> After downloading FANN, simply run (as root) the following command: <BCLASS="command">rpm -ivh $PATH_TO_RPM</B> </P></DIV><DIVCLASS="section"><H2CLASS="section"><ANAME="intro.install.deb">1.2.2. DEBs</A></H2><P> DEBs are packages for the <AHREF="http://www.debian.org"TARGET="_top">Debian</A> Linux distribution. Two separate packages exists libfann1 and libfann1-dev, where libfann1 is the runtime library and libfann1-dev is the development library. </P><P> Fann is included in the testing distribution of Debian, so testing users can simply run (as root) the following command: <BCLASS="command">apt-get install libfann1 libfann1-dev</B>. </P><P> After downloading the FANN DEB package, simply run (as root) the following command: <BCLASS="command">dpkg -i $PATH_TO_DEB</B> </P></DIV><DIVCLASS="section"><H2CLASS="section"><ANAME="intro.install.win32">1.2.3. Windows</A></H2><P> FANN >= 1.1.0 includes a Microsoft Visual C++ 6.0 project file, which can be used to compile FANN for Windows. To build the library and examples with MSVC++ 6.0: </P><P> First, navigate to the MSVC++ directory in the FANN distribution and open the <TTCLASS="filename">all.dsw</TT> workspace. In the Visual Studio menu bar, choose "Build" -> "Batch build...", select the project configurations that you would like to build (by default, all are selected), and press "rebuild all" </P><P> When the build process is complete, the library and examples can be found in the <TTCLASS="filename">MSVC++\Debug</TT> and <TTCLASS="filename">MSVC++\Release</TT> directories and the release versions of the examples are automatically copied into the <TTCLASS="filename">examples</TT> where they are supposed to be run. </P></DIV><DIVCLASS="section"><H2CLASS="section"><ANAME="intro.install.src">1.2.4. Compiling from source</A></H2><P> Compiling FANN from source code entails the standard GNU autotools technique. First, configure the package as you want it by typing (in the FANN directory), <BCLASS="command">./configure</B> If you need help choosing the options you would like to use, try <BCLASS="command">./configure --help</B> </P><P> Next, you have to actually compile the library. To do this, simply type <BCLASS="command">make</B> </P><P> Finally, to install the library, type <BCLASS="command">make install</B>. Odds are you will have to be root to install, so you may need to <BCLASS="command">su</B> to root before installing. Please remember to log out of the root account immediately after <BCLASS="command">make install</B> finishes. </P><P> Some people have experienced problems with compiling the library with some compilers, especially windows compilers which can not use GNU autotools. Please look through the <AHREF="http://sourceforge.net/forum/forum.php?forum_id=323465"TARGET="_top">help forum</A> and the <AHREF="http://sourceforge.net/mailarchive/forum.php?forum=fann-general"TARGET="_top">mailing list</A> archives for info on how these problems was solved. If you do not find any information here, feel free to ask questions. </P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="c13.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="index.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="x68.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Introduction</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="c13.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Getting Started</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?