Back to the Vavoom Forum Archives


Forum

[Not a bug] from bottom scartch newbie question ...

Wed, 01 Sep 2004 02:55:07

mXed

i have been useing linux for a few weeks now and i need some help<br>with Vavoom ..<br>so i have installed it .. i think .. i have unziped v115_2_src.zip<br>then i ran sh ./fixunix.sh in root<br>then ... i dont know what i need to do .. i tryed following the vavoom.txt<br>but the other commands didnt work they gave my errors<br>sry for the all newbie questions but i am a newbie at linux<br>i have allso download the shareware wads of doom, heretic and hexen<br>i have Linux Mandrake 10<br>hope someone will help me  :-/
Wed, 01 Sep 2004 16:31:42

Janis Legzdinsh

I need to know what error messages did you get.
Thu, 02 Sep 2004 00:36:24

mXed

when entering running this cmd<br> su -c "make INSTALL=install install"<br>it gives me this output<br><br> [root@localhost temp]# su -c "make INSTALL=install install"<br>install -g root -o root -m 0777 -d /usr/local/games/Vavoom /usr/local/games/Vavoom/basev /usr/local/games/Vavoom/basev/doom /usr/local/games/Vavoom/basev/doom1 /usr/local/games/Vavoom/basev/doom2 /usr/local/games/Vavoom/basev/tnt /usr/local/games/Vavoom/basev/plutonia /usr/local/games/Vavoom/basev/heretic /usr/local/games/Vavoom/basev/hexen /usr/local/games/Vavoom/basev/strife<br>install -g root -o root -m 0755 basev/default.cfg basev/startup.vs basev/games.txt /usr/local/games/Vavoom/basev<br>install -g root -o root -m 0755 basev/doom/wad0.wad /usr/local/games/Vavoom/basev/doom<br>install: kan ikke udf
Thu, 02 Sep 2004 01:42:40

Janis Legzdinsh

First you must compile evrything. For this you must use command "make".  File basev/doom/wad0.wad is created during build process.
Thu, 02 Sep 2004 02:04:50

mXed

[root@localhost temp]# make<br>gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_alleg.o source/d_alleg.cpp<br>source/d_alleg.cpp:28:21: allegro.h: No such file or directory<br>source/d_alleg.cpp:29:38: allegro/internal/aintern.h: No such file or directory<br>source/d_alleg.cpp:48: error: syntax error before `COLOR_DEPTH_16'<br>source/d_alleg.cpp:77: error: syntax error before `*' token<br>source/d_alleg.cpp:79: error: syntax error before `try'<br>source/d_alleg.cpp:80: error: syntax error before `*' token<br>source/d_alleg.cpp:81: error: syntax error before `*' token<br>source/d_alleg.cpp:84: error: ISO C++ forbids declaration of `vtable' with no type<br>source/d_alleg.cpp:84: error: `color_depth' was not declared in this scope<br>source/d_alleg.cpp:84: error: `_get_vtable' was not declared in this scope<br>source/d_alleg.cpp:85: error: syntax error before `if'<br>source/d_alleg.cpp:88: error: ISO C++ forbids declaration of `bitmap' with no type<br>source/d_alleg.cpp:88: error: `BITMAP' was not declared in this scope<br>source/d_alleg.cpp:88: error: syntax error before `)' token<br>source/d_alleg.cpp:92: error: syntax error before `->' token<br>source/d_alleg.cpp:94: error: syntax error before `->' token<br>source/d_alleg.cpp:95: error: syntax error before `->' token<br>source/d_alleg.cpp:96: error: syntax error before `->' token<br>source/d_alleg.cpp:97: error: syntax error before `->' token<br>source/d_alleg.cpp:98: error: syntax error before `->' token<br>source/d_alleg.cpp:99: error: syntax error before `->' token<br>source/d_alleg.cpp:100: error: syntax error before `->' token<br>source/d_alleg.cpp:101: error: syntax error before `->' token<br>source/d_alleg.cpp:102: error: syntax error before `->' token<br>source/d_alleg.cpp:103: error: syntax error before `->' token<br>source/d_alleg.cpp:104: error: syntax error before `->' token<br>source/d_alleg.cpp:106: error: syntax error before `->' token<br>source/d_alleg.cpp:107: error: `height' was not declared in this scope<br>source/d_alleg.cpp:107: error: syntax error before `;' token<br>source/d_alleg.cpp:107: error: syntax error before `++' token<br>source/d_alleg.cpp: In member function `virtual bool VSoftwareDrawer::SetResolution(int, int, int)':<br>source/d_alleg.cpp:136: error: `gamebitmap' undeclared (first use this function)<br>source/d_alleg.cpp:136: error: (Each undeclared identifier is reported only once for each function it appears in.)<br>source/d_alleg.cpp:143: error: `set_color_depth' undeclared (first use this function)<br>source/d_alleg.cpp:144: error: `GFX_AUTODETECT' undeclared (first use this function)<br>source/d_alleg.cpp:144: error: `set_gfx_mode' undeclared (first use this function)<br>source/d_alleg.cpp:147: error: `allegro_error' undeclared (first use this function)<br>source/d_alleg.cpp:151: error: `SCREEN_W' undeclared (first use this function)<br>source/d_alleg.cpp:151: error: `SCREEN_H' undeclared (first use this function)<br>source/d_alleg.cpp:155: error: `my_create_bitmap_ex' undeclared (first use this function)<br>source/d_alleg.cpp:170: error: `_rgb_r_shift_15' undeclared (first use this function)<br>source/d_alleg.cpp:171: error: `_rgb_g_shift_15' undeclared (first use this function)<br>source/d_alleg.cpp:172: error: `_rgb_b_shift_15' undeclared (first use this function)<br>source/d_alleg.cpp:176: error: `_rgb_r_shift_16' undeclared (first use this function)<br>source/d_alleg.cpp:177: error: `_rgb_g_shift_16' undeclared (first use this function)<br>source/d_alleg.cpp:178: error: `_rgb_b_shift_16' undeclared (first use this function)<br>source/d_alleg.cpp:182: error: `_rgb_r_shift_32' undeclared (first use this function)<br>source/d_alleg.cpp:183: error: `_rgb_g_shift_32' undeclared (first use this function)<br>source/d_alleg.cpp:184: error: `_rgb_b_shift_32' undeclared (first use this function)<br>source/d_alleg.cpp: In member function `void VSoftwareDrawer::SetPalette8(byte*)':<br>source/d_alleg.cpp:222: error: `PALETTE' undeclared (first use this function)<br>source/d_alleg.cpp:222: error: syntax error before `;' token<br>source/d_alleg.cpp:225: error: `pal' undeclared (first use this function)<br>source/d_alleg.cpp:229: error: `set_palette' undeclared (first use this function)<br>source/d_alleg.cpp: In member function `virtual void VSoftwareDrawer::Update()':<br>source/d_alleg.cpp:295: error: `screen' undeclared (first use this function)<br>source/d_alleg.cpp:295: error: `blit' undeclared (first use this function)<br>source/d_alleg.cpp: In member function `virtual void VSoftwareDrawer::Shutdown()':<br>source/d_alleg.cpp:309: error: `GFX_TEXT' undeclared (first use this function)<br>source/d_alleg.cpp:309: error: `set_gfx_mode' undeclared (first use this function)<br>make: *** [obj/d_alleg.o] Fejl 1<br>[root@localhost temp]#
Thu, 02 Sep 2004 16:34:19

Janis Legzdinsh

Vavoom requires Allegro library. Get it from [url:2am90lwc]http://alleg.sourceforge.net, compile and install it. If you have it installed and it still doesn't work, it may be because it by default installs to /usr/local so you must add directory /usr/local/include to environment variables C_INCLUDE_PATH and CPLUS_INCLUDE_PATH, /usr/local/lib to LIBRARY_PATH, /usr/local/bin to PATH, /usr/local/info to INFOPATH and /usr/local/man to MANPATH. Lok for definition of them in ~/.bash_profile, ~/.bashrc, /etc/profile, /etc/.bash_profile files. Also add /usr/local/lib to /etc/ld.so.conf file and run ldconfig.
Fri, 03 Sep 2004 02:47:52

mXed

im not quite sure what im supposed to do<br>what fils in what dir do i need to change<br>allegro is in /usr/local/allegro<br>i compiled it there<br>and i tryed to add /usr/local/lib to /etc/ld.so.conf<br>but i dont know how to save a doc in console
Fri, 03 Sep 2004 06:45:31

Janis Legzdinsh

In console you can edit documents with vi or emacs. You will have to read their docs to see how to use them. If you are running X-Windows, there should be some text editors available with easy to use interface.<br><br>Anyways, if editing config files is too much trouble for you, the simplest thing to do is to install Allegro in /usr instead of /usr/local. To do this rebuild Allegro by configuring it to install into /usr, i.e.:<br>./configure --prefix=/usr<br>make<br>su -c "make install"<br>
Fri, 03 Sep 2004 23:05:42

mXed

ok ill try that thx
Sat, 04 Sep 2004 05:55:14

mXed

damn it well i installed allegro as you said and i think it looked right<br>then while running: make in console<br><br>[mxed@localhost temp]$ make<br>gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/gl_x.o source/gl_x.cpp<br>In file included from source/gl_x.cpp:33:<br>/usr/include/xalleg.h:37:22: X11/Xlib.h: No such file or directory<br>/usr/include/xalleg.h:38:23: X11/Xutil.h: No such file or directory<br>/usr/include/xalleg.h:39:28: X11/cursorfont.h: No such file or directory<br>/usr/include/xalleg.h:40:24: X11/keysym.h: No such file or directory<br>In file included from source/gl_x.cpp:33:<br>/usr/include/xalleg.h:60: error: syntax error before `*' token<br>/usr/include/xalleg.h:63: error: 'Window' is used as a type, but is not defined as a type.<br>/usr/include/xalleg.h:64: error: 'GC' is used as a type, but is not defined as a type.<br>/usr/include/xalleg.h:65: error: syntax error before `*' token<br>/usr/include/xalleg.h:66: error: 'Colormap' is used as a type, but is not defined as a type.<br>/usr/include/xalleg.h:67: error: syntax error before `*' token<br>/usr/include/xalleg.h:68: error: 'Cursor' is used as a type, but is not defined as a type.<br>In file included from source/gl_x.cpp:35:<br>source/gl_local.h:34:19: GL/gl.h: No such file or directory<br>In file included from source/gl_x.cpp:35:<br>source/gl_local.h:66: error: `GLenum' was not declared in this scope<br>source/gl_local.h:66: error: `GLfloat' was not declared in this scope<br>source/gl_local.h:66: error: `GLfloat' was not declared in this scope<br>source/gl_local.h:66: error: typedef `MultiTexCoord2f_t' is initialized (use __typeof__ instead)<br>source/gl_local.h:67: error: `GLenum' was not declared in this scope<br>source/gl_local.h:67: error: typedef `SelectTexture_t' is initialized (use __typeof__ instead)<br>source/gl_local.h:77: error: `GLenum' was not declared in this scope<br>source/gl_local.h:77: error: `GLfloat' was not declared in this scope<br>source/gl_local.h:77: error: typedef `PointParameterf_t' is initialized (use __typeof__ instead)<br>source/gl_local.h:78: error: `GLenum' was not declared in this scope<br>source/gl_local.h:78: error: syntax error before `*' token<br>source/gl_local.h:170: error: 'GLint' is used as a type, but is not defined as a type.<br>
Sat, 04 Sep 2004 05:56:13

mXed

source/gl_local.h:173: error: syntax error before `*' token<br>source/gl_local.h:178: error: syntax error before `*' token<br>source/gl_local.h:181: error: syntax error before `*' token<br>source/gl_local.h:184: error: syntax error before `*' token<br>source/gl_local.h:189: error: syntax error before `[' token<br>source/gl_local.h:196: error: syntax error before `[' token<br>source/gl_local.h:199: error: 'GLuint' is used as a type, but is not defined as a type.<br>source/gl_local.h:201: error: syntax error before `[' token<br>source/gl_local.h:206: error: syntax error before `[' token<br>source/gl_local.h:211: error: syntax error before `[' token<br>source/gl_local.h:226: error: 'GLenum' is used as a type, but is not defined as a type.<br>source/gl_local.h:227: error: 'GLenum' is used as a type, but is not defined as a type.<br>source/gl_local.h:228: error: 'GLenum' is used as a type, but is not defined as a type.<br>source/gl_local.h:278: error: type specifier omitted for parameter `GLfloat'<br>source/gl_local.h:278: error: syntax error before `,' token<br>source/gl_local.h: In member function `void VOpenGLDrawer::MultiTexCoord(...)':<br>source/gl_local.h:280: error: no match for 'operator+' in '33984 + level'<br>/usr/include/allegro/inline/fix.inl:25: error: candidates are: fix operator+(fix, fix)<br>/usr/include/allegro/inline/fix.inl:26: error:                 fix operator+(fix, int)<br>/usr/include/allegro/inline/fix.inl:27: error:                 fix operator+(int, fix)<br>/usr/include/allegro/inline/fix.inl:28: error:                 fix operator+(fix, long int)<br>/usr/include/allegro/inline/fix.inl:29: error:                 fix operator+(long int, fix)<br>/usr/include/allegro/inline/fix.inl:30: error:                 fix operator+(fix, float)<br>/usr/include/allegro/inline/fix.inl:31: error:                 fix operator+(float, fix)<br>/usr/include/allegro/inline/fix.inl:32: error:                 fix operator+(fix, double)<br>/usr/include/allegro/inline/fix.inl:33: error:                 fix operator+(double, fix)<br>source/vector.h:114: error:                 TVec operator+(const TVec&, const TVec&)<br>source/gl_local.h:280: error: `GLenum' undeclared (first use this function)<br>source/gl_local.h:280: error: (Each undeclared identifier is reported only once for each function it appears in.)<br>source/gl_local.h:280: error: `s' undeclared (first use this function)<br>source/gl_local.h:280: error: `t' undeclared (first use this function)<br>source/gl_local.h: In member function `void VOpenGLDrawer::SelectTexture(int)':<br>source/gl_local.h:284: error: `GLenum' undeclared (first use this function)<br>source/gl_local.h: In member function `void VOpenGLDrawer::SetColor(long unsigned int)':<br>source/gl_local.h:294: error: `glColor4ub' undeclared (first use this function)<br>source/gl_x.cpp:36:20: GL/glx.h: No such file or directory<br>source/gl_x.cpp: At global scope:<br>source/gl_x.cpp:58: error: syntax error before `*' token<br>source/gl_x.cpp:60: error: syntax error before `;' token<br>source/gl_x.cpp:61: error: syntax error before `=' token<br>source/gl_x.cpp: In member function `virtual bool VOpenGLDrawer::SetResolution(int, int, int)':<br>source/gl_x.cpp:121: error: `GLX_RGBA' undeclared (first use this function)<br>source/gl_x.cpp:122: error: `GLX_RED_SIZE' undeclared (first use this function)<br>source/gl_x.cpp:123: error: `GLX_GREEN_SIZE' undeclared (first use this function)<br>source/gl_x.cpp:124: error: `GLX_BLUE_SIZE' undeclared (first use this function)<br>source/gl_x.cpp:125: error: `GLX_DOUBLEBUFFER' undeclared (first use this function)<br>source/gl_x.cpp:126: error: `GLX_DEPTH_SIZE' undeclared (first use this function)<br>source/gl_x.cpp:128: error: `None' undeclared (first use this function)<br>source/gl_x.cpp:140: error: `XSetWindowAttributes' undeclared (first use this function)<br>source/gl_x.cpp:140: error: syntax error before `;' token<br>source/gl_x.cpp:142: error: `Window' undeclared (first use this function)<br>source/gl_x.cpp:142: error: syntax error before `;' token<br>source/gl_x.cpp:143: error: `XVisualInfo' undeclared (first use this function)<br>source/gl_x.cpp:143: error: `visinfo' undeclared (first use this function)<br>source/gl_x.cpp:145: error: `XLOCK' undeclared (first use this function)<br>source/gl_x.cpp:147: error: `RenderDisplay' undeclared (first use this function)<br>source/gl_x.cpp:147: error: 'struct _xwin_type' has no member named 'display'<br>source/gl_x.cpp:151: error: `XUNLOCK' undeclared (first use this function)<br>source/gl_x.cpp:156: error: `root' undeclared (first use this function)<br>source/gl_x.cpp:156: error: `RootWindow' undeclared (first use this function)<br>source/gl_x.cpp:174: error: `glXChooseVisual' undeclared (first use this function)<br>source/gl_x.cpp:222: error: `attr' undeclared (first use this function)<br>source/gl_x.cpp:224: error: `AllocNone' undeclared (first use this function)<br>source/gl_x.cpp:224: error: `XCreateColormap' undeclared (first use this function)<br>source/gl_x.cpp:226: error: `KeyPressMask' undeclared (first use this function)<br>source/gl_x.cpp:227: error: `KeyReleaseMask' undeclared (first use this function)<br>
Sat, 04 Sep 2004 05:56:45

mXed

source/gl_x.cpp:227: error: `EnterWindowMask' undeclared (first use this function)<br>source/gl_x.cpp:228: error: `LeaveWindowMask' undeclared (first use this function)<br>source/gl_x.cpp:228: error: `FocusChangeMask' undeclared (first use this function)<br>source/gl_x.cpp:229: error: `ExposureMask' undeclared (first use this function)<br>source/gl_x.cpp:229: error: `ButtonPressMask' undeclared (first use this function)<br>source/gl_x.cpp:229: error: `ButtonReleaseMask' undeclared (first use this function)<br>source/gl_x.cpp:231: error: `PointerMotionMask' undeclared (first use this function)<br>source/gl_x.cpp:244: error: `CWBackPixel' undeclared (first use this function)<br>source/gl_x.cpp:244: error: `CWBorderPixel' undeclared (first use this function)<br>source/gl_x.cpp:244: error: `CWColormap' undeclared (first use this function)<br>source/gl_x.cpp:244: error: `CWEventMask' undeclared (first use this function)<br>source/gl_x.cpp:247: error: 'struct _xwin_type' has no member named 'window'<br>source/gl_x.cpp:249: error: 'struct _xwin_type' has no member named 'display'<br>source/gl_x.cpp:249: error: 'struct _xwin_type' has no member named 'window'<br>source/gl_x.cpp:249: error: `XDestroyWindow' undeclared (first use this function)<br>source/gl_x.cpp:250: error: 'struct _xwin_type' has no member named 'window'<br>source/gl_x.cpp:252: error: `RenderWindow' undeclared (first use this function)<br>source/gl_x.cpp:253: error: `InputOutput' undeclared (first use this function)<br>source/gl_x.cpp:254: error: `XCreateWindow' undeclared (first use this function)<br>source/gl_x.cpp:255: error: 'struct _xwin_type' has no member named 'window'<br>source/gl_x.cpp:257: error: `XStoreName' undeclared (first use this function)<br>source/gl_x.cpp:258: error: `XMapWindow' undeclared (first use this function)<br>source/gl_x.cpp:272: error: `XFlush' undeclared (first use this function)<br>source/gl_x.cpp:274: error: `RenderContext' undeclared (first use this function)<br>source/gl_x.cpp:274: error: `True' undeclared (first use this function)<br>source/gl_x.cpp:274: error: `glXCreateContext' undeclared (first use this function)<br>source/gl_x.cpp:281: error: `glXMakeCurrent' undeclared (first use this function)<br>source/gl_x.cpp:284: error: `Pixmap' undeclared (first use this function)<br>source/gl_x.cpp:284: error: syntax error before `;' token<br>source/gl_x.cpp:285: error: `XGCValues' undeclared (first use this function)<br>source/gl_x.cpp:286: error: `GC' undeclared (first use this function)<br>source/gl_x.cpp:287: error: `XColor' undeclared (first use this function)<br>source/gl_x.cpp:288: error: `Cursor' undeclared (first use this function)<br>source/gl_x.cpp:290: error: `cursormask' undeclared (first use this function)<br>source/gl_x.cpp:290: error: `XCreatePixmap' undeclared (first use this function)<br>source/gl_x.cpp:293: error: `xgc' undeclared (first use this function)<br>source/gl_x.cpp:293: error: `GXclear' undeclared (first use this function)<br>source/gl_x.cpp:294: error: `gc' undeclared (first use this function)<br>source/gl_x.cpp:294: error: `GCFunction' undeclared (first use this function)<br>source/gl_x.cpp:294: error: `XCreateGC' undeclared (first use this function)<br>source/gl_x.cpp:295: error: `XFillRectangle' undeclared (first use this function)<br>source/gl_x.cpp:296: error: `XFreeGC' undeclared (first use this function)<br>source/gl_x.cpp:297: error: `dummycolour' undeclared (first use this function)<br>source/gl_x.cpp:300: error: `cursor' undeclared (first use this function)<br>source/gl_x.cpp:301: error: `XCreatePixmapCursor' undeclared (first use this function)<br>source/gl_x.cpp:302: error: `XFreePixmap' undeclared (first use this function)<br>source/gl_x.cpp:303: error: `XDefineCursor' undeclared (first use this function)<br>source/gl_x.cpp:309: error: `GrabModeAsync' undeclared (first use this function)<br>source/gl_x.cpp:312: error: `CurrentTime' undeclared (first use this function)<br>source/gl_x.cpp:312: error: `XGrabPointer' undeclared (first use this function)<br>source/gl_x.cpp:312: error: `GrabSuccess' undeclared (first use this function)<br>source/gl_x.cpp:345: error: `XWarpPointer' undeclared (first use this function)<br>source/gl_x.cpp:348: error: `False' undeclared (first use this function)<br>source/gl_x.cpp:349: error: `XGrabKeyboard' undeclared (first use this function)<br>source/gl_x.cpp: In member function `virtual void VOpenGLDrawer::Update()':<br>source/gl_x.cpp:398: error: `glFlush' undeclared (first use this function)<br>source/gl_x.cpp:399: error: `glXSwapBuffers' undeclared (first use this function)<br>source/gl_x.cpp: In member function `virtual void VOpenGLDrawer::Shutdown()':<br>source/gl_x.cpp:421: error: `glXDestroyContext' undeclared (first use this function)<br>source/gl_x.cpp:434: error: `XUndefineCursor' undeclared (first use this function)<br>source/gl_x.cpp:440: error: 'struct _xwin_type' has no member named 'display'<br>source/gl_x.cpp:440: error: `XUngrabPointer' undeclared (first use this function)<br>source/gl_x.cpp:445: error: 'struct _xwin_type' has no member named 'display'<br>source/gl_x.cpp:445: error: `XUngrabKeyboard' undeclared (first use this function)<br>make: *** [obj/gl_x.o] Fejl 1<br>[mxed@localhost temp]$
Mon, 06 Sep 2004 16:15:16

Janis Legzdinsh

It means that you don't have OpenGL installed so you must disable it. To do this edit Makefile and uncomment corresponding line or build Vavoom with command:<br>make NOGL=1<br>

Back to the Vavoom Forum Archives