652
edits
m (→Install on Windows: just switch pointer ZEX to FGCOM_for_Windows) |
(→Install on Linux: new format for "Compile locally" for a better overview) |
||
Line 76: | Line 76: | ||
*'''Disadvantage:''' No automated maintenance available. Also the user should have some basic knowledge of his system and it's devices. | *'''Disadvantage:''' No automated maintenance available. Also the user should have some basic knowledge of his system and it's devices. | ||
*'''Installation:''' | *'''Installation:''' | ||
<ol><li> | |||
Fetch FGCom (a copy of a working iaxclient is inside) from<br> | |||
svn co https://appfgcom.svn.sourceforge.net/svnroot/fgcom fgcom | |||
<br> | <br> | ||
</li><br><li> | |||
Optional: edit iaxclient/lib/Makefile | Optional: edit iaxclient/lib/Makefile | ||
::{| style="width:80%" border="2" | |||
|+ | |||
|- | |||
||USE_PA_OSS=0||Set to "1" to use the oss emulation | |||
|- | |||
||USE_PA_ALSA=0||Set to "1" to use portaudio alsa (WARNING: only if your card natively supports 8000Hz sample rate) | |||
|- | |||
||USE_PA_JACK=0||Set to "1" to use | |||
|- | |||
||AUDIO_ALSA=0||Set to "1" to use native alsa (WARNING: PTT won't work) | |||
|- | |||
||AUDIO_OPENAL=1||'''Set to "0"''' if you do not want to use OpenAl ('''as recommended and set as default for now'''. Note however, that it requires OpenAl with capture support.) | |||
|- | |||
|} | |||
</li><br><li> | |||
Edit fgcom/src/Makefile and check the pathes for PLIB_PREFIX and OPENAL_PREFIX. | Edit fgcom/src/Makefile and check the pathes for PLIB_PREFIX and OPENAL_PREFIX. | ||
</li><br><li> | |||
Compile iaxclient and fgcom. To do so, do the following: | Compile iaxclient and fgcom. To do so, do the following: | ||
cd fgcom/src && make | cd fgcom/src && make | ||
</li><br><li> | |||
Note: If you ran that Debian Script you likely need to edit the CXXFLAGS and LDFLAGS lines to, that want to have a dir-info. | Note: If you ran that Debian Script you likely need to edit the CXXFLAGS and LDFLAGS lines to, that want to have a dir-info. | ||
e.g. | e.g. | ||
CXXFLAGS ... -I [...]/OpenSceneGraph/include | |||
CXXFLAGS ... -I [...]/OpenSceneGraph/include | LDFLAGS -L [...]/OpenSceneGraph(/lib) | ||
LDFLAGS -L [...]/OpenSceneGraph(/lib) | </li><br><li> | ||
Install | Install | ||
make install | make install | ||
</li><br><li> | |||
continue with [[FGCOM#Test the basic function|testing the basic functions]] | |||
====Install on Windows==== | ====Install on Windows==== |
edits