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

Doesn't compile with openglide #7

Closed
Glog78 opened this issue Feb 27, 2017 · 1 comment
Closed

Doesn't compile with openglide #7

Glog78 opened this issue Feb 27, 2017 · 1 comment

Comments

@Glog78
Copy link

@Glog78 Glog78 commented Feb 27, 2017

The current git doesn't compile against openglide. I supose its because of openglide depends on SDL.

g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/openglide/ -I/usr/include/SDL2 -D_REENTRANT -g -O2 -mno-ms-bitfields -MT glide.o -MD -MP -MF .deps/glide.Tpo -c -o glide.o glide.cpp
glide.cpp: In function 'void GLIDE_ResetScreen(bool)':
glide.cpp:518:24: error: 'SDL_FULLSCREEN' was not declared in this scope
(glide.fullscreen[0]?SDL_FULLSCREEN:0)|SDL_ANYFORMAT|SDL_SWSURFACE);
^~~~~~~~~~~~~~
glide.cpp:518:42: error: 'SDL_ANYFORMAT' was not declared in this scope
(glide.fullscreen[0]?SDL_FULLSCREEN:0)|SDL_ANYFORMAT|SDL_SWSURFACE);
^~~~~~~~~~~~~
glide.cpp:518:69: error: 'SDL_SetVideoMode' was not declared in this scope
(glide.fullscreen[0]?SDL_FULLSCREEN:0)|SDL_ANYFORMAT|SDL_SWSURFACE);
^
glide.cpp: In constructor 'GLIDE::GLIDE(Section*)':
glide.cpp:396:50: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(ovl_data, sizeof(char), ovl_size, ovl);

@duganchen
Copy link
Owner

@duganchen duganchen commented Feb 27, 2017

Please report this to the SDL2 development thread on Vogons.

http://www.vogons.org/viewtopic.php?t=34770

@duganchen duganchen closed this Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants