fgsfdsfgs / vitaXash3D

a port of Xash3D-FWGS to the PSVita
GNU General Public License v3.0
139 stars 15 forks source link

error: static declaration of glHint' follows non-static declaration #62

Closed MarcHover closed 3 years ago

MarcHover commented 3 years ago

Hello, i`m trying to compile the VitaXash3d from the Source on Git. I´m on OS X. I think i´ve done all the prep-work right, but once i´m in the VitaXash3d folder an run "make" i always get the error:

"from engine/platform/vita/vid_vita.c:19: engine/common/../platform/vita/gl_stubs.h:175:20: error: static declaration of glHint' follows non-static declaration 175 | static inline void glHint( GLenum hint, GLenum val ) { } | ^~ compilation terminated due to -Wfatal-errors. make: *** [engine/platform/vita/vid_vita.o] Error 1"

What am i doing wrong?

fgsfdsfgs commented 3 years ago

This won't compile with newer vitaGL without some changes. Unfortunately it also crashes when compiled with current vitaGL master and I can't determine the reason so far.

MarcHover commented 3 years ago

Okay, i must admit that i don´t know what to do with the VitaGL package i downloaded, do i have to run the make command there to? where do i have to put those files? Dose it work if i download and older release of VitaGL? Has there been any Fix for the saving time issue? I mean except of turning Autosave of.

fgsfdsfgs commented 3 years ago

What is the reason you are trying to build this manually? There has been some work done on improving SD access speed in PR #42 but unfortunately it also crashes for me regardless of what vitaGL version I use. Other than that no, there's no fix.

fgsfdsfgs commented 3 years ago

It should build with latest vitaGL now. Will reopen if it doesn't.