Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building 2012-07-22 fails on openSUSE #110

Closed
Mailaender opened this issue Sep 16, 2012 · 2 comments
Closed

Building 2012-07-22 fails on openSUSE #110

Mailaender opened this issue Sep 16, 2012 · 2 comments

Comments

@Mailaender
Copy link
Contributor

Hi, I am trying to update the package for openSUSE games at https://build.opensuse.org/package/show?package=vdrift&project=home%3AMailaender%3Abranches%3Agames It fails to build with

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

https://build.opensuse.org/package/live_build_log?arch=i586&package=vdrift&project=home%3AMailaender%3Abranches%3Agames&repository=openSUSE_12.2

@Timo6
Copy link
Member

Timo6 commented Sep 16, 2012

Try applying the patch at http://sourceforge.net/projects/vdrift/files/vdrift/vdrift-2012-07-22/vdrift-2012-07-22c_patch.diff/download
It's to do with the addition of SDL2 compatibility.

@Mailaender
Copy link
Contributor Author

Works, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants