Linux Build of Tremulous

I am compiling the latest tremulous fork from grangerhub github. I am getting errors related to the curl package:

ubuntu@ubuntu:~/Github/tremulous$ make
make[1]: Entering directory ‘/home/ubuntu/Github/tremulous’

Building in build/release-linux-x86_64:
PLATFORM: linux
ARCH: x86_64
VERSION: v1.3.0-alpha.0.13-10-g38cbdc8d
COMPILE_PLATFORM: linux
COMPILE_ARCH: x86_64
CC: cc
CXX: g++
TOOLS_CC gcc

CFLAGS:
-m64 -fPIC -fpic -DLUA_USE_LINUX -Iexternal/lua-5.3.3/include
-Iexternal/sol -Isrc/script/rapidjson -I-Isrc -Iexternal/rapidjson
-Iexternal/sol -Iexternal/nettle-3.3 -Iexternal/nettle-3.3
-Iexternal/semver/src/include -Isrc -fno-strict-aliasing -DUSE_ICON
-DNO_GZIP -Iexternal/zlib -DUSE_INTERNAL_JPEG -Iexternal/jpeg-8c
-DUSE_LOCAL_HEADERS -DPRODUCT_VERSION=“v1.3.0-alpha.0.13-10-g38cbdc8d”
-MMD -DNDEBUG -O3 -ffast-math -msse2

CXXFLAGS:
-fno-strict-aliasing -DUSE_ICON -DNO_GZIP -Iexternal/zlib
-DUSE_INTERNAL_JPEG -Iexternal/jpeg-8c -DUSE_LOCAL_HEADERS
-DPRODUCT_VERSION=“v1.3.0-alpha.0.13-10-g38cbdc8d” -m64 -fPIC -fpic
-DLUA_USE_LINUX -Iexternal/lua-5.3.3/include -Iexternal/sol -DNDEBUG -O3
-ffast-math -msse2

CLIENT_CFLAGS:
-D_REENTRANT -I/usr/include/SDL2 -Iexternal/libcurl-7.35.0 -DUSE_OPENAL
-DUSE_OPENAL_DLOPEN -DUSE_CURL -DUSE_CODEC_OPUS -DOPUS_BUILD
-DHAVE_LRINTF -DFLOATING_POINT -DFLOAT_APPROX -DUSE_ALLOCA -D
OPTIMIZE -Iexternal/opus-1.1.4/include -Iexternal/opus-1.1.4/celt
-Iexternal/opus-1.1.4/silk -Iexternal/opus-1.1.4/silk/float
-Iexternal/opusfile-0.8/include -DUSE_CODEC_VORBIS
-Iexternal/libvorbis-1.3.5/include -Iexternal/libvorbis-1.3.5/lib
-DUSE_RESTCLIENT -Iexternal/restclient -Iexternal/libogg-1.3.2/include
-DUSE_RENDERER_DLOPEN

CLIENT_CXXFLAGS:

SERVER_CFLAGS:

SERVER_CXXFLAGS:

LDFLAGS:

LIBS:
-ldl -lm

CLIENT_LIBS:
-lSDL2

Output:
tremded
tremulous
renderer_opengl1.so
renderer_opengl2.so
gpp/cgame.so
gpp/game.so
gpp/ui.so
gpp/vm/cgame.qvm
gpp/vm/game.qvm
gpp/vm/ui.qvm
gpp/vms-gpp-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3
gpp_11/vm/cgame.qvm
gpp_11/vm/ui.qvm
gpp_11/vms-1.1.0-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3
gpp/data-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3
granger
scripts
GPL
COPYING
CC

make[2]: Entering directory ‘/home/ubuntu/Github/tremulous’
make[2]: ‘build/release-linux-x86_64/tremded’ is up to date.
LD build/release-linux-x86_64/tremulous
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::Connection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)': connection.cpp:(.text+0x55a): undefined reference to curl_easy_init’
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::performCurlRequest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': connection.cpp:(.text+0x73e): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x752): undefined reference to curl_easy_setopt' connection.cpp:(.text+0x768): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x77a): undefined reference to curl_easy_setopt' connection.cpp:(.text+0x790): undefined reference to curl_easy_setopt’
build/release-linux-x86_64/client/restclient/connection.o:connection.cpp:(.text+0x7a2): more undefined references to curl_easy_setopt' follow build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::performCurlRequest(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’:
connection.cpp:(.text+0x813): undefined reference to curl_slist_append' connection.cpp:(.text+0x83a): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x961): undefined reference to curl_easy_setopt' connection.cpp:(.text+0x975): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x9aa): undefined reference to curl_easy_setopt' connection.cpp:(.text+0x9f5): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x9fd): undefined reference to curl_easy_perform' connection.cpp:(.text+0xa47): undefined reference to curl_easy_getinfo’
connection.cpp:(.text+0xa5d): undefined reference to curl_easy_getinfo' connection.cpp:(.text+0xa73): undefined reference to curl_easy_getinfo’
connection.cpp:(.text+0xa89): undefined reference to curl_easy_getinfo' connection.cpp:(.text+0xa9f): undefined reference to curl_easy_getinfo’
build/release-linux-x86_64/client/restclient/connection.o:connection.cpp:(.text+0xab5): more undefined references to curl_easy_getinfo' follow build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::performCurlRequest(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’:
connection.cpp:(.text+0xae9): undefined reference to curl_slist_free_all' connection.cpp:(.text+0xaf1): undefined reference to curl_easy_reset’
connection.cpp:(.text+0xb98): undefined reference to curl_easy_setopt' connection.cpp:(.text+0xbac): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0xbca): undefined reference to curl_easy_setopt' connection.cpp:(.text+0xbf9): undefined reference to curl_easy_getinfo’
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::post(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': connection.cpp:(.text+0xe24): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0xe37): undefined reference to curl_easy_setopt' connection.cpp:(.text+0xe4b): undefined reference to curl_easy_setopt’
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::put(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': connection.cpp:(.text+0xec1): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0xed5): undefined reference to curl_easy_setopt' build/release-linux-x86_64/client/restclient/connection.o:connection.cpp:(.text+0xeeb): more undefined references to curl_easy_setopt’ follow
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::~Connection()': connection.cpp:(.text+0xfd6): undefined reference to curl_easy_cleanup’
build/release-linux-x86_64/client/cl_curl.o: In function CL_cURL_Cleanup()': cl_curl.cpp:(.text+0xd1): undefined reference to curl_multi_remove_handle’
cl_curl.cpp:(.text+0xe1): undefined reference to curl_easy_cleanup' cl_curl.cpp:(.text+0xed): undefined reference to curl_multi_cleanup’
cl_curl.cpp:(.text+0x113): undefined reference to curl_multi_strerror' cl_curl.cpp:(.text+0x139): undefined reference to curl_easy_cleanup’
cl_curl.cpp:(.text+0x153): undefined reference to curl_multi_strerror' build/release-linux-x86_64/client/cl_curl.o: In function qcurl_easy_setopt_warn(void*, CURLoption, …)’:
cl_curl.cpp:(.text+0x1d3): undefined reference to curl_easy_setopt' cl_curl.cpp:(.text+0x1fb): undefined reference to curl_easy_strerror’
build/release-linux-x86_64/client/cl_curl.o: In function CL_cURL_BeginDownload(char const*, char const*)': cl_curl.cpp:(.text+0x305): undefined reference to curl_easy_init’
cl_curl.cpp:(.text+0x3cc): undefined reference to curl_version' cl_curl.cpp:(.text+0x4d7): undefined reference to curl_multi_init’
cl_curl.cpp:(.text+0x4f6): undefined reference to curl_multi_add_handle' cl_curl.cpp:(.text+0x58d): undefined reference to curl_easy_cleanup’
cl_curl.cpp:(.text+0x5a3): undefined reference to curl_multi_strerror' cl_curl.cpp:(.text+0x5c5): undefined reference to curl_easy_cleanup’
build/release-linux-x86_64/client/cl_curl.o: In function CL_cURL_PerformDownload()': cl_curl.cpp:(.text+0x62f): undefined reference to curl_multi_perform’
cl_curl.cpp:(.text+0x653): undefined reference to curl_multi_perform' cl_curl.cpp:(.text+0x68b): undefined reference to curl_multi_info_read’
cl_curl.cpp:(.text+0x6e7): undefined reference to curl_easy_getinfo' cl_curl.cpp:(.text+0x6f4): undefined reference to curl_easy_strerror’
build/release-linux-x86_64/client/restclient/restclient.o: In function RestClient::init()': restclient.cpp:(.text+0xa): undefined reference to curl_global_init’
build/release-linux-x86_64/client/restclient/restclient.o: In function RestClient::disable()': restclient.cpp:(.text+0x21): undefined reference to curl_global_cleanup’
collect2: error: ld returned 1 exit status
Makefile:2275: recipe for target ‘build/release-linux-x86_64/tremulous’ failed
make[2]: *** [build/release-linux-x86_64/tremulous] Error 1
make[2]: Leaving directory ‘/home/ubuntu/Github/tremulous’
Makefile:1184: recipe for target ‘targets’ failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory ‘/home/ubuntu/Github/tremulous’
Makefile:1128: recipe for target ‘release’ failed
make: *** [release] Error 2

Before doing this, I made sure to install curl and libcurl4:

ubuntu@ubuntu:~/Github/tremulous$ sudo apt-get install curl
ubuntu@ubuntu:~/Github/tremulous$ sudo apt-get install libcurl4

I don’t know what the problem could possible be. It would be greatly appreciated if anyone can give suggestions, thanks.

1 Like

Hello @GoldenKrisp , welcome to GrangerHub’s forums!

Try changing line 29 in src/client/cl_curl.h ( https://github.com/GrangerHub/tremulous/blob/master/src/client/cl_curl.h#L29 ) to:

#include "../../external/libcurl-7.35.0/curl/curl.h"

Changing line 29 resulted in some more compiled files, but the same error also results afterwards:

ubuntu@ubuntu:~/Github/tremulous$ make
make[1]: Entering directory ‘/home/ubuntu/Github/tremulous’

Building in build/release-linux-x86_64:
PLATFORM: linux
ARCH: x86_64
VERSION: v1.3.0-alpha.0.13-10-g38cbdc8d
COMPILE_PLATFORM: linux
COMPILE_ARCH: x86_64
CC: cc
CXX: g++
TOOLS_CC gcc

CFLAGS:
-m64 -fPIC -fpic -DLUA_USE_LINUX -Iexternal/lua-5.3.3/include
-Iexternal/sol -Isrc/script/rapidjson -I-Isrc -Iexternal/rapidjson
-Iexternal/sol -Iexternal/nettle-3.3 -Iexternal/nettle-3.3
-Iexternal/semver/src/include -Isrc -fno-strict-aliasing -DUSE_ICON
-DNO_GZIP -Iexternal/zlib -DUSE_INTERNAL_JPEG -Iexternal/jpeg-8c
-DUSE_LOCAL_HEADERS -DPRODUCT_VERSION=“v1.3.0-alpha.0.13-10-g38cbdc8d”
-MMD -DNDEBUG -O3 -ffast-math -msse2

CXXFLAGS:
-fno-strict-aliasing -DUSE_ICON -DNO_GZIP -Iexternal/zlib
-DUSE_INTERNAL_JPEG -Iexternal/jpeg-8c -DUSE_LOCAL_HEADERS
-DPRODUCT_VERSION=“v1.3.0-alpha.0.13-10-g38cbdc8d” -m64 -fPIC -fpic
-DLUA_USE_LINUX -Iexternal/lua-5.3.3/include -Iexternal/sol -DNDEBUG -O3
-ffast-math -msse2

CLIENT_CFLAGS:
-D_REENTRANT -I/usr/include/SDL2 -Iexternal/libcurl-7.35.0 -DUSE_OPENAL
-DUSE_OPENAL_DLOPEN -DUSE_CURL -DUSE_CODEC_OPUS -DOPUS_BUILD
-DHAVE_LRINTF -DFLOATING_POINT -DFLOAT_APPROX -DUSE_ALLOCA -D
OPTIMIZE -Iexternal/opus-1.1.4/include -Iexternal/opus-1.1.4/celt
-Iexternal/opus-1.1.4/silk -Iexternal/opus-1.1.4/silk/float
-Iexternal/opusfile-0.8/include -DUSE_CODEC_VORBIS
-Iexternal/libvorbis-1.3.5/include -Iexternal/libvorbis-1.3.5/lib
-DUSE_RESTCLIENT -Iexternal/restclient -Iexternal/libogg-1.3.2/include
-DUSE_RENDERER_DLOPEN

CLIENT_CXXFLAGS:

SERVER_CFLAGS:

SERVER_CXXFLAGS:

LDFLAGS:

LIBS:
-ldl -lm

CLIENT_LIBS:
-lSDL2

Output:
tremded
tremulous
renderer_opengl1.so
renderer_opengl2.so
gpp/cgame.so
gpp/game.so
gpp/ui.so
gpp/vm/cgame.qvm
gpp/vm/game.qvm
gpp/vm/ui.qvm
gpp/vms-gpp-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3
gpp_11/vm/cgame.qvm
gpp_11/vm/ui.qvm
gpp_11/vms-1.1.0-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3
gpp/data-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3
granger
scripts
GPL
COPYING
CC

make[2]: Entering directory ‘/home/ubuntu/Github/tremulous’
make[2]: ‘build/release-linux-x86_64/tremded’ is up to date.
CXX src/client/cl_cgame.cpp
CXX src/client/cl_cin.cpp
CXX src/client/cl_console.cpp
CXX src/client/cl_input.cpp
CXX src/client/cl_keys.cpp
CXX src/client/cl_main.cpp
CXX src/client/cl_net_chan.cpp
CXX src/client/cl_parse.cpp
CXX src/client/cl_scrn.cpp
CXX src/client/cl_ui.cpp
CXX src/client/cl_avi.cpp
CXX src/qcommon/cmd.cpp
CXX src/client/snd_dma.cpp
CXX src/client/snd_mix.cpp
CXX src/client/snd_main.cpp
CXX src/client/snd_codec.cpp
CXX src/client/snd_codec_wav.cpp
CXX src/client/snd_codec_ogg.cpp
CXX src/client/snd_codec_opus.cpp
CXX src/client/snd_openal.cpp
CXX src/client/cl_curl.cpp
CXX src/sdl/sdl_input.cpp
CXX src/sys/sys_main.cpp
CXX src/sys/con_tty.cpp
CXX external/restclient/connection.cpp
CXX external/restclient/restclient.cpp
LD build/release-linux-x86_64/tremulous
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::Connection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)': connection.cpp:(.text+0x55a): undefined reference to curl_easy_init’
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::performCurlRequest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': connection.cpp:(.text+0x73e): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x752): undefined reference to curl_easy_setopt' connection.cpp:(.text+0x768): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x77a): undefined reference to curl_easy_setopt' connection.cpp:(.text+0x790): undefined reference to curl_easy_setopt’
build/release-linux-x86_64/client/restclient/connection.o:connection.cpp:(.text+0x7a2): more undefined references to curl_easy_setopt' follow build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::performCurlRequest(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’:
connection.cpp:(.text+0x813): undefined reference to curl_slist_append' connection.cpp:(.text+0x83a): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x961): undefined reference to curl_easy_setopt' connection.cpp:(.text+0x975): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x9aa): undefined reference to curl_easy_setopt' connection.cpp:(.text+0x9f5): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0x9fd): undefined reference to curl_easy_perform' connection.cpp:(.text+0xa47): undefined reference to curl_easy_getinfo’
connection.cpp:(.text+0xa5d): undefined reference to curl_easy_getinfo' connection.cpp:(.text+0xa73): undefined reference to curl_easy_getinfo’
connection.cpp:(.text+0xa89): undefined reference to curl_easy_getinfo' connection.cpp:(.text+0xa9f): undefined reference to curl_easy_getinfo’
build/release-linux-x86_64/client/restclient/connection.o:connection.cpp:(.text+0xab5): more undefined references to curl_easy_getinfo' follow build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::performCurlRequest(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’:
connection.cpp:(.text+0xae9): undefined reference to curl_slist_free_all' connection.cpp:(.text+0xaf1): undefined reference to curl_easy_reset’
connection.cpp:(.text+0xb98): undefined reference to curl_easy_setopt' connection.cpp:(.text+0xbac): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0xbca): undefined reference to curl_easy_setopt' connection.cpp:(.text+0xbf9): undefined reference to curl_easy_getinfo’
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::post(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': connection.cpp:(.text+0xe24): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0xe37): undefined reference to curl_easy_setopt' connection.cpp:(.text+0xe4b): undefined reference to curl_easy_setopt’
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::put(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': connection.cpp:(.text+0xec1): undefined reference to curl_easy_setopt’
connection.cpp:(.text+0xed5): undefined reference to curl_easy_setopt' build/release-linux-x86_64/client/restclient/connection.o:connection.cpp:(.text+0xeeb): more undefined references to curl_easy_setopt’ follow
build/release-linux-x86_64/client/restclient/connection.o: In function RestClient::Connection::~Connection()': connection.cpp:(.text+0xfd6): undefined reference to curl_easy_cleanup’
build/release-linux-x86_64/client/cl_curl.o: In function CL_cURL_Cleanup()': cl_curl.cpp:(.text+0xd1): undefined reference to curl_multi_remove_handle’
cl_curl.cpp:(.text+0xe1): undefined reference to curl_easy_cleanup' cl_curl.cpp:(.text+0xed): undefined reference to curl_multi_cleanup’
cl_curl.cpp:(.text+0x113): undefined reference to curl_multi_strerror' cl_curl.cpp:(.text+0x139): undefined reference to curl_easy_cleanup’
cl_curl.cpp:(.text+0x153): undefined reference to curl_multi_strerror' build/release-linux-x86_64/client/cl_curl.o: In function qcurl_easy_setopt_warn(void*, CURLoption, …)’:
cl_curl.cpp:(.text+0x1d3): undefined reference to curl_easy_setopt' cl_curl.cpp:(.text+0x1fb): undefined reference to curl_easy_strerror’
build/release-linux-x86_64/client/cl_curl.o: In function CL_cURL_BeginDownload(char const*, char const*)': cl_curl.cpp:(.text+0x305): undefined reference to curl_easy_init’
cl_curl.cpp:(.text+0x3cc): undefined reference to curl_version' cl_curl.cpp:(.text+0x4d7): undefined reference to curl_multi_init’
cl_curl.cpp:(.text+0x4f6): undefined reference to curl_multi_add_handle' cl_curl.cpp:(.text+0x58d): undefined reference to curl_easy_cleanup’
cl_curl.cpp:(.text+0x5a3): undefined reference to curl_multi_strerror' cl_curl.cpp:(.text+0x5c5): undefined reference to curl_easy_cleanup’
build/release-linux-x86_64/client/cl_curl.o: In function CL_cURL_PerformDownload()': cl_curl.cpp:(.text+0x62f): undefined reference to curl_multi_perform’
cl_curl.cpp:(.text+0x653): undefined reference to curl_multi_perform' cl_curl.cpp:(.text+0x68b): undefined reference to curl_multi_info_read’
cl_curl.cpp:(.text+0x6e7): undefined reference to curl_easy_getinfo' cl_curl.cpp:(.text+0x6f4): undefined reference to curl_easy_strerror’
build/release-linux-x86_64/client/restclient/restclient.o: In function RestClient::init()': restclient.cpp:(.text+0xa): undefined reference to curl_global_init’
build/release-linux-x86_64/client/restclient/restclient.o: In function RestClient::disable()': restclient.cpp:(.text+0x21): undefined reference to curl_global_cleanup’
collect2: error: ld returned 1 exit status
Makefile:2275: recipe for target ‘build/release-linux-x86_64/tremulous’ failed
make[2]: *** [build/release-linux-x86_64/tremulous] Error 1
make[2]: Leaving directory ‘/home/ubuntu/Github/tremulous’
Makefile:1184: recipe for target ‘targets’ failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory ‘/home/ubuntu/Github/tremulous’
Makefile:1128: recipe for target ‘release’ failed
make: *** [release] Error 2

I’m a newbie, and I’m guessing this is an issue when testing curl. Please reply if you have anymore suggestions.

Solved this issue with ‘sudo apt-get install libcurl4-openssl-dev’ to find curl.
It builds! yay

Now I have a new issue :pensive: . When trying to run the build ‘./tremulous’, I get a popup dialog error:

Can’t load default sound effect sound/feedback/hit.wav. See “/home/ubuntu/.tremulous/gpp/crashlog.txt” for details.

Here is console:

ubuntu@ubuntu:~/Github/tremulous/build/release-linux-x86_64$ ./tremulous
Have SSE support
----- FS_Startup -----
We are looking in the current search path:
./gpp
./gpp/vms-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3 (4 files)
./gpp/data-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3 (837 files)
/home/ubuntu/.tremulous/gpp
/home/ubuntu/.tremulous/base
/home/ubuntu/.tremulous/base/vms-1.1.0.pk3 (4 files)
/home/ubuntu/.tremulous/base/map-z_paint10_b1.pk3 (97 files)
/home/ubuntu/.tremulous/base/map-zittrig-arena-gt6.pk3 (10 files)
/home/ubuntu/.tremulous/base/map-zittrig-arena-gt5c.pk3 (10 files)
/home/ubuntu/.tremulous/base/map-yocto-b1-gpp_ye.pk3 (96 files)
/home/ubuntu/.tremulous/base/map-vorago_b1.pk3 (59 files)
/home/ubuntu/.tremulous/base/map-volcano-alpha4-1.1.0.pk3 (11 files)
/home/ubuntu/.tremulous/base/map-void2_v1.0.pk3 (133 files)
/home/ubuntu/.tremulous/base/map-utcsud_v4.3-final.pk3 (60 files)
/home/ubuntu/.tremulous/base/map-UTCSfinal.pk3 (82 files)
/home/ubuntu/.tremulous/base/map-treecannon_b4_gmotwmod06-1.1.0.pk3 (19 files)
/home/ubuntu/.tremulous/base/map-transparency_alpha2.pk3 (54 files)
/home/ubuntu/.tremulous/base/map-towersbeta.pk3 (2 files)
/home/ubuntu/.tremulous/base/map-thechurch.pk3 (49 files)
/home/ubuntu/.tremulous/base/map-specula_b4.pk3 (125 files)
/home/ubuntu/.tremulous/base/map-spacetracks-r1.pk3 (207 files)
/home/ubuntu/.tremulous/base/map-sol_1.0d.pk3 (141 files)
/home/ubuntu/.tremulous/base/map-slimepunk-b2.pk3 (186 files)
/home/ubuntu/.tremulous/base/map-sector50-b22.pk3 (12 files)
/home/ubuntu/.tremulous/base/map-rusty-b2.pk3 (193 files)
/home/ubuntu/.tremulous/base/map-rotcannon-garbage-1.pk3 (31 files)
/home/ubuntu/.tremulous/base/map-rotcannon-b11.pk3 (31 files)
/home/ubuntu/.tremulous/base/map-pulse-beta3-1.1.0.pk3 (198 files)
/home/ubuntu/.tremulous/base/map-plat23_b13_tremwei-v1.pk3 (66 files)
/home/ubuntu/.tremulous/base/map-peorongate-b3.pk3 (6 files)
/home/ubuntu/.tremulous/base/map-parpax-b04.pk3 (216 files)
/home/ubuntu/.tremulous/base/map-paint7.pk3 (129 files)
/home/ubuntu/.tremulous/base/map-orion-beta2.pk3 (101 files)
/home/ubuntu/.tremulous/base/map-niveus_gmotwmod02-1.1.0.pk3 (21 files)
/home/ubuntu/.tremulous/base/map-nintendo_land_b3.pk3 (228 files)
/home/ubuntu/.tremulous/base/map-nano.pk3 (108 files)
/home/ubuntu/.tremulous/base/map-nano-1.1.pk3 (108 files)
/home/ubuntu/.tremulous/base/map-mission_one_b7.pk3 (27 files)
/home/ubuntu/.tremulous/base/map-metro-b1-2.pk3 (495 files)
/home/ubuntu/.tremulous/base/map-mercy_b2.pk3 (65 files)
/home/ubuntu/.tremulous/base/map-kronos_a1.pk3 (33 files)
/home/ubuntu/.tremulous/base/map-hamunaptra-1.0.pk3 (762 files)
/home/ubuntu/.tremulous/base/map-groundsource-final.pk3 (113 files)
/home/ubuntu/.tremulous/base/map-grangercannon_lr_final.pk3 (13 files)
/home/ubuntu/.tremulous/base/map-fort5_ds_v1.1.pk3 (55 files)
/home/ubuntu/.tremulous/base/map-fort5.pk3 (28 files)
/home/ubuntu/.tremulous/base/map-dryout_b5a.pk3 (225 files)
/home/ubuntu/.tremulous/base/map-deathrun_beta53_edgefix6.pk3 (5 files)
/home/ubuntu/.tremulous/base/map-controlroombeta.pk3 (7 files)
/home/ubuntu/.tremulous/base/map-cleanserb4.pk3 (112 files)
/home/ubuntu/.tremulous/base/map-citadel.pk3 (143 files)
/home/ubuntu/.tremulous/base/map-boxfield-b6_3t.pk3 (10 files)
/home/ubuntu/.tremulous/base/map-bluedragon-b4-1.1.0.pk3 (73 files)
/home/ubuntu/.tremulous/base/map-blackout-t1.pk3 (85 files)
/home/ubuntu/.tremulous/base/map-base-a51_b2.pk3 (66 files)
/home/ubuntu/.tremulous/base/map-atcs_ds_v1.1.pk3 (76 files)
/home/ubuntu/.tremulous/base/map-atcszalpha-b2.pk3 (50 files)
/home/ubuntu/.tremulous/base/map-atcsbygucior_alpha.pk3 (201 files)
/home/ubuntu/.tremulous/base/map-atcs-onice-b1.pk3 (4 files)
/home/ubuntu/.tremulous/base/map-assault_v7.1-beta4.pk3 (215 files)
/home/ubuntu/.tremulous/base/map-2dv1.pk3 (2 files)
/home/ubuntu/.tremulous/base/KAIJI_StarSideHotel_b3.pk3 (134 files)
/home/ubuntu/.tremulous/base/hq-beta28.pk3 (92 files)
/home/ubuntu/.tremulous/base/far_beyond.pk3 (63 files)
./base


6788 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn’t exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Logging server attacks to sv_protect.log
----- Client Initialization -----
----- Initializing Renderer ----
Trying to load “renderer_opengl2.so” from “.”…
Trying to load “renderer_opengl2.so” from “.”…

QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
SDL using driver “x11”
Initializing OpenGL display
Display aspect: 1.778
…setting mode 1920x1080
Trying to get an OpenGL 3.2 core context
SDL_GL_CreateContext succeeded.
Using 24 color bits, 24 depth, 0 stencil display.
Available modes: ‘0x0 1280x720 1920x1080 720x400 1440x900 1680x1050 720x480 640x480 800x600 832x624 1024x768 1280x960 720x576 1280x1024’
GL_RENDERER: Mesa DRI Intel® HD Graphics 530 (Skylake GT2)
Initializing OpenGL extensions
…GL_EXT_texture_compression_s3tc not found
…GL_S3_s3tc not found
…GL_EXT_texture_env_add not found
…GL_ARB_multitexture not found
…GL_EXT_compiled_vertex_array not found
…GL_EXT_texture_filter_anisotropic not found
…using OpenGL 4.5 (Core Profile) Mesa 19.2.8
…using GL_ARB_framebuffer_object
…using GL_ARB_vertex_array_object
…using GL_ARB_texture_float
…using GL_ARB_depth_clamp
…ignoring GL_ARB_seamless_cube_map
…using GLSL version 4.50
…GL_NVX_gpu_memory_info not found
…GL_ATI_meminfo not found
…ignoring GL_ARB_texture_compression_rgtc
…ignoring GL_ARB_texture_compression_bptc
…GL_EXT_direct_state_access not found
------- FBO_Init -------
------- GLSL_InitGPUShaders -------
loaded 80 GLSL shaders (32 gen 28 light 20 etc) in 0.03 seconds
------- R_InitVaos -------
Initializing Shaders

GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel® HD Graphics 530 (Skylake GT2)
GL_VERSION: 4.5 (Core Profile) Mesa 19.2.8
GL_EXTENSIONS: Not available (core context, fixme)
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_TEXTURE_UNITS_ARB: 0

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 8, 1920 x 1080 fullscreen hz:N/A
GAMMA: hardware w/ 1 overbright bits
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 32
compiled vertex arrays: disabled
texenv add: disabled
compressed textures: disabled
----- finished R_Init -----
^3WARNING: R_FindImageFile could not find ‘gfx/2d/bigchars.tga’ in shader ‘gfx/2d/bigchars’
^3Shader gfx/2d/bigchars has a stage with no image
------ Initializing Sound ------
Trying to load “libopenal.so.1”…
^3WARNING: Failed to load sound sound/feedback/hit.wav!
----- Client Shutdown (Client fatal crashed: Can’t load default sound effect sound/feedback/hit.wav) -----
RE_Shutdown( 1 )
------- FBO_Shutdown -------
------- R_ShutdownVaos -------
------- GLSL_ShutdownGPUShaders -------
Hunk_Clear: reset the hunk ok

Server attack log closed
Can’t load default sound effect sound/feedback/hit.wav
tty]Gtk-Message: 18:31:17.155: GtkDialog mapped without a transient parent. This is discouraged.
AL lib: (EE) alc_cleanup: 1 device not closed

It looks like its the warning ‘WARNING: Failed to load sound sound/feedback/hit.wav’. Any suggestions if anyone has. Thanks

Okay, so I have also been experimenting with building Quake3 from the ioquake repo with Quake3 data.
I used the PAK0.PK3 file and added it to the ./tremulous/base folder. This fixed the fail to load sound warning, but the game is hung up trying to load the splash screen (game just stays black):


ERROR: Q_strncpyz: NULL src


forcefully unloading ui vm
RE_Shutdown( 0 )
------- FBO_Shutdown -------
------- R_ShutdownVaos -------
------- GLSL_ShutdownGPUShaders -------
Hunk_Clear: reset the hunk ok
----- R_Init -----
------- FBO_Init -------
------- GLSL_InitGPUShaders -------
loaded 80 GLSL shaders (32 gen 28 light 20 etc) in 0.02 seconds
------- R_InitVaos -------
Initializing Shaders

GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel® HD Graphics 530 (Skylake GT2)
GL_VERSION: 4.5 (Core Profile) Mesa 19.2.8
GL_EXTENSIONS: Not available (core context, fixme)
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_TEXTURE_UNITS_ARB: 0

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 8, 1920 x 1080 fullscreen hz:N/A
GAMMA: hardware w/ 1 overbright bits
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 32
compiled vertex arrays: disabled
texenv add: disabled
compressed textures: disabled
----- finished R_Init -----
Loading vm file vm/ui.qvm…
File “vm/ui.qvm” found at “./gpp”
…which has vmMagic VM_MAGIC_VER2
Loading 887 jump table targets
VM file ui compiled to 990794 bytes of code
ui loaded in 5150880 bytes on the hunk
Loaded 3 of 3 emoticons (MAX_EMOTICONS is 64)
^3RE_RegisterFont: FreeType code not available
^3RE_RegisterFont: FreeType code not available
^3RE_RegisterFont: FreeType code not available
^3WARNING: R_FindImageFile could not find ‘ui/assets/title.tga’ in shader ‘models/splash/trem_black’
^3Shader models/splash/trem_black has a stage with no image
UI menu file ‘ui/menus.txt’ loaded in 208 msec
^3RE_RegisterFont: FreeType code not available
^3RE_RegisterFont: FreeType code not available
^3RE_RegisterFont: FreeType code not available
UI menu file ‘ui/ingame.txt’ loaded in 9 msec
UI menu file ‘ui/tremulous.txt’ loaded in 9 msec
UI help file ‘ui/help.txt’ loaded in 1 msec (16 infopanes)
File “ui/” found in “./gpp/data-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3”

I believe this means that I am missing the .pk3 files in my base folder! Can someone please enlighten me to what .pk3 files I need for tremulous?

I also tried with just the data files that come with the release: ‘data-1.1.0.pk3’ ‘data-gpp1.pk3’ and ‘data-v1.3.0-alpha.0.14.pk3’ and ‘vms-v1.3.0-alpha.0.14.pk3’, resulting in the same behavior and console:


ERROR: Q_strncpyz: NULL src


forcefully unloading ui vm
RE_Shutdown( 0 )
------- FBO_Shutdown -------
------- R_ShutdownVaos -------
------- GLSL_ShutdownGPUShaders -------
Hunk_Clear: reset the hunk ok
----- R_Init -----
------- FBO_Init -------
------- GLSL_InitGPUShaders -------
loaded 80 GLSL shaders (32 gen 28 light 20 etc) in 0.02 seconds
------- R_InitVaos -------
Initializing Shaders

GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel® HD Graphics 530 (Skylake GT2)
GL_VERSION: 4.5 (Core Profile) Mesa 19.2.8
GL_EXTENSIONS: Not available (core context, fixme)
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_TEXTURE_UNITS_ARB: 0

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 8, 1920 x 1080 fullscreen hz:N/A
GAMMA: hardware w/ 1 overbright bits
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 32
compiled vertex arrays: disabled
texenv add: disabled
compressed textures: disabled
----- finished R_Init -----
Loading vm file vm/ui.qvm…
File “vm/ui.qvm” found at “./gpp”
…which has vmMagic VM_MAGIC_VER2
Loading 887 jump table targets
VM file ui compiled to 990794 bytes of code
ui loaded in 5150880 bytes on the hunk
Loaded 47 of 47 emoticons (MAX_EMOTICONS is 64)
UI menu file ‘ui/menus.txt’ loaded in 203 msec
UI menu file ‘ui/ingame.txt’ loaded in 9 msec
UI menu file ‘ui/tremulous.txt’ loaded in 9 msec
UI help file ‘ui/help.txt’ loaded in 0 msec (16 infopanes)
File “ui/” found in “./gpp/data-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3”

Here are the pk3 files I’m using:

We are looking in the current search path:
./gpp
./gpp/vms-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3 (4 files)
./gpp/data-v1.3.0-alpha.0.13-10-g38cbdc8d.pk3 (837 files)
/home/ubuntu/.tremulous/gpp
/home/ubuntu/.tremulous/base
/home/ubuntu/.tremulous/base/vms-v1.3.0-alpha.0.14.pk3 (4 files)
/home/ubuntu/.tremulous/base/vms-1.1.0.pk3 (4 files)
/home/ubuntu/.tremulous/base/map-z_paint10_b1.pk3 (97 files)
/home/ubuntu/.tremulous/base/map-zittrig-arena-gt6.pk3 (10 files)
/home/ubuntu/.tremulous/base/map-zittrig-arena-gt5c.pk3 (10 files)
/home/ubuntu/.tremulous/base/map-yocto-b1-gpp_ye.pk3 (96 files)
/home/ubuntu/.tremulous/base/map-vorago_b1.pk3 (59 files)
/home/ubuntu/.tremulous/base/map-volcano-alpha4-1.1.0.pk3 (11 files)
/home/ubuntu/.tremulous/base/map-void2_v1.0.pk3 (133 files)
/home/ubuntu/.tremulous/base/map-utcsud_v4.3-final.pk3 (60 files)
/home/ubuntu/.tremulous/base/map-UTCSfinal.pk3 (82 files)
/home/ubuntu/.tremulous/base/map-treecannon_b4_gmotwmod06-1.1.0.pk3 (19 files)
/home/ubuntu/.tremulous/base/map-transparency_alpha2.pk3 (54 files)
/home/ubuntu/.tremulous/base/map-towersbeta.pk3 (2 files)
/home/ubuntu/.tremulous/base/map-thechurch.pk3 (49 files)
/home/ubuntu/.tremulous/base/map-specula_b4.pk3 (125 files)
/home/ubuntu/.tremulous/base/map-spacetracks-r1.pk3 (207 files)
/home/ubuntu/.tremulous/base/map-sol_1.0d.pk3 (141 files)
/home/ubuntu/.tremulous/base/map-slimepunk-b2.pk3 (186 files)
/home/ubuntu/.tremulous/base/map-sector50-b22.pk3 (12 files)
/home/ubuntu/.tremulous/base/map-rusty-b2.pk3 (193 files)
/home/ubuntu/.tremulous/base/map-rotcannon-garbage-1.pk3 (31 files)
/home/ubuntu/.tremulous/base/map-rotcannon-b11.pk3 (31 files)
/home/ubuntu/.tremulous/base/map-pulse-beta3-1.1.0.pk3 (198 files)
/home/ubuntu/.tremulous/base/map-plat23_b13_tremwei-v1.pk3 (66 files)
/home/ubuntu/.tremulous/base/map-peorongate-b3.pk3 (6 files)
/home/ubuntu/.tremulous/base/map-parpax-b04.pk3 (216 files)
/home/ubuntu/.tremulous/base/map-paint7.pk3 (129 files)
/home/ubuntu/.tremulous/base/map-orion-beta2.pk3 (101 files)
/home/ubuntu/.tremulous/base/map-niveus_gmotwmod02-1.1.0.pk3 (21 files)
/home/ubuntu/.tremulous/base/map-nintendo_land_b3.pk3 (228 files)
/home/ubuntu/.tremulous/base/map-nano.pk3 (108 files)
/home/ubuntu/.tremulous/base/map-nano-1.1.pk3 (108 files)
/home/ubuntu/.tremulous/base/map-mission_one_b7.pk3 (27 files)
/home/ubuntu/.tremulous/base/map-metro-b1-2.pk3 (495 files)
/home/ubuntu/.tremulous/base/map-mercy_b2.pk3 (65 files)
/home/ubuntu/.tremulous/base/map-kronos_a1.pk3 (33 files)
/home/ubuntu/.tremulous/base/map-hamunaptra-1.0.pk3 (762 files)
/home/ubuntu/.tremulous/base/map-groundsource-final.pk3 (113 files)
/home/ubuntu/.tremulous/base/map-grangercannon_lr_final.pk3 (13 files)
/home/ubuntu/.tremulous/base/map-fort5_ds_v1.1.pk3 (55 files)
/home/ubuntu/.tremulous/base/map-fort5.pk3 (28 files)
/home/ubuntu/.tremulous/base/map-dryout_b5a.pk3 (225 files)
/home/ubuntu/.tremulous/base/map-deathrun_beta53_edgefix6.pk3 (5 files)
/home/ubuntu/.tremulous/base/map-controlroombeta.pk3 (7 files)
/home/ubuntu/.tremulous/base/map-cleanserb4.pk3 (112 files)
/home/ubuntu/.tremulous/base/map-citadel.pk3 (143 files)
/home/ubuntu/.tremulous/base/map-boxfield-b6_3t.pk3 (10 files)
/home/ubuntu/.tremulous/base/map-bluedragon-b4-1.1.0.pk3 (73 files)
/home/ubuntu/.tremulous/base/map-blackout-t1.pk3 (85 files)
/home/ubuntu/.tremulous/base/map-base-a51_b2.pk3 (66 files)
/home/ubuntu/.tremulous/base/map-atcs_ds_v1.1.pk3 (76 files)
/home/ubuntu/.tremulous/base/map-atcszalpha-b2.pk3 (50 files)
/home/ubuntu/.tremulous/base/map-atcsbygucior_alpha.pk3 (201 files)
/home/ubuntu/.tremulous/base/map-atcs-onice-b1.pk3 (4 files)
/home/ubuntu/.tremulous/base/map-assault_v7.1-beta4.pk3 (215 files)
/home/ubuntu/.tremulous/base/map-2dv1.pk3 (2 files)
/home/ubuntu/.tremulous/base/KAIJI_StarSideHotel_b3.pk3 (134 files)
/home/ubuntu/.tremulous/base/hq-beta28.pk3 (92 files)
/home/ubuntu/.tremulous/base/far_beyond.pk3 (63 files)
/home/ubuntu/.tremulous/base/data-v1.3.0-alpha.0.14.pk3 (168 files)
/home/ubuntu/.tremulous/base/data-gpp1.pk3 (263 files)
/home/ubuntu/.tremulous/base/data-1.1.0.pk3 (1229 files)
./base


8452 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn’t exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Logging server attacks to sv_protect.log

When I add any combination of these files:

/home/ubuntu/.tremulous/base/vms-v1.3.0-alpha.0.14.pk3 (4 files)
/home/ubuntu/.tremulous/base/vms-1.1.0.pk3 (4 files)
/home/ubuntu/.tremulous/base/data-v1.3.0-alpha.0.14.pk3 (168 files)
/home/ubuntu/.tremulous/base/data-gpp1.pk3 (263 files)
/home/ubuntu/.tremulous/base/data-1.1.0.pk3 (1229 files)

Then the game gets hung up and black screen, repeating the above error over and over.
Without any of those files (or without PAK0.PK3), I get the can’t play sound error.

Odd. I’m guessing I need the right pk3 files but I ahve no idea. If anyone knows, please give any suggestions.

I solved it! yay :slight_smile: I copied 4 pk3 files from the release into my built release.
‘data-1.1.0.pk3’ and ‘data-gpp1.pk3’ and ‘data-v1.3.0-alpha.0.14.pk3’ and ‘vms-v1.3.0-alpha.0.14.pk3’
from /home/ubuntu/Downloads/release-linux-x86_64/gpp
into /home/ubuntu/Github/tremulous/build/release-linux-x86_64/gpp

It builds and runs! It only took one library (libcurl4-openssl-dev) and 4 .pk3 files :slight_smile:

If fact, the feedback/hit.wav file is in the data-1.0.0.pk3
Thanks to @dGr8LookinSparky for the help solving the missing library.

1 Like

I’m glad that it worked out :slight_smile: ! I’ll close this topic since it’s solved, and if you come across any other issues, feel free to start a new topic.

© GrangerHub. All rights reserved. Tremulous © Darklegion Development. Granger by err-overflow and MoP licensed CC-BY-SA-2.5