PATCH: Doom 3 unter FreeBSD

Welchen Grafikkartentreiber hast du denn installiert?
Name : nvidia-driver
Version : 390.59


Aber der Compiler guckt nicht in /usr/local/include und findet es daher nicht.
Hab den Pfad händisch in die /renderer/qgl.h eingetragen. Das geht bestimmt bequemer per irgendwelcher pfaddefnition.
Läuft ein Stück weiter...aber mehr errors. :D

Code:
$ scons BUILD="release" TARGET_ARCH="x64" -j4
scons: Reading SConscript files ...
Loading build configuration from site.conf:
  JOBS='1'
  SILENT='0'
  CC='gcc'
  NOCURL='0'
  GL_HARDLINK='0'
  BUILD='release'
  CXX='g++'
  ID_MCHECK='2'
  BUILD_ROOT='build'
  LIBC_MALLOC='1'
  OPENMP='0'
  DEBUG_MEMORY='0'
  NO_GCH='0'
  BASEFLAGS=''
  TARGET_ARCH='x64'
Command line: BUILD='release'
Command line: TARGET_ARCH='x64'
Inserted SVN revision number into svnversion.h
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build/scons_x64/release/core/glimp build/scons_x64/release/core
g++ -o build/scons_x64/release/core/TypeInfo/TypeInfoGen.o -c -pipe -Wall -Wno-unknown-pragmas -fmessage-length=0 -std=c++11 -fno-strict-aliasing -fvisibility=hidden -m64 -g -O3 -ffast-math -fno-unsafe-math-optimizations -DXTHREADS -Ibuild/scons_x64/release/core/sys/scons -Isys/scons -Iinclude -Iinclude/zlib -Iinclude/libjpeg -Iinclude/libpng -Iinclude/devil -Iinclude/ffmpeg -I. -Iidlib -Iframework -Igame TypeInfo/TypeInfoGen.cpp
g++ -o build/scons_x64/release/core/cm/CollisionModel_contacts.o -c -pipe -Wall -Wno-unknown-pragmas -fmessage-length=0 -std=c++11 -fno-strict-aliasing -fvisibility=hidden -m64 -g -O3 -ffast-math -fno-unsafe-math-optimizations -DXTHREADS -Ibuild/scons_x64/release/core/sys/scons -Isys/scons -Iinclude -Iinclude/zlib -Iinclude/libjpeg -Iinclude/libpng -Iinclude/devil -Iinclude/ffmpeg -I. -Iidlib -Iframework -Igame cm/CollisionModel_contacts.cpp
g++ -o build/scons_x64/release/core/cm/CollisionModel_contents.o -c -pipe -Wall -Wno-unknown-pragmas -fmessage-length=0 -std=c++11 -fno-strict-aliasing -fvisibility=hidden -m64 -g -O3 -ffast-math -fno-unsafe-math-optimizations -DXTHREADS -Ibuild/scons_x64/release/core/sys/scons -Isys/scons -Iinclude -Iinclude/zlib -Iinclude/libjpeg -Iinclude/libpng -Iinclude/devil -Iinclude/ffmpeg -I. -Iidlib -Iframework -Igame cm/CollisionModel_contents.cpp
g++ -o build/scons_x64/release/core/cm/CollisionModel_debug.o -c -pipe -Wall -Wno-unknown-pragmas -fmessage-length=0 -std=c++11 -fno-strict-aliasing -fvisibility=hidden -m64 -g -O3 -ffast-math -fno-unsafe-math-optimizations -DXTHREADS -Ibuild/scons_x64/release/core/sys/scons -Isys/scons -Iinclude -Iinclude/zlib -Iinclude/libjpeg -Iinclude/libpng -Iinclude/devil -Iinclude/ffmpeg -I. -Iidlib -Iframework -Igame cm/CollisionModel_debug.cpp
TypeInfo/TypeInfoGen.cpp:792:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  common->Printf( "Type Info Generator v"TYPE_INFO_GEN_VERSION" (c) 2004 id Software\n" );
                  ^
TypeInfo/TypeInfoGen.cpp:907:3: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   "\tThis file has been generated with the Type Info Generator v"TYPE_INFO_GEN_VERSION" (c) 2004 id Software\n"
   ^
In file included from TypeInfo/../idlib/precompiled.h:97:0,
                 from TypeInfo/TypeInfoGen.cpp:15:
TypeInfo/../idlib/../sys/sys_public.h:483:28: error: ISO C++ forbids declaration of 'THREAD_RETURN_TYPE' with no type [-fpermissive]
 typedef THREAD_RETURN_TYPE (*xthread_t)( void * );
                            ^
In file included from idlib/precompiled.h:97:0,
                 from cm/CollisionModel_contents.cpp:24:
idlib/../sys/sys_public.h:483:28: error: ISO C++ forbids declaration of 'THREAD_RETURN_TYPE' with no type [-fpermissive]
 typedef THREAD_RETURN_TYPE (*xthread_t)( void * );
                            ^
TypeInfo/../idlib/../sys/sys_public.h:483:28: error: typedef 'THREAD_RETURN_TYPE' is initialized (use decltype instead)
idlib/../sys/sys_public.h:483:28: error: typedef 'THREAD_RETURN_TYPE' is initialized (use decltype instead)
TypeInfo/../idlib/../sys/sys_public.h:483:30: error: 'xthread_t' was not declared in this scope
 typedef THREAD_RETURN_TYPE (*xthread_t)( void * );
                              ^~~~~~~~~
idlib/../sys/sys_public.h:483:30: error: 'xthread_t' was not declared in this scope
 typedef THREAD_RETURN_TYPE (*xthread_t)( void * );
                              ^~~~~~~~~
TypeInfo/../idlib/../sys/sys_public.h:501:27: error: variable or field 'Sys_CreateThread' declared void
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                           ^~~~~~~~~
idlib/../sys/sys_public.h:501:27: error: variable or field 'Sys_CreateThread' declared void
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                           ^~~~~~~~~
TypeInfo/../idlib/../sys/sys_public.h:501:27: error: 'xthread_t' was not declared in this scope
idlib/../sys/sys_public.h:501:27: error: 'xthread_t' was not declared in this scope
TypeInfo/../idlib/../sys/sys_public.h:501:47: error: expected primary-expression before 'void'
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                               ^~~~
In file included from idlib/precompiled.h:97:0,
                 from cm/CollisionModel_debug.cpp:24:
idlib/../sys/sys_public.h:483:28: error: ISO C++ forbids declaration of 'THREAD_RETURN_TYPE' with no type [-fpermissive]
 typedef THREAD_RETURN_TYPE (*xthread_t)( void * );
                            ^
idlib/../sys/sys_public.h:501:47: error: expected primary-expression before 'void'
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                               ^~~~
idlib/../sys/sys_public.h:483:28: error: typedef 'THREAD_RETURN_TYPE' is initialized (use decltype instead)
idlib/../sys/sys_public.h:501:76: error: expected primary-expression before 'priority'
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                            ^~~~~~~~
In file included from idlib/precompiled.h:97:0,
                 from cm/CollisionModel_contacts.cpp:24:
idlib/../sys/sys_public.h:483:28: error: ISO C++ forbids declaration of 'THREAD_RETURN_TYPE' with no type [-fpermissive]
 typedef THREAD_RETURN_TYPE (*xthread_t)( void * );
                            ^
idlib/../sys/sys_public.h:483:30: error: 'xthread_t' was not declared in this scope
 typedef THREAD_RETURN_TYPE (*xthread_t)( void * );
                              ^~~~~~~~~
idlib/../sys/sys_public.h:501:98: error: expected primary-expression before '&' token
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                  ^
idlib/../sys/sys_public.h:501:99: error: 'info' was not declared in this scope
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                   ^~~~
TypeInfo/../idlib/../sys/sys_public.h:501:76: error: expected primary-expression before 'priority'
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                            ^~~~~~~~
idlib/../sys/sys_public.h:501:105: error: expected primary-expression before 'const'
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                         ^~~~~
TypeInfo/../idlib/../sys/sys_public.h:501:98: error: expected primary-expression before '&' token
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                  ^
idlib/../sys/sys_public.h:483:28: error: typedef 'THREAD_RETURN_TYPE' is initialized (use decltype instead)
TypeInfo/../idlib/../sys/sys_public.h:501:99: error: 'info' was not declared in this scope
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                   ^~~~
idlib/../sys/sys_public.h:483:30: error: 'xthread_t' was not declared in this scope
 typedef THREAD_RETURN_TYPE (*xthread_t)( void * );
                              ^~~~~~~~~
TypeInfo/../idlib/../sys/sys_public.h:501:105: error: expected primary-expression before 'const'
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                         ^~~~~
In file included from TypeInfo/../idlib/precompiled.h:97:0,
                 from TypeInfo/TypeInfoGen.cpp:15:
TypeInfo/../idlib/../sys/sys_public.h:501:135: error: expected primary-expression before '*' token
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                                                       ^
In file included from idlib/precompiled.h:97:0,
                 from cm/CollisionModel_contents.cpp:24:
idlib/../sys/sys_public.h:501:135: error: expected primary-expression before '*' token
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                                                       ^
idlib/../sys/sys_public.h:501:27: error: variable or field 'Sys_CreateThread' declared void
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                           ^~~~~~~~~
idlib/../sys/sys_public.h:501:136: error: 'threads' was not declared in this scope
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                                                        ^~~~~~~
idlib/../sys/sys_public.h:501:27: error: 'xthread_t' was not declared in this scope
idlib/../sys/sys_public.h:501:47: error: expected primary-expression before 'void'
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                               ^~~~
idlib/../sys/sys_public.h:501:158: error: expected primary-expression before 'int'
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );
                                                                                                                                                              ^~~
TypeInfo/../idlib/../sys/sys_public.h:501:136: error: 'threads' was not declared in this scope
 void    Sys_CreateThread( xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info, const char *name, xthreadInfo *threads[MAX_THREADS], int *thread_count );

uswusf. ich bin einfach kein Programmierer :ugly:
 
Zurück
Oben