-
Notifications
You must be signed in to change notification settings - Fork 125
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
Compilation error: no member named 'default_textured_vertex_shader_id' in 'struct GPU_Context' #213
Comments
The compile error is concerning, but the NOTFOUND warning should be fine. I don't think SDL uses SDL2main on Macs. |
i get the same error on pclinuxos with gcc 10.2.0 or clang 10.0.1 |
fix issue grimfang4#213 The problem seems to occure when sdl-gpu is installed, then CMakeList was calling include_directories cmake function with SDL path before adding project include/, So /usr/include/SDL had an higher priority than sdl-gpu includes, and so it was using old versions include. Signed-off-by: matthias <uso.cosmo.ray@gmail.com>
fix issue grimfang4#213 The problem seems to occur when sdl-gpu is installed, then CMakeList was calling include_directories cmake function with SDL path before adding project include/, So /usr/include/SDL had an higher priority than sdl-gpu includes, and so it was using old versions, which didn't have default_textured_vertex_shader_id. Signed-off-by: matthias <uso.cosmo.ray@gmail.com>
I had the same error, |
fix issue grimfang4#213 The problem seems to occur when sdl-gpu is installed, then CMakeList was calling include_directories cmake function with SDL path before adding project include/, So /usr/include/SDL had an higher priority than sdl-gpu includes, and so it was using old versions, which didn't have default_textured_vertex_shader_id. Signed-off-by: matthias <uso.cosmo.ray@gmail.com>
fix issue grimfang4#213 The problem seems to occur when sdl-gpu is installed, then CMakeList was calling include_directories cmake function with SDL path before adding project include/, So /usr/include/SDL had an higher priority than sdl-gpu includes, and so it was using old versions, which didn't have default_textured_vertex_shader_id. Signed-off-by: matthias <uso.cosmo.ray@gmail.com>
Never had an issue compiling on this machine but just had this error compiling latest on master:
Here's what CMake says while generating the makefiles:
SDL2MAIN_LIBRARY is NOTFOUND
is a little odd as I'm pretty sure I've got SDL2 installed, especially considering it says-- Found SDL2: /usr/local/lib/libSDL2.dylib
above it.I'm on macOS Catalina 10.15.3, I'm also having trouble getting shaders to render in SDL_gpu right now but that's probably unrelated. This isn't a halting issue for me as I've got a working install already set up on here, wanted to make a note of it here though.
Thanks :)
The text was updated successfully, but these errors were encountered: