Fr:FAQ:Installation
Ce site dans d'autres langues: Deutsch – English – Français – Español – Polski – Italiano – Nederlands – Руccкий – 简体中文
![]() |
![]() |
FAQ:Bugs ![]() |
Installation et compilation de Vega Strike.
Voir également HowTos#Installing
Contents
- 1 Quelle est la configuration minimale pour Vega Strike ?
- 2 Est-ce que le code source fonctionne avec VC++ 6.0 ou 7.0 ?
- 3 Comment activer ou désactiver le mode plein écran dans Vega Strike ?
- 4 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?
- 5 When compiling VS I get a glXGetProcAddress or glXGetProcAddressARB error.
- 6 When compiling VS I get a ./depcomp: No such file or directory error.
- 7 Quelles cartes graphiques marchent (ou pas) avec Vegastrike ?
- 8 I'm getting similar errors as shown below when trying to compile today's cvs version, What about that?
- 9 After installing with the Linux Binary installer, I get an error about libstdc++-libc6.2-2.so.3
Quelle est la configuration minimale pour Vega Strike ?
R : Votre ordinateur doit supporter OpenGL (la plupart le font de nos jours).
- Configuration minimale
- Processeur : Pentium I 200Mhz ou Apple G3 400Mhz
- Carte graphique : Carte 3D avec 16 Mo de mémoire (bien que ça marche sans)
- Profondeur des couleurs d'écran : 16 bits
- RAM : 256 Mo
- Espace d'échange : ???
- Disque dur : ???
- Configuration recommandée
- Processeur : ???
- Carte graphique : ???
- Profondeur des couleurs d'écran : ???
- RAM : ???
- Espace d'échange : ???
- Disque dur : ???
Si votre carte graphique est limite, mettez les options du jeu sur 'low/retro detail' et 'low resolution/16bit color', 'fullscreen'.
Plus d'info sur les cartes graphiques : Q7
Est-ce que le code source fonctionne avec VC++ 6.0 ou 7.0 ?
R : Très certainement.
VC++ 6.0/7.0 est malheureusement le seul moyen que je connaisse pour le compiler sous Windows.
Pas tout à fait vrai, ça marche aussi avec Cygwin. Voir HowTo:Cygwin Compiling.
Téléchargez vega-proj (VC++ 6) ou vega-vc7 (VC++ 7), pas l'obsolète vega-new-proj et essayez (à partir du SVN).
Voir HowTo:VCPP Compiling pour plus d'information.
Note pour ceux qui utilisent un ancien projet (tel que vega-new-proj) :
C'est un peu du bricolage pour avoir tous les fichier .lib dans le projet car beaucoup de ceux qui maintiennent le projet ont d'une manière ou d'une autre supprimé les répertoires des en-têtes des librairies du projet depuis que je l'ai envoyé. Cependant, il est asez facile d'ajouter ces chemins.
Vous devez ajoutez simplement quelques fichiers .cpp au projet.
La manière la plus simple est de retirer vega-proj comme expliqué dans HowTo:Checkout CVS.
Comment activer ou désactiver le mode plein écran dans Vega Strike ?
R : Editez vegastrike.config ou /.vegastrike/vegastrike.config
et modifiez la valeur de fullscreen en false/true (faux/vrai) à chaque occurence.
R : Lancez le programme Launcher.exe, sélectionnez OPTIONS, et ajustez la couleur.
Section du fichier vegastrike.config qui définit le mode d'écran :
#cat Color full_32 full_16 win_32 win_16
Pour utiliser le mode fenêtré, mettez :
#set Color win_32
ou
#set Color win_16
Pour utiliser le mode plein écran, mettez :
#set Color full_32
ou
#set Color full_16
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
withglXGetProcAddressARB
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)
- See also the forum entries below:
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
Quelles cartes graphiques marchent (ou pas) avec 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://vegastrike.sourceforge.net/forums/viewtopic.php?t=1399
Working
Vendor | Card Info | Operation 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 | |
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 | ||
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) |
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 |
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.
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.
![]() |
![]() |
FAQ:Bugs ![]() |