Menu

#45 Linux version does not build properly

v1.0_(example)
closed
nobody
None
1
2020-05-24
2020-05-20
Anonymous
No

Hey there I was about to compile your linux client but cam across several issues.

../client/snd_mem.c:28:10: fatal error: vorbis\vorbisfile.h: File or folder not found
28 | #include "vorbis\vorbisfile.h"
-> \ instead of /

../linux/al.c:54:12: Error: Static declaration of »ClampCvarInteger« follows non-static declaration
54 | static int ClampCvarInteger(int min, int max, int value) {
| ^~~~~~~~~~~~~~~~
In file, included by ../linux/../client/client.h:38,
of ../linux/al.c:29:
../linux/../client/snd_loc.h:309:5: Notice: Previous declaration of »ClampCvarInteger« was here
309 | int ClampCvarInteger(int min, int max, int value);
| ^~~~~~~~~~~~~~~~

../linux/qsh.c:98:1: Fehler: Conflicting types for »Hunk_End«
98 | Hunk_End(void)
| ^~~~~~~~
In file, included by ../linux/../qcommon/qcommon.h:23,
of ../linux/qsh.c:41:
../linux/../qcommon/../game/q_shared.h:399:6: Notice: previous declaration of »Hunk_End« was here
399 | int Hunk_End (char name);
| ^~~~~~~~
../linux/qsh.c:128:1: Error: conflicting types for »Hunk_Free«
128 | Hunk_Free(void
base)
| ^~~~~~~~~
In file, included by ../linux/../qcommon/qcommon.h:23,
of ../linux/qsh.c:41:
../linux/../qcommon/../game/q_shared.h:398:6: Notice: previous declaration of»Hunk_Free« was here
398 | void Hunk_Free (void *buf, int size);
| ^~~~~~~~~

Discussion

  • Kirk Barnes

    Kirk Barnes - 2020-05-22

    fixed

     
  • Kirk Barnes

    Kirk Barnes - 2020-05-22
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB