Difference between revisions of "FAQ:Installing"

From VsWiki
Jump to: navigation, search
(/* While compiling VS from CVS i got lots of error like seen in [http://vegastrike.sourceforge.net/forums/viewtopic.php?t=848 this] thread in the forum. (e.g ''pasting "operator" and "+" does not give)
m ([vega-bot] [replace] 22 instances of 'http://vegastrike.sourceforge.net/forums' for 'http://forums.vega-strike.org')
 
(50 intermediate revisions by 22 users not shown)
Line 1: Line 1:
Installing and Compiling Vegastrike. See also [[HowTo#Installing]]
+
{{Languages|En|FAQ:Installing}}
 +
{{NAV_Manual |
 +
| previous=[[FAQ:Playing]]
 +
| up=[[FAQ]]
 +
| next=[[FAQ:Bugs]]
 +
}}
 +
----
 +
Installing and Compiling Vegastrike.<BR/>See also [[HowTos#Installing]]
  
 +
=Binary Distributions=
 +
The Vega Strike project and many Linux distributions provide binary packages for Vega Strike, either as a download or through their package management systems.
 +
We attempt to list some of the distributions and link to relevant information.
 +
 +
See also: [http://vegastrike.sourceforge.net/getfiles/ Overview of stable releases]
 +
 +
==Linux==
 +
* [http://downloads.sourceforge.net/vegastrike/ stable release 32-bit and 64-bit]
 +
* [http://software.opensuse.org/search?q=vegastrike&baseproject=ALL&lang=en&include_home=true openSUSE]
 +
* [http://www.freshports.org/games/vegastrike/ FreeBSD]
 +
* Fedora, Mandriva, other: [http://rpmfind.net/linux/rpm2html/search.php?query=vegastrike find RPM]
 +
* [http://comunidade.magalhaes.caixamagica.pt/index.php?pagina=produto&v=mg1&c=7&r=26812 Linux Caixa Mágica do Magalhães 2 (For the Linux magic box Magalhes 2)]
 +
 +
==Mac OS==
 +
* [http://downloads.sourceforge.net/vegastrike/vegastrike-0.5.0.dmg latest stable release version 0.5.0]
 +
 +
==Windows==
 +
* [http://downloads.sourceforge.net/vegastrike/VS%20Setup%200.5.1%20r1.exe latest stable release Version 5.1.r1]
 +
 +
=Requirements=
 
== What are the minimum system requirements for Vegastrike? ==
 
== What are the minimum system requirements for Vegastrike? ==
  
Line 8: Line 35:
 
** Video card: 3d card with 16Mb of memory (although it will work without a 3d card too)
 
** Video card: 3d card with 16Mb of memory (although it will work without a 3d card too)
 
** Screen color depth: 16bit
 
** Screen color depth: 16bit
** RAM: 512 Mb
+
** RAM: 512 Mb ''(I use 256 Mb in WinXP without any troubles - smbarbour / same to me in Linux Ubuntu - federoy)''
 
** Swap space: ???
 
** Swap space: ???
 
** HD: ???
 
** HD: ???
Line 20: Line 47:
  
 
If your graphics card is poor, put it on low/retro detail and low resolution/16bit color, fullscreen. <BR/>
 
If your graphics card is poor, put it on low/retro detail and low resolution/16bit color, fullscreen. <BR/>
More info about video cards is here: [#Q7]
+
More info about video cards is here: [[#Which_video_cards_are_known_to_work_.28or_not_to.29_with_Vegastrike.3F|Q7]]
 +
 
 +
== Which video cards are known to work (or not to) with Vegastrike? ==
 +
A: Any ATI Radeon or NVidia GeForce GPU should be fine. Other cards with OpenGL drivers and at least 16MB VRAM may also work. If your card is old, slow, or low on VRAM you will probably need to turn down the level of detail, resolution, and color depth.
 +
 
 +
This question is also discussed in the following thread in the forum: http://forums.vega-strike.org/viewtopic.php?t=1399
 +
 
 +
=== Working ===
 +
{|
 +
|'''Vendor'''
 +
|'''Card Info'''
 +
|'''Operating System'''
 +
|'''Additional Info'''
 +
|-
 +
|ATI
 +
|Rage 128 Pro
 +
|
 +
|not 8MB version
 +
|-
 +
|ATI
 +
|Radeon 7000 Mobility
 +
|OSX
 +
|(iBook G3)
 +
|-
 +
|ATI
 +
|Radeon 7200
 +
|Linux
 +
|
 +
|-
 +
|ATI
 +
|Radeon 7500
 +
|Linux
 +
|[http://forums.vega-strike.org/viewtopic.php?p=28072#28072 Forum-Link]
 +
|-
 +
|ATI
 +
|Radeon 7500
 +
|WinXP
 +
|[http://forums.vega-strike.org/viewtopic.php?p=28072#28072 Forum-Link]
 +
|-
 +
|ATI
 +
|Radeon 8500
 +
|Linux
 +
|
 +
|-
 +
|ATI
 +
|Radeon 9000 Pro
 +
|Win98SE
 +
|[http://forums.vega-strike.org/viewtopic.php?p=16354#16354 Forum-Link]
 +
|-
 +
|ATI
 +
|Radeon 9200
 +
|Linux DRI XF4.3
 +
|Use the 16bit depth, not 24!!
 +
|-
 +
|ATI
 +
|Radeon 9200
 +
|Linux Kubutu "Breezy Badger"
 +
|XOrg driver, 1024x768 24bit, run "xhost +local:" before launching VS from console
 +
|-
 +
|ATI
 +
|Radeon 9500 Pro
 +
|Linux
 +
|
 +
|-
 +
|ATI
 +
|Radeon 9600 Mobility
 +
|OSX
 +
|(PowerBook G4)
 +
|-
 +
|ATI
 +
|Radeon 9600 Pro
 +
|Win2k
 +
|
 +
|-
 +
|ATI
 +
|Radeon 9700 Pro
 +
|Linux/Win2k
 +
|
 +
|-
 +
|ATI
 +
|Radeon 9800 Pro
 +
|OSX
 +
|(G4 867Mhz OSX 10.2.8)
 +
|-
 +
|ATI
 +
|Radeon IGP 345M
 +
|WinXP
 +
|
 +
|-
 +
|ATI
 +
|Radeon X300 Mobility 64MB
 +
|Windows 7
 +
|(default driver)
 +
|-
 +
|ATI
 +
|Radeon X1600 Mobility
 +
|Linux/OS X
 +
|(MacBook Pro, using proprietary video drivers in Linux)
 +
|-
 +
|ATI
 +
|Radeon HD 3200
 +
|Linux
 +
|KMS R600 classic driver, [http://forums.vega-strike.org/viewtopic.php?f=27&t=15352&start=30#p119024 Forum-Link]
 +
|-
 +
|ATI
 +
|Radeon HD 6530D
 +
|Linux Ubuntu 64bit/Windows7 64bit
 +
|Linux Propriety driver only [http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English AMD Catalyst™ Proprietary Display Driver - Linux x86 & Linux x86_64]
 +
|-
 +
|NVidia
 +
|GeForce 2 GTS 32MB
 +
|Linux/Windows
 +
|[http://forums.vega-strike.org/viewtopic.php?p=16374#16374 Forum-Link]
 +
|-
 +
|NVidia
 +
|GeForce 2 MX
 +
|Linux/Windows
 +
|
 +
|-
 +
|NVidia
 +
|GeForce 2 MX
 +
|OSX
 +
|(PowerMac G4 800)
 +
|-
 +
|NVidia
 +
|GeForce 3 (standard)
 +
|Linux/Windows
 +
|
 +
|-
 +
|NVidia
 +
|GeForce 3 Ti200 128MB
 +
|WinXP
 +
|
 +
|-
 +
|NVidia
 +
|GeForce 3 Ti500 64MB
 +
|
 +
|
 +
|-
 +
|NVidia
 +
|GeForce 4 MX440 64MB
 +
|WinME
 +
|
 +
|-
 +
|NVidia
 +
|GeForce 4 MX460 64MB
 +
|Win2k/WinXP
 +
|
 +
|-
 +
|NVidia
 +
|GeForce 4 MX (integrated)
 +
|WinXP
 +
|[http://forums.vega-strike.org/viewtopic.php?p=28907#28907 Forum-Link]
 +
|-
 +
|NVidia
 +
|GeForce 4 Ti series
 +
|
 +
|
 +
|-
 +
|NVidia
 +
|GeForce 4 Ti 4600 128MB
 +
|Linux
 +
|[http://forums.vega-strike.org/viewtopic.php?p=29718#29718 Forum-Link]
 +
|-
 +
|NVidia
 +
|GeForce FX 5600
 +
|
 +
|
 +
|-
 +
|NVidia
 +
|GeForce FX 5900
 +
|
 +
|
 +
|-
 +
|NVidia
 +
|TNT2 M64 32MB
 +
|
 +
|
 +
|-
 +
|NVidia
 +
|GeForce 9 9400GT 1GB
 +
|Linux Ubuntu
 +
|
 +
|-
 +
|3DFX
 +
|Voodoo3 16MB
 +
|Linux/Win2k
 +
|
 +
|-
 +
|3DFX
 +
|Voodoo5000 64MB
 +
|Linux
 +
|
 +
|-
 +
|3DLabs
 +
|Permedia 2 FireGL 1000 Pro
 +
|
 +
|
 +
|-
 +
|Elsa
 +
|Erazor III Pro
 +
|Linux(Debian)/Win2k
 +
|
 +
|-
 +
|Matrox
 +
|Millenium G400
 +
|Win2k
 +
|[http://forums.vega-strike.org/viewtopic.php?p=15059#15059 Forum-Link]
 +
|-
 +
|Matrox
 +
|G440 DualHead MAX 32MB
 +
|Linux Mandrake 10.1 Community
 +
|[http://forums.vega-strike.org/viewtopic.php?p=29041#29041 Forum-Link]
 +
|-
 +
|Matrox
 +
|Millenium G550
 +
|Linux(Debian)
 +
|[http://forums.vega-strike.org/viewtopic.php?p=59892#59892 Forum-Link]
 +
|-
 +
|S3
 +
|Savage/IX-MV
 +
|Linux (Gentoo)
 +
|[http://forums.vega-strike.org/viewtopic.php?p=33531#33531 Forum-Link]
 +
|-
 +
|SiS
 +
|630 16MB shared memory
 +
|WinXP
 +
|(But no cursor at the bases and some minor graphical issues)
 +
|-
 +
|Intel
 +
|Mobile 945 Express
 +
|WinXP
 +
|Old driver used, See [http://forums.vega-strike.org/viewtopic.php?f=1&t=15566] for details.
 +
|}
 +
 
 +
=== Not Working ===
 +
 
 +
{|
 +
|'''Vendor'''
 +
|'''Card Info'''
 +
|'''Operation System'''
 +
|'''Additional Info'''
 +
|-
 +
|ATI
 +
|Rage 128 8MB
 +
|OSX
 +
|(iMac G3 et al)
 +
|-
 +
|3DFX
 +
|Voodoo 4500
 +
|Win98SE
 +
|
 +
|-
 +
|Hercules
 +
|Kyro II 64MB
 +
|
 +
|
 +
|-
 +
|Matrox
 +
|G400
 +
|Win98
 +
|[http://forums.vega-strike.org/viewtopic.php?p=13183#13183 Forum-Link]
 +
|-
 +
|Matrox
 +
|G450 32MB
 +
|Linux
 +
|
 +
|-
 +
|}
 +
 
 +
=Installation FAQ=
 +
 
 +
== I get a message "The application failed to run because of an incorrect configuration, reinstalling may fix this problem" ==
 +
http://forums.vega-strike.org/download.php?id=1546&ext=.gif
 +
 
 +
This means you have not installed the VC8 re-distributable package.
 +
 
 +
Look for an executable called "vcredist_x86.exe" in the bin folder and install it as Administrator.
 +
 
 +
If you do not have that program, download and install it from Microsoft [http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en here].
 +
 
 +
== How do I turn fullscreen on or off in Vegastrike? ==
 +
A: Edit vegastrike.config or <code>/.vegastrike/vegastrike.config</code>
 +
and change fullscreen to false/true wherever it occurs.
 +
 
 +
A: Run Launcher.exe program, select OPTIONS, and adjust color.
 +
 
 +
Section of the vegastrike.config file that sets the screen mode:<br>
 +
<code>#cat Color full_32 full_16 win_32 win_16</code>
 +
 
 +
To set windowed mode use:<br>
 +
<code>#set Color win_32</code><br>
 +
or<br>
 +
<code>#set Color win_16</code>
 +
 
 +
To set fullscreen mode use:<br>
 +
<code>#set Color full_32</code><br>
 +
or<br>
 +
<code>#set Color full_16</code>
 +
 
 +
== After installing with the Linux Binary installer, I get an error about libstdc++-libc6.2-2.so.3 ==
 +
A: This library is a 'compatibility' library used by many precompiled applications, including Vegastrike.  It is available, for Fedora Core 3, from the package compat-libstdc++. Other distributions may be similar.
 +
 
 +
Debian: See if you have /usr/lib/libstdc++.so.6. If not, install package called "libstdc++6" which should give you that lib. Then you need to do a symlink for it to work:
 +
"ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++-libc6.2-2.so.3".
 +
 
 +
Once this is installed, both Vegastrike and the setup application should work.
 +
 
 +
=Compiling FAQ=
  
 
== Does the source code work with VC++ 6.0 or 7.0? ==
 
== Does the source code work with VC++ 6.0 or 7.0? ==
Line 26: Line 361:
 
A: Most certainly.
 
A: Most certainly.
 
VC++ 6.0/7.0 is unfortunately the only way I know how to compile it in windows.<BR/>
 
VC++ 6.0/7.0 is unfortunately the only way I know how to compile it in windows.<BR/>
''Not completly true, it works with cygwin too. See [[HowTo:Compile CVS under Cygwin]].''
+
''Not completly true, it works with cygwin too. See [[HowTo:Cygwin Compiling]].''
  
 
Download '''vega-proj''' (vc++ 6) or '''vega-vc7''' (vc++ 7), '''''not''''' the outdated ''vega-new-proj'' and have at it (from CVS).
 
Download '''vega-proj''' (vc++ 6) or '''vega-vc7''' (vc++ 7), '''''not''''' the outdated ''vega-new-proj'' and have at it (from CVS).
  
See [[HowTo:Compile CVS under VCpp]] for more information.
+
See [[HowTo:VCPP Compiling]] for more information.
  
 
Note for people with an old project (such as ''vega-new-proj''):
 
Note for people with an old project (such as ''vega-new-proj''):
Line 40: Line 375:
 
The simplest way is to checkout '''vega-proj''' as it says in [[HowTo:Checkout CVS]].
 
The simplest way is to checkout '''vega-proj''' as it says in [[HowTo:Checkout CVS]].
  
== How do i turn fullscreen on or off in Vegastrike? ==
+
== While compiling VS from CVS i got lots of error like seen in [http://forums.vega-strike.org/viewtopic.php?t=848 this] thread in the forum. (e.g ''pasting "operator" and "+" does not give a valid preprocessing token'') and they are all in somewhere like the <code>../src/boost129/</code> directory. What should i do? ==
A: Edit vegastrike.config or <code>/.vegastrike/vegastrike.config</code>
 
and change fullscreen to false/true wherever it occurs.
 
 
 
A: Run Launcher.exe program, select OPTIONS, and adjust color.
 
 
 
== While compiling VS from CVS i got lots of error like seen in [http://vegastrike.sourceforge.net/forums/viewtopic.php?t=848 this] thread in the forum. (e.g ''pasting "operator" and "+" does not give a valid preprocessing token'') and they are all in somewhere like the <code>../src/boost129/</code> directory. What should i do? ==
 
 
A: Try to run <code>./configure</code> with the <code>--enable-boost-128</code> parameter. <BR/>
 
A: Try to run <code>./configure</code> with the <code>--enable-boost-128</code> parameter. <BR/>
 
See also:
 
See also:
 
* [[HowTo:Compile From CVS]]
 
* [[HowTo:Compile From CVS]]
* [[HowTo:Compile CVS under Cygwin]].
+
* [[HowTo:Cygwin Compiling]].
  
== When compiling VS I get a "''glXGetProcAddress''" or "''glXGetProcAddressARB''" error. ==
+
== When compiling VS I get a <code>glXGetProcAddress</code> or <code>glXGetProcAddressARB</code> error. ==
  
 
A:
 
A:
* Preferred way: Inserting the following lines into the file gl_init.cpp (Forum [Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=14032#14032])
+
* Preferred way: Inserting the following lines into the file <code>gl_init.cpp</code> (Forum [http://forums.vega-strike.org/viewtopic.php?p=14032#14032 Link])
<verbatim>
+
<pre>
 
#define GLX_GLXEXT_PROTOTYPES
 
#define GLX_GLXEXT_PROTOTYPES
 
#include <GL/glx.h>
 
#include <GL/glx.h>
</verbatim>
+
</pre>
* A second way is to replace __glXGetProcAddress__ with __glXGetProcAddressARB__ or the other way around.
+
* A second way is to replace <code>glXGetProcAddress</code> with <code>glXGetProcAddressARB</code> or the other way around.
 
* If none of the other ways worked, include the line
 
* If none of the other ways worked, include the line
<verbatim>
+
<pre>
 
#define glXGetProcAddress glXGetProcAddressARB
 
#define glXGetProcAddress glXGetProcAddressARB
</verbatim>
+
</pre>
 
or
 
or
<verbatim>
+
<pre>
 
#define glXGetProcAddressARB glXGetProcAddress
 
#define glXGetProcAddressARB glXGetProcAddress
</verbatim>
+
</pre>
at the top of the file gl_init.cpp (the very first line)
+
at the top of the file <code>gl_init.cpp</code> (the very first line)
  
 
* See also the forum entries below:
 
* See also the forum entries below:
** http://vegastrike.sourceforge.net/forums/viewtopic.php?t=966
+
** http://forums.vega-strike.org/viewtopic.php?t=966
** http://vegastrike.sourceforge.net/forums/viewtopic.php?t=1085
+
** http://forums.vega-strike.org/viewtopic.php?t=1085
** http://vegastrike.sourceforge.net/forums/viewtopic.php?t=1153
+
** http://forums.vega-strike.org/viewtopic.php?t=1153
** http://vegastrike.sourceforge.net/forums/viewtopic.php?p=14032#14032
+
** http://forums.vega-strike.org/viewtopic.php?p=14032#14032
  
== When compiling VS I get a "''./depcomp: No such file or directory''" error. ==
+
== When compiling VS I get a <code>./depcomp: No such file or directory</code> error. ==
  
A: You need to start __automake__ with the parameter __--add-missing__ like this:
+
A: You need to start <code>automake</code> with the parameter <code>--add-missing</code> like this:
automake --add-missing
+
<pre>
 
+
automake --add-missing
== Which video cards are known to work (or not to) with Vegastrike? ==
+
</pre>
A:
 
This question is also discussed in the following thread in the forum: http://vegastrike.sourceforge.net/forums/viewtopic.php?t=1399
 
  
=== Working ===
+
== I'm getting similar errors as shown below when trying to compile today's cvs version, What about that? ==
{|
 
|^__Vendor__ |^__Card Info__        |^__Operation System__ |^__Additional Info__
 
|ATI        |Rage 128 Pro          |-                    |-
 
|ATI        |Radeon 7000 Mobility  |G3                    |-
 
|ATI        |Radeon 7200            |Linux                |-
 
|ATI        |Radeon 7500            |Linux                |-
 
|ATI        |Radeon 7500            |WinXP                |[Forum-Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=28072#28072]
 
|ATI        |Radeon 7500            |Linux                |[Forum-Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=28072#28072]
 
|ATI        |Radeon 8500            |Linux                |-
 
|ATI        |Radeon 9000 Pro        |Win98SE              |[Forum-Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=16354#16354]
 
|ATI        |Radeon 9200            |Linux DRI XF4.3      | Use the 16bit depth, not 24!!
 
|ATI        |Radeon 9500 Pro        |Linux                |-
 
|ATI        |Radeon 9600 Pro        |Win2k                |-
 
|ATI        |Radeon 9700 Pro        |Linux/Win2k          |-
 
|ATI        |Radeon 9800 Pro        |G4 867Mhz OSX 10.2.8  |-
 
|NVidia      |~GeForce 2 GTS 32M    |Windows/Linux        |[Forum-Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=16374#16374]
 
|NVidia      |~GeForce 2 MX          |Linux/Windows        |-
 
|NVidia      |~GeForce 2 MX          |power mac G4 800 Mhz  |-
 
|NVidia      |~GeForce 3 (standard)  |Linux/Windows        |-
 
|NVidia      |~GeForce 3 Ti200 128 MB|WinXP                |-
 
|NVidia      |~GeForce 3 Ti500 64 MB |-                    |-
 
|NVidia      |~GeForce 4 MX440 64 MB |WinME                |-
 
|NVidia      |~GeForce 4 MX (integrated)|?                  |[Forum-Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=28907#28907]
 
|NVidia      |~GeForce 4 Ti series  |-                    |-
 
|NVidia      |~GeForce 4 Ti 4600 128mb|Linux                |[Forum-Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=29718#29718]
 
|NVidia      |~GeForce FX 5600      |-                    |-
 
|NVidia      |~GeForce FX 5900      |-                    |-
 
|-          |TNT2 M64 32mb          |-                    |-
 
|-          |Permedia 2 (FireGL 1000 pro)|-                |-
 
|Elsa        |Erazor III Pro        |Win2k                |-
 
|3DFX        |Voodoo3 16Mb          |Linux/Win2k          |-
 
|3DFX        |Voodoo5000 64Mb        |Linux                |-
 
|SiS        |630 16Mb shared memory |256RAM/WinXP          |(But no cursor at the bases and some minor graphical issues)
 
|Matrox      |Millenium G400        |Win2k                |[Forum-Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=15059#15059]
 
|Matrox      |G440 ~DualHead MAX 32Mb |Mandrake 10.1 Community|[Forum-Link|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=29041#29041]
 
|}
 
 
 
=== Not Working ===
 
 
 
{|
 
|^__Vendor__ |^__Card Info__        |^__Operation System__ |^__Additional Info__
 
|Hercules    |Kyro II 64MB          |-                    |-
 
|Matrox      |G400                  |Win98                |Marginally usable: -No mouse cursor on bases. - Poor frame rate - Works only in fullscreen mode. If the game is running in a window, graphics are turning to gibberish. Re-maximizing doesn't help to restore graphics
 
|Matrox      |G450 32MB              |Linux                |-
 
|3DFX        |Voodoo 4500            |Win98SE              |-
 
|ATI        |Rage 128 Pro 8MB      |G3 iMac DV 400 (512mb ram)|-
 
|}
 
 
 
== I'm getting similar errors as shown below when trying to compile today's cvs version, What about that? =
 
  
 
<pre>
 
<pre>
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1  -DUSE_STENCIL_BUFFER=1 -DDATA_DIR=\"/usr/share/games/vegastrike/data\"  -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -I../../src/boost  -I../../src  -pipe  -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -MT gl_globals.o -MD -MP -MF ".deps/gl_globals.Tpo" -c -o gl_globals.o gl_globals.cpp; \
+
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1  -DUSE_STENCIL_BUFFER=1
 +
-DDATA_DIR=\"/usr/share/games/vegastrike/data\"  -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1
 +
-I../../src/boost  -I../../src  -pipe  -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL
 +
-D_REENTRANT -pthread -pipe -MT gl_globals.o -MD -MP -MF ".deps/gl_globals.Tpo" -c -o gl_globals.o gl_globals.cpp; \
 
then mv -f ".deps/gl_globals.Tpo" ".deps/gl_globals.Po"; else rm -f ".deps/gl_globals.Tpo"; exit 1; fi
 
then mv -f ".deps/gl_globals.Tpo" ".deps/gl_globals.Po"; else rm -f ".deps/gl_globals.Tpo"; exit 1; fi
 
In file included from gl_globals.cpp:22:
 
In file included from gl_globals.cpp:22:
Line 159: Line 440:
 
* You need the latest version of glext.h to fix the error.
 
* You need the latest version of glext.h to fix the error.
 
* Get it at http://oss.sgi.com/projects/ogl-sample/ABI/glext.h
 
* Get it at http://oss.sgi.com/projects/ogl-sample/ABI/glext.h
* Then you probably need to save it in /usr/include/GL/glext.h as root (Make a backup first).
+
* Then you probably need to save it in <code>/usr/include/GL/glext.h</code> as root (Make a backup first).
* If there is no glext.h in /usr/include/GL then do a search for it...
+
* If there is no <code>glext.h</code> in <code>/usr/include/GL</code> then do a search for it...
<verbatim>
+
<pre>
 
find /usr -name glext.h
 
find /usr -name glext.h
</verbatim>
+
</pre>
 
* After that, gcc will probably have to rebuild most of the vega strike files again because that file changed.
 
* After that, gcc will probably have to rebuild most of the vega strike files again because that file changed.
* See also [this|http://vegastrike.sourceforge.net/forums/viewtopic.php?p=22473#22473] post in the forum.
+
* See also [http://forums.vega-strike.org/viewtopic.php?p=22473#22473 this] post in the forum.
  
 +
----
 +
{{NAV_Manual |
 +
| previous=[[FAQ:Playing]]
 +
| up=[[FAQ]]
 +
| next=[[FAQ:Bugs]]
 +
}}
 
[[Category:FAQ]]
 
[[Category:FAQ]]

Latest revision as of 22:28, 8 January 2013

View this site in other languages:   DeutschEnglishFrançaisEspañolPolskiItalianoNederlandsРуccкий简体中文


arrow_left.png FAQ:Playing arrow_up.png FAQ FAQ:Bugs arrow_right.png

Installing and Compiling Vegastrike.
See also HowTos#Installing

Binary Distributions

The Vega Strike project and many Linux distributions provide binary packages for Vega Strike, either as a download or through their package management systems. We attempt to list some of the distributions and link to relevant information.

See also: Overview of stable releases

Linux

Mac OS

Windows

Requirements

What are the minimum system requirements for Vegastrike?

A:Your computer needs to have OpenGL support (which most do nowadays).

  • Minimum Requirement
    • Processor: Pentium I 200Mhz or Apple G3 400Mhz
    • Video card: 3d card with 16Mb of memory (although it will work without a 3d card too)
    • Screen color depth: 16bit
    • RAM: 512 Mb (I use 256 Mb in WinXP without any troubles - smbarbour / same to me in Linux Ubuntu - federoy)
    • Swap space: ???
    • HD: ???
  • Recommended Requirement
    • Processor: ???
    • Video card: ???
    • Screen color depth: ???
    • RAM: ???
    • Swap space: ???
    • HD: ???

If your graphics card is poor, put it on low/retro detail and low resolution/16bit color, fullscreen.
More info about video cards is here: Q7

Which video cards are known to work (or not to) with Vegastrike?

A: Any ATI Radeon or NVidia GeForce GPU should be fine. Other cards with OpenGL drivers and at least 16MB VRAM may also work. If your card is old, slow, or low on VRAM you will probably need to turn down the level of detail, resolution, and color depth.

This question is also discussed in the following thread in the forum: http://forums.vega-strike.org/viewtopic.php?t=1399

Working

Vendor Card Info Operating System Additional Info
ATI Rage 128 Pro not 8MB version
ATI Radeon 7000 Mobility OSX (iBook G3)
ATI Radeon 7200 Linux
ATI Radeon 7500 Linux Forum-Link
ATI Radeon 7500 WinXP Forum-Link
ATI Radeon 8500 Linux
ATI Radeon 9000 Pro Win98SE Forum-Link
ATI Radeon 9200 Linux DRI XF4.3 Use the 16bit depth, not 24!!
ATI Radeon 9200 Linux Kubutu "Breezy Badger" XOrg driver, 1024x768 24bit, run "xhost +local:" before launching VS from console
ATI Radeon 9500 Pro Linux
ATI Radeon 9600 Mobility OSX (PowerBook G4)
ATI Radeon 9600 Pro Win2k
ATI Radeon 9700 Pro Linux/Win2k
ATI Radeon 9800 Pro OSX (G4 867Mhz OSX 10.2.8)
ATI Radeon IGP 345M WinXP
ATI Radeon X300 Mobility 64MB Windows 7 (default driver)
ATI Radeon X1600 Mobility Linux/OS X (MacBook Pro, using proprietary video drivers in Linux)
ATI Radeon HD 3200 Linux KMS R600 classic driver, Forum-Link
ATI Radeon HD 6530D Linux Ubuntu 64bit/Windows7 64bit Linux Propriety driver only AMD Catalyst™ Proprietary Display Driver - Linux x86 & Linux x86_64
NVidia GeForce 2 GTS 32MB Linux/Windows Forum-Link
NVidia GeForce 2 MX Linux/Windows
NVidia GeForce 2 MX OSX (PowerMac G4 800)
NVidia GeForce 3 (standard) Linux/Windows
NVidia GeForce 3 Ti200 128MB WinXP
NVidia GeForce 3 Ti500 64MB
NVidia GeForce 4 MX440 64MB WinME
NVidia GeForce 4 MX460 64MB Win2k/WinXP
NVidia GeForce 4 MX (integrated) WinXP Forum-Link
NVidia GeForce 4 Ti series
NVidia GeForce 4 Ti 4600 128MB Linux Forum-Link
NVidia GeForce FX 5600
NVidia GeForce FX 5900
NVidia TNT2 M64 32MB
NVidia GeForce 9 9400GT 1GB Linux Ubuntu
3DFX Voodoo3 16MB Linux/Win2k
3DFX Voodoo5000 64MB Linux
3DLabs Permedia 2 FireGL 1000 Pro
Elsa Erazor III Pro Linux(Debian)/Win2k
Matrox Millenium G400 Win2k Forum-Link
Matrox G440 DualHead MAX 32MB Linux Mandrake 10.1 Community Forum-Link
Matrox Millenium G550 Linux(Debian) Forum-Link
S3 Savage/IX-MV Linux (Gentoo) Forum-Link
SiS 630 16MB shared memory WinXP (But no cursor at the bases and some minor graphical issues)
Intel Mobile 945 Express WinXP Old driver used, See [1] for details.

Not Working

Vendor Card Info Operation System Additional Info
ATI Rage 128 8MB OSX (iMac G3 et al)
3DFX Voodoo 4500 Win98SE
Hercules Kyro II 64MB
Matrox G400 Win98 Forum-Link
Matrox G450 32MB Linux

Installation FAQ

I get a message "The application failed to run because of an incorrect configuration, reinstalling may fix this problem"

download.php?id=1546&ext=.gif

This means you have not installed the VC8 re-distributable package.

Look for an executable called "vcredist_x86.exe" in the bin folder and install it as Administrator.

If you do not have that program, download and install it from Microsoft here.

How do I turn fullscreen on or off in Vegastrike?

A: Edit vegastrike.config or /.vegastrike/vegastrike.config and change fullscreen to false/true wherever it occurs.

A: Run Launcher.exe program, select OPTIONS, and adjust color.

Section of the vegastrike.config file that sets the screen mode:
#cat Color full_32 full_16 win_32 win_16

To set windowed mode use:
#set Color win_32
or
#set Color win_16

To set fullscreen mode use:
#set Color full_32
or
#set Color full_16

After installing with the Linux Binary installer, I get an error about libstdc++-libc6.2-2.so.3

A: This library is a 'compatibility' library used by many precompiled applications, including Vegastrike. It is available, for Fedora Core 3, from the package compat-libstdc++. Other distributions may be similar.

Debian: See if you have /usr/lib/libstdc++.so.6. If not, install package called "libstdc++6" which should give you that lib. Then you need to do a symlink for it to work: "ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++-libc6.2-2.so.3".

Once this is installed, both Vegastrike and the setup application should work.

Compiling FAQ

Does the source code work with VC++ 6.0 or 7.0?

A: Most certainly. VC++ 6.0/7.0 is unfortunately the only way I know how to compile it in windows.
Not completly true, it works with cygwin too. See HowTo:Cygwin Compiling.

Download vega-proj (vc++ 6) or vega-vc7 (vc++ 7), not the outdated vega-new-proj and have at it (from CVS).

See HowTo:VCPP Compiling for more information.

Note for people with an old project (such as vega-new-proj):

It's a bit of a trick to get all the .lib files into the project because a lot of the people who are in charge of maintaining the project somehow got rid if the library include directories from the project since I committed it. However, it's pretty easy to add those paths.

You have to add a few simple .cpp files to the project so give it a shot if you will.

The simplest way is to checkout vega-proj as it says in HowTo:Checkout CVS.

While compiling VS from CVS i got lots of error like seen in this thread in the forum. (e.g pasting "operator" and "+" does not give a valid preprocessing token) and they are all in somewhere like the ../src/boost129/ directory. What should i do?

A: Try to run ./configure with the --enable-boost-128 parameter.
See also:

When compiling VS I get a glXGetProcAddress or glXGetProcAddressARB error.

A:

  • Preferred way: Inserting the following lines into the file gl_init.cpp (Forum Link)
#define GLX_GLXEXT_PROTOTYPES
#include <GL/glx.h>
  • A second way is to replace glXGetProcAddress with glXGetProcAddressARB or the other way around.
  • If none of the other ways worked, include the line
#define glXGetProcAddress glXGetProcAddressARB

or

#define glXGetProcAddressARB glXGetProcAddress

at the top of the file gl_init.cpp (the very first line)

When compiling VS I get a ./depcomp: No such file or directory error.

A: You need to start automake with the parameter --add-missing like this:

automake --add-missing

I'm getting similar errors as shown below when trying to compile today's cvs version, What about that?

if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1  -DUSE_STENCIL_BUFFER=1
-DDATA_DIR=\"/usr/share/games/vegastrike/data\"  -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1
 -I../../src/boost  -I../../src   -pipe  -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL
 -D_REENTRANT -pthread -pipe -MT gl_globals.o -MD -MP -MF ".deps/gl_globals.Tpo" -c -o gl_globals.o gl_globals.cpp; \
then mv -f ".deps/gl_globals.Tpo" ".deps/gl_globals.Po"; else rm -f ".deps/gl_globals.Tpo"; exit 1; fi
In file included from gl_globals.cpp:22:
gl_globals.h:123: error: syntax error before `;' token
gl_globals.h:124: error: syntax error before `;' token
gl_globals.h:125: error: syntax error before `;' token
gl_globals.h:126: error: syntax error before `;' token
gl_globals.h:127: error: syntax error before `;' token
gl_globals.h:128: error: syntax error before `;' token
make[4]: *** [gl_globals.o] Error 1
make[4]: Leaving directory `/usr/src/vegastrike-20040724/vegastrike/src/gldrv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/vegastrike-20040724/vegastrike/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/vegastrike-20040724/vegastrike'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/vegastrike-20040724/vegastrike'

A:

  • You need the latest version of glext.h to fix the error.
  • Get it at http://oss.sgi.com/projects/ogl-sample/ABI/glext.h
  • Then you probably need to save it in /usr/include/GL/glext.h as root (Make a backup first).
  • If there is no glext.h in /usr/include/GL then do a search for it...
find /usr -name glext.h
  • After that, gcc will probably have to rebuild most of the vega strike files again because that file changed.
  • See also this post in the forum.

arrow_left.png FAQ:Playing arrow_up.png FAQ FAQ:Bugs arrow_right.png