cschied/q2vkpt

Ubuntu build

Opened this issue · 3 comments

So I've read that some pascal can play RTX stuff but under Linux only. Any chance to receive compiled build for ubuntu? Just download-unpack-play? Just wanna try it, and have zero knowledge about source compiling.

unfa commented

I'd be interested in a Linux build as well.

Me too. Can't compile it at the moment (Ubuntu 18.04), too lazy to add yet another repository (lunarg) just so that q2vkpt works. In my case it fails building with:

[CC] .q2pro/src/client/refresh.o
src/client/refresh.c: In function ‘CL_InitRefresh’:
src/client/refresh.c:299:35: error: ‘VID_REF’ undeclared (first use in this function); did you mean ‘VID_Init’?
     vid_ref = Cvar_Get("vid_ref", VID_REF, CVAR_ROM);
                                   ^~~~~~~
                                   VID_Init
src/client/refresh.c:299:35: note: each undeclared identifier is reported only once for each function it appears in
Makefile:741: recipe for target '.q2pro/src/client/refresh.o' failed
make: *** [.q2pro/src/client/refresh.o] Error 1

i have the same errors on ubuntu 18.04 :

src/refresh/images.c:1795:7: error: ‘image_t {aka struct image_s}’ has no member named ‘pix_data’
  image->pix_data = pic;
       ^~
src/refresh/images.c: In function ‘IMG_FreeUnused’:
src/refresh/images.c:2042:35: error: ‘image_t {aka struct image_s}’ has no member named ‘pixels’
             Com_PageInMemory(image->pixels[0], image->upload_width * image->upload_height * 4);
                                   ^~
Makefile:741: recipe for target '.q2pro/src/refresh/images.o' failed
make: *** [.q2pro/src/refresh/images.o] Error 1
make: *** Attente des tâches non terminées....
src/client/refresh.c: In function ‘CL_InitRefresh’:
src/client/refresh.c:299:35: error: ‘VID_REF’ undeclared (first use in this function); did you mean ‘VID_Init’?
     vid_ref = Cvar_Get("vid_ref", VID_REF, CVAR_ROM);
                                   ^~~~~~~
                                   VID_Init
src/client/refresh.c:299:35: note: each undeclared identifier is reported only once for each function it appears in
Makefile:741: recipe for target '.q2pro/src/client/refresh.o' failed
make: *** [.q2pro/src/client/refresh.o] Error 1