Forums
Trying to build from source on opensuse - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: Trying to build from source on opensuse (/showthread.php?tid=1636)

Pages: 1 2


- NaN - 05-10-2012

You need bullet 2.78 at least(I am running with 2.80 atm). Need to check if there is a ppa.


- thepasswordis100 - 07-24-2012

On Ubuntu 12.04 amd64 I have this compile error with vdrift-20120722:
Code:
    CPP build/carcontrolmap_local.o
src/carcontrolmap_local.cpp: In static member function ‘static std::map<std::basic_string<char>, int> CARCONTROLMAP_LOCAL::InitKeycodeStringMap()’:
src/carcontrolmap_local.cpp:833:20: error: ‘SDLK_KP_0’ was not declared in this scope
src/carcontrolmap_local.cpp:834:20: error: ‘SDLK_KP_1’ was not declared in this scope
src/carcontrolmap_local.cpp:835:20: error: ‘SDLK_KP_2’ was not declared in this scope
src/carcontrolmap_local.cpp:836:20: error: ‘SDLK_KP_3’ was not declared in this scope
src/carcontrolmap_local.cpp:837:20: error: ‘SDLK_KP_4’ was not declared in this scope
src/carcontrolmap_local.cpp:838:20: error: ‘SDLK_KP_5’ was not declared in this scope
src/carcontrolmap_local.cpp:839:20: error: ‘SDLK_KP_6’ was not declared in this scope
src/carcontrolmap_local.cpp:840:20: error: ‘SDLK_KP_7’ was not declared in this scope
src/carcontrolmap_local.cpp:841:20: error: ‘SDLK_KP_8’ was not declared in this scope
src/carcontrolmap_local.cpp:842:20: error: ‘SDLK_KP_9’ was not declared in this scope
src/carcontrolmap_local.cpp:875:28: error: ‘SDLK_APPLICATION’ was not declared in this scope
src/carcontrolmap_local.cpp:876:24: error: ‘SDLK_NUMLOCKCLEAR’ was not declared in this scope
src/carcontrolmap_local.cpp:878:27: error: ‘SDLK_SCROLLLOCK’ was not declared in this scope
src/carcontrolmap_local.cpp:885:22: error: ‘SDLK_RGUI’ was not declared in this scope
src/carcontrolmap_local.cpp:886:22: error: ‘SDLK_LGUI’ was not declared in this scope



- NaN - 07-24-2012

SDL2 artifact. I've tried to stay compatible to SDL but missed this one I guess, duh.

SDL2: SDLK_KP{n} has been renamed to SDLK_KP_{n}

Will have a look, need to fire up my buntu.


- NaN - 07-24-2012

OMFG Ubuntu won't boot anymore. Will look into it tomorrow, sorry.

Edit:
I've pushed a fix (not tested). I'll upload a diff. You can checkout git master in the meantime.


- NaN - 07-24-2012

Patch vdrift-2012-07-22c_patch.diff contains all fixes since release:
https://sourceforge.net/projects/vdrift/files/vdrift/vdrift-2012-07-22/


- thepasswordis100 - 07-25-2012

Thanks, this patch fixed it.

vdrift will be published on PlayDeb.net tomorrow Wink


- NaN - 07-25-2012

Awesome! Thanks a lot!


- thepasswordis100 - 07-26-2012

NaN Wrote:Awesome! Thanks a lot!

Published, thanks.

http://www.playdeb.net/software/VDrift