FGCom (before 3.0): Difference between revisions

Jump to navigation Jump to search
→‎Install on Linux: new format for "Compile locally" for a better overview
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>
Fetch FGCom (a copy of a working iaxclient is inside)
</li><br><li>
 
svn co https://appfgcom.svn.sourceforge.net/svnroot/fgcom fgcom
 
Optional: edit iaxclient/lib/Makefile
Optional: edit iaxclient/lib/Makefile
 
::{| style="width:80%" border="2"
To use OpenAl (Recommended and the default for now. Note however, that it requires OpenAl with capture support.)
|+
|-
USE_PA_OSS=0
||USE_PA_OSS=0||Set to "1" to use the oss emulation
USE_PA_ALSA=0
|-
USE_PA_JACK=0
||USE_PA_ALSA=0||Set to "1" to use portaudio alsa (WARNING: only if your card natively supports 8000Hz sample rate)
AUDIO_ALSA=0
|-
AUDIO_OPENAL=1
||USE_PA_JACK=0||Set to "1" to use
 
|-
To use oss emulation
||AUDIO_ALSA=0||Set to "1" to use native alsa (WARNING: PTT won't work)
|-
USE_PA_OSS=1
||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.)
USE_PA_ALSA=0
|-
USE_PA_JACK=0
|}
AUDIO_ALSA=0
</li><br><li>
AUDIO_OPENAL=0
 
To use native alsa (WARNING: PTT won't work)
 
USE_PA_OSS=0
USE_PA_ALSA=0
USE_PA_JACK=0
AUDIO_ALSA=1
AUDIO_OPENAL=0
 
To use portaudio alsa (WARNING: only if your card natively supports 8000Hz sample rate)
 
USE_PA_OSS=0
USE_PA_ALSA=1
USE_PA_JACK=0
AUDIO_ALSA=0
AUDIO_OPENAL=0
 
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>
and you should be ready for a quick test...
continue with [[FGCOM#Test the basic function|testing the basic functions]]


====Install on Windows====
====Install on Windows====
652

edits

Navigation menu