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

My controller does not work #6241

Closed
TitQuentin opened this issue Jun 6, 2014 · 19 comments
Closed

My controller does not work #6241

TitQuentin opened this issue Jun 6, 2014 · 19 comments

Comments

@TitQuentin
Copy link

Hello everyone,

Since the update (build 1038 and 1039) of PPSSPP I have my controller no longer works. (A PS one controller with adapter)
Impossible to reconfigure.

Yet it worked well with the previous version of the emulator.

I did the test with jstest and it works perfectly.
Snes9x, epsxe work very well with,

I use version 0.9.8 build 1038 (and 1039 with git) on Ubuntu 14.04 64-bit

Do you have an idea?
Thank you for your help.

[Edit] I just tried with a PS3 controller bluetooth it works with jstest ppsspp but it is not recognized

@Bigpet
Copy link
Collaborator

Bigpet commented Jun 6, 2014

so you're saying v0.9.8-1037-g80301ef works but v0.9.8-1039-g312e4b9 doesnt?

@TitQuentin
Copy link
Author

Hy !

I unfortunately could not try the 1037 build.

I went from v0.9.8-943-gc142207 to v0.9.8-1039-g312e4b9

With the build-v0.9.8-943 gc142207 controllers work very well and with v0.9.8-1039-g312e4b9 they no longer work with only PPSSPP

@Bigpet
Copy link
Collaborator

Bigpet commented Jun 6, 2014

can you test before and after v0.9.8-980- g62aafbb which was the last time I think SDL joystick handling got changed, if you are using the qt version, or are you using the SDL only interface?

@TitQuentin
Copy link
Author

Okay I'd like to try but how to get back on an old build?

I use a command line to execute PPSSPP on ubuntu. (SDL)

git clone git :/ / github.com / hrydgard / ppsspp.git
cd ppsspp
git submodule update-i
. / b.sh
cd build
. / PPSSPPSDL

Thank you for your help.

@thedax
Copy link
Collaborator

thedax commented Jun 6, 2014

Try using git reset hard (but bear in mind it discards ALL changes you've made to the source code, if any, so don't forget to commit them, or stash save them). For example

git reset --hard d50f08fb6e7070e7ca3965c53a677f232fc81a4b will move your PPSSPP tree back to d50f08f, a commit from yesterday. You can view the commit history here, or use the automated build page to get a more user-friendly way of seeing the commits (version numbers), and can even click on them on the left, to view the exact commit said version number links to.

There are other ways to jump around using git, but git reset hard is probably the easiest. Don't forget to update submodules if needed.

To get back to the latest commit that your tree knows about, just do git reset --hard FETCH_HEAD.

@hrydgard
Copy link
Owner

hrydgard commented Jun 6, 2014

You can just

  git checkout d50f08fb6e7070e7ca3965c53a677f232fc81a4b 

to move to that commit, and then

 git checkout master

to get back to top. Easier than --reset hard IMHO :)

@thedax
Copy link
Collaborator

thedax commented Jun 6, 2014

There's more than one way to skin a cat. :)

But yeah, try either method to go back a few builds. You could also do the more advanced git bisect, but we can describe that if and when the need arises.

@TitQuentin
Copy link
Author

Hello everyone!

Thank you for your help.

I tested before and after the build v0.9.8-980-g62aafbb

With the build-v0.9.8-973 g003f20c my joystick does not always work with PPSSPP.

I have this error when I compile:

[26%] Building CXX object CMakeFiles/Common.dir/Common/x64Emitter.cpp.o
/ Home / titquentin / ppsspp / native / base / PCMain.cpp: In function 'int main (int, char **)':
/ Home / titquentin / ppsspp / native / base / PCMain.cpp: 836:10: warning: Possible problem detected in invocation of delete operator: [enabled by default]
   delete ljoy;
          ^
/ Home / titquentin / ppsspp / native / base / PCMain.cpp: 23:15: warning: 'ljoy' has incomplete-type [enabled by default]
 SDL_Joystick ljoy * = NULL;
               ^
In file included from / usr / include / SDL / SDL_events.h: 36:0,
                 from / usr / include / SDL / SDL.h: 37
                 from / home / titquentin / ppsspp / native / base / PCMain.cpp: 17
/ Usr / include / SDL / SDL_joystick.h: 46:8: warning: forward declaration of 'struct _SDL_Joystick [enabled by default]
 struct _SDL_Joystick;
        ^
/ Home / titquentin / ppsspp / native / base / PCMain.cpp: 836:10: note: Neither the destructor nor the class-specific operator delete Will Be Called, odd if They Are Declared When the class is defined
   delete ljoy;
          ^
/ Home / titquentin / ppsspp / native / base / PCMain.cpp: 838:10: warning: Possible problem detected in invocation of delete operator: [enabled by default]
   delete rjoy;
          ^
/ Home / titquentin / ppsspp / native / base / PCMain.cpp: 24:15: warning: 'rjoy' has incomplete-type [enabled by default]
 SDL_Joystick rjoy * = NULL;
               ^
In file included from / usr / include / SDL / SDL_events.h: 36:0,
                 from / usr / include / SDL / SDL.h: 37
                 from / home / titquentin / ppsspp / native / base / PCMain.cpp: 17
/ Usr / include / SDL / SDL_joystick.h: 46:8: warning: forward declaration of 'struct _SDL_Joystick [enabled by default]
 struct _SDL_Joystick;
        ^
/ Home / titquentin / ppsspp / native / base / PCMain.cpp: 838:10: note: Neither the destructor nor the class-specific operator delete Will Be Called, odd if They Are Declared When the class is defined
   delete rjoy;
          ^

And with the build v0.9.8-981-gda0a497 it does not always work.

@unknownbrackets
Copy link
Collaborator

So with what build does it always work? Are you saying this range:
v0.9.8-943-gc142207...v0.9.8-973-g003f20c

Weird, because I don't think that really has anything controller related.

-[Unknown]

@TitQuentin
Copy link
Author

I myself no longer understand, I don't have any build that works with my controllers.

I think it just my computer more than PPSSPP.

I do not know what to think because they work very well with other emulators.
Perhaps he'm missing something.

@Bigpet
Copy link
Collaborator

Bigpet commented Jun 7, 2014

Did you try the Qt version?

@TitQuentin
Copy link
Author

I could not try the version of Qt because I can't compile. (error -2)
I have qt4-qmake, libqt4-opengl, libqt4-dev, qt5-qmake and qtmultimedia5-dev installed

make [1]: *** [.obj / Native / draw_text.o] Error 1
make [1]: Leaving "/ home / titquentin / / Qt ppsspp" directory
make: *** [sub-Native-pro-make_default-ordered] Error 2

@Bigpet
Copy link
Collaborator

Bigpet commented Jun 7, 2014

well seeing the actual error instead of just the make errors would be helpful.

Anyway, make sure that you always use git submodule update after you checkout a different version

@HarukaMa
Copy link

HarukaMa commented Jun 7, 2014

Having the same problem using master branch under OS X 10.10 SDL version.

Bisecting now...

@TitQuentin
Copy link
Author

Here is my complete terminal:

titquentin GRANDIA @: ~ $ cd ppsspp
titquentin GRANDIA @: ~ / $ git submodule update ppsspp-i
titquentin GRANDIA @: ~ / $ cd ppsspp Qt
titquentin GRANDIA @: ~ / ppsspp / Qt $ qmake PPSSPPQt.pro
titquentin GRANDIA @: ~ / ppsspp / Qt $ make
make-f Makefile.Native
make [1]: entering "/ home / titquentin / / Qt ppsspp" directory
g+ +-c-m64-pipe-Wno-unused-function-Wno-unused-variable-Wno-multichar-Wno-uninitialized-Wno-ignored-qualifiers-Wno-missing-field-initializers-Wno-unused-parameter-ffast- math-fno-strict-aliasing-msse2-O3-fPIC-std = c + +0 x-Wall-W-D_REENTRANT-DUSING_QT_UI-DUSE_FFMPEG-DPPSSPP_GIT_VERSION = "\" v0.9.8-1062-gd8e9878 \ ""-DQT_NO_DEBUG-D__STDC_CONSTANT_MACROS -DQT_OPENGL_LIB-DQT_GUI_LIB-DQT_CORE_LIB-DQT_WIDGETS_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g + + -64-I. -I../ext/zlib -I../Common -I../native/ext/glew -I../ffmpeg/linux/x86_64/include -I../native/ext/rg_etc1-I .. / native / ext / cityhash -I../native/ext/jpge -I../native/ext/stb_vorbis -I../ext/snappy -I../native/ext/vjson -I../native / ext -I../native -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr / include/qt5/QtCore -I.moc/Native-o .obj / Native / draw_text.o .. / native/gfx_es2/draw_text.cpp
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 88:2: error: # error gl.h included before glew.h
 # Error gl.h included before glew.h
  ^
.. / Native / ext / glew / GL / glew.h: 100:2: error: # error glext.h included before glew.h
 # Error glext.h included before glew.h
  ^
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 232:0: warning: "APIENTRY" redefined [enabled by default]
 # Define APIENTRY
 ^
In file included from / usr/include/qt5/QtGui/qopengl.h: 110:0,
                 from / usr/include/qt5/QtOpenGL/qgl.h: 47
                 from / usr/include/qt5/QtOpenGL/QGLWidget: 1
                 from .. / native/gfx_es2/draw_text.cpp: 5:
/ Usr / include / GL / gl.h: 88:0: note: this is the location of the previous definition
 # Define APIENTRY GLAPIENTRY
 ^
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 14376:93: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum, GLfloat *)'
 typedef void (* GLAPIENTRY PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, GLfloat * params);
                                                                                             ^
In file included from / usr/include/qt5/QtGui/qopengl.h: 111:0,
                 from / usr/include/qt5/QtOpenGL/qgl.h: 47
                 from / usr/include/qt5/QtOpenGL/QGLWidget: 1
                 from .. / native/gfx_es2/draw_text.cpp: 5:
/ Usr/include/qt5/QtGui/qopenglext.h: 9491:25: error: 'PFNGLFRAGMENTLIGHTMODELFVSGIXPROC' has a previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum, const GLfloat *)'
 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat * params);
                         ^
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 14378:91: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum, GLint *)'
 typedef void (* GLAPIENTRY PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, GLint * params);
                                                                                           ^
In file included from / usr/include/qt5/QtGui/qopengl.h: 111:0,
                 from / usr/include/qt5/QtOpenGL/qgl.h: 47
                 from / usr/include/qt5/QtOpenGL/QGLWidget: 1
                 from .. / native/gfx_es2/draw_text.cpp: 5:
/ Usr/include/qt5/QtGui/qopenglext.h: 9493:25: error: 'PFNGLFRAGMENTLIGHTMODELIVSGIXPROC' has a previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum, const GLint *)'
 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint * params);
                         ^
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 14380:102: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum, GLenum, GLfloat *)'
 typedef void (* GLAPIENTRY PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat * params);
                                                                                                      ^
In file included from / usr/include/qt5/QtGui/qopengl.h: 111:0,
                 from / usr/include/qt5/QtOpenGL/qgl.h: 47
                 from / usr/include/qt5/QtOpenGL/QGLWidget: 1
                 from .. / native/gfx_es2/draw_text.cpp: 5:
/ Usr/include/qt5/QtGui/qopenglext.h: 9487:25: error: 'PFNGLFRAGMENTLIGHTFVSGIXPROC' has a previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum, GLenum, const GLfloat *)'
 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat * params);
                         ^
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 14382:100: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum, GLenum, GLint *)'
 typedef void (* GLAPIENTRY PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint * params);
                                                                                                    ^
In file included from / usr/include/qt5/QtGui/qopengl.h: 111:0,
                 from / usr/include/qt5/QtOpenGL/qgl.h: 47
                 from / usr/include/qt5/QtOpenGL/QGLWidget: 1
                 from .. / native/gfx_es2/draw_text.cpp: 5:
/ Usr/include/qt5/QtGui/qopenglext.h: 9489:25: error: 'PFNGLFRAGMENTLIGHTIVSGIXPROC' has a previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum, GLenum, const GLint *)'
 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint * params);
                         ^
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 14389:111: error: conflicting declaration 'typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum, GLenum, const GLfloat *)'
 typedef void (* GLAPIENTRY PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat * data);
                                                                                                               ^
In file included from / usr/include/qt5/QtGui/qopengl.h: 111:0,
                 from / usr/include/qt5/QtOpenGL/qgl.h: 47
                 from / usr/include/qt5/QtOpenGL/QGLWidget: 1
                 from .. / native/gfx_es2/draw_text.cpp: 5:
/ Usr/include/qt5/QtGui/qopenglext.h: 9500:25: error: 'PFNGLGETFRAGMENTMATERIALFVSGIXPROC' has a previous declaration as 'typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum, GLenum, GLfloat *)'
 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat * params);
                         ^
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 14390:109: error: conflicting declaration 'typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum, GLenum, const GLint *)'
 typedef void (* GLAPIENTRY PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint * data);
                                                                                                             ^
In file included from / usr/include/qt5/QtGui/qopengl.h: 111:0,
                 from / usr/include/qt5/QtOpenGL/qgl.h: 47
                 from / usr/include/qt5/QtOpenGL/QGLWidget: 1
                 from .. / native/gfx_es2/draw_text.cpp: 5:
/ Usr/include/qt5/QtGui/qopenglext.h: 9501:25: error: 'PFNGLGETFRAGMENTMATERIALIVSGIXPROC' has a previous declaration as 'typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum, GLenum, GLint *)'
 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint * params);
                         ^
In file included from .. / native / gfx / gl_common.h: 17:0,
                 from .. / native/gfx_es2/draw_text.cpp: 10:
.. / Native / ext / glew / GL / glew.h: 15053:17: error: 'PFNGLCLIENTACTIVETEXTUREPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCLIENTACTIVETEXTUREPROC __ glewClientActiveTexture;
                 ^
.. / Native / ext / glew / GL / glew.h: 15061:17: error: 'PFNGLLOADTRANSPOSEMATRIXDPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXDPROC __ glewLoadTransposeMatrixd;
                 ^
.. / Native / ext / glew / GL / glew.h: 15062:17: error: 'PFNGLLOADTRANSPOSEMATRIXFPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXFPROC __ glewLoadTransposeMatrixf;
                 ^
.. / Native / ext / glew / GL / glew.h: 15063:17: error: 'PFNGLMULTTRANSPOSEMATRIXDPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXDPROC __ glewMultTransposeMatrixd;
                 ^
.. / Native / ext / glew / GL / glew.h: 15064:17: error: 'PFNGLMULTTRANSPOSEMATRIXFPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXFPROC __ glewMultTransposeMatrixf;
                 ^
.. / Native / ext / glew / GL / glew.h: 15065:17: error: 'PFNGLMULTITEXCOORD1DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DPROC __ glewMultiTexCoord1d;
                 ^
.. / Native / ext / glew / GL / glew.h: 15066:17: error: 'PFNGLMULTITEXCOORD1DVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DVPROC __ glewMultiTexCoord1dv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15067:17: error: 'PFNGLMULTITEXCOORD1FPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FPROC __ glewMultiTexCoord1f;
                 ^
.. / Native / ext / glew / GL / glew.h: 15068:17: error: 'PFNGLMULTITEXCOORD1FVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FVPROC __ glewMultiTexCoord1fv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15069:17: error: 'PFNGLMULTITEXCOORD1IPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IPROC __ glewMultiTexCoord1i;
                 ^
.. / Native / ext / glew / GL / glew.h: 15070:17: error: 'PFNGLMULTITEXCOORD1IVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IVPROC __ glewMultiTexCoord1iv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15071:17: error: 'PFNGLMULTITEXCOORD1SPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SPROC __ glewMultiTexCoord1s;
                 ^
.. / Native / ext / glew / GL / glew.h: 15072:17: error: 'PFNGLMULTITEXCOORD1SVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SVPROC __ glewMultiTexCoord1sv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15073:17: error: 'PFNGLMULTITEXCOORD2DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DPROC __ glewMultiTexCoord2d;
                 ^
.. / Native / ext / glew / GL / glew.h: 15074:17: error: 'PFNGLMULTITEXCOORD2DVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DVPROC __ glewMultiTexCoord2dv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15075:17: error: 'PFNGLMULTITEXCOORD2FPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FPROC __ glewMultiTexCoord2f;
                 ^
.. / Native / ext / glew / GL / glew.h: 15076:17: error: 'PFNGLMULTITEXCOORD2FVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FVPROC __ glewMultiTexCoord2fv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15077:17: error: 'PFNGLMULTITEXCOORD2IPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IPROC __ glewMultiTexCoord2i;
                 ^
.. / Native / ext / glew / GL / glew.h: 15078:17: error: 'PFNGLMULTITEXCOORD2IVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IVPROC __ glewMultiTexCoord2iv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15079:17: error: 'PFNGLMULTITEXCOORD2SPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SPROC __ glewMultiTexCoord2s;
                 ^
.. / Native / ext / glew / GL / glew.h: 15080:17: error: 'PFNGLMULTITEXCOORD2SVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SVPROC __ glewMultiTexCoord2sv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15081:17: error: 'PFNGLMULTITEXCOORD3DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DPROC __ glewMultiTexCoord3d;
                 ^
.. / Native / ext / glew / GL / glew.h: 15082:17: error: 'PFNGLMULTITEXCOORD3DVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DVPROC __ glewMultiTexCoord3dv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15083:17: error: 'PFNGLMULTITEXCOORD3FPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FPROC __ glewMultiTexCoord3f;
                 ^
.. / Native / ext / glew / GL / glew.h: 15084:17: error: 'PFNGLMULTITEXCOORD3FVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FVPROC __ glewMultiTexCoord3fv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15085:17: error: 'PFNGLMULTITEXCOORD3IPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IPROC __ glewMultiTexCoord3i;
                 ^
.. / Native / ext / glew / GL / glew.h: 15086:17: error: 'PFNGLMULTITEXCOORD3IVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IVPROC __ glewMultiTexCoord3iv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15087:17: error: 'PFNGLMULTITEXCOORD3SPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SPROC __ glewMultiTexCoord3s;
                 ^
.. / Native / ext / glew / GL / glew.h: 15088:17: error: 'PFNGLMULTITEXCOORD3SVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SVPROC __ glewMultiTexCoord3sv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15089:17: error: 'PFNGLMULTITEXCOORD4DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DPROC __ glewMultiTexCoord4d;
                 ^
.. / Native / ext / glew / GL / glew.h: 15090:17: error: 'PFNGLMULTITEXCOORD4DVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DVPROC __ glewMultiTexCoord4dv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15091:17: error: 'PFNGLMULTITEXCOORD4FPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FPROC __ glewMultiTexCoord4f;
                 ^
.. / Native / ext / glew / GL / glew.h: 15092:17: error: 'PFNGLMULTITEXCOORD4FVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FVPROC __ glewMultiTexCoord4fv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15093:17: error: 'PFNGLMULTITEXCOORD4IPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IPROC __ glewMultiTexCoord4i;
                 ^
.. / Native / ext / glew / GL / glew.h: 15094:17: error: 'PFNGLMULTITEXCOORD4IVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IVPROC __ glewMultiTexCoord4iv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15095:17: error: 'PFNGLMULTITEXCOORD4SPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SPROC __ glewMultiTexCoord4s;
                 ^
.. / Native / ext / glew / GL / glew.h: 15096:17: error: 'PFNGLMULTITEXCOORD4SVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SVPROC __ glewMultiTexCoord4sv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15099:17: error: 'PFNGLBLENDCOLORPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLBLENDCOLORPROC __ glewBlendColor;
                 ^
.. / Native / ext / glew / GL / glew.h: 15100:17: error: 'PFNGLBLENDEQUATIONPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLBLENDEQUATIONPROC __ glewBlendEquation;
                 ^
.. / Native / ext / glew / GL / glew.h: 15576:17: error: 'PFNGLCOLORSUBTABLEPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCOLORSUBTABLEPROC __ glewColorSubTable;
                 ^
.. / Native / ext / glew / GL / glew.h: 15577:17: error: 'PFNGLCOLORTABLEPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCOLORTABLEPROC __ glewColorTable;
                 ^
.. / Native / ext / glew / GL / glew.h: 15578:17: error: 'PFNGLCOLORTABLEPARAMETERFVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERFVPROC __ glewColorTableParameterfv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15579:17: error: 'PFNGLCOLORTABLEPARAMETERIVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERIVPROC __ glewColorTableParameteriv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15580:17: error: 'PFNGLCONVOLUTIONFILTER1DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER1DPROC __ glewConvolutionFilter1D;
                 ^
.. / Native / ext / glew / GL / glew.h: 15581:17: error: 'PFNGLCONVOLUTIONFILTER2DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER2DPROC __ glewConvolutionFilter2D;
                 ^
.. / Native / ext / glew / GL / glew.h: 15582:17: error: 'PFNGLCONVOLUTIONPARAMETERFPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFPROC __ glewConvolutionParameterf;
                 ^
.. / Native / ext / glew / GL / glew.h: 15583:17: error: 'PFNGLCONVOLUTIONPARAMETERFVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFVPROC __ glewConvolutionParameterfv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15584:17: error: 'PFNGLCONVOLUTIONPARAMETERIPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIPROC __ glewConvolutionParameteri;
                 ^
.. / Native / ext / glew / GL / glew.h: 15585:17: error: 'PFNGLCONVOLUTIONPARAMETERIVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIVPROC __ glewConvolutionParameteriv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15586:17: error: 'PFNGLCOPYCOLORSUBTABLEPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCOPYCOLORSUBTABLEPROC __ glewCopyColorSubTable;
                 ^
.. / Native / ext / glew / GL / glew.h: 15587:17: error: 'PFNGLCOPYCOLORTABLEPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCOPYCOLORTABLEPROC __ glewCopyColorTable;
                 ^
.. / Native / ext / glew / GL / glew.h: 15588:17: error: 'PFNGLCOPYCONVOLUTIONFILTER1DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER1DPROC __ glewCopyConvolutionFilter1D;
                 ^
.. / Native / ext / glew / GL / glew.h: 15589:17: error: 'PFNGLCOPYCONVOLUTIONFILTER2DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER2DPROC __ glewCopyConvolutionFilter2D;
                 ^
.. / Native / ext / glew / GL / glew.h: 15590:17: error: 'PFNGLGETCOLORTABLEPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPROC __ glewGetColorTable;
                 ^
.. / Native / ext / glew / GL / glew.h: 15591:17: error: 'PFNGLGETCOLORTABLEPARAMETERFVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERFVPROC __ glewGetColorTableParameterfv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15592:17: error: 'PFNGLGETCOLORTABLEPARAMETERIVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERIVPROC __ glewGetColorTableParameteriv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15593:17: error: 'PFNGLGETCONVOLUTIONFILTERPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONFILTERPROC __ glewGetConvolutionFilter;
                 ^
.. / Native / ext / glew / GL / glew.h: 15594:17: error: 'PFNGLGETCONVOLUTIONPARAMETERFVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERFVPROC __ glewGetConvolutionParameterfv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15595:17: error: 'PFNGLGETCONVOLUTIONPARAMETERIVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERIVPROC __ glewGetConvolutionParameteriv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15596:17: error: 'PFNGLGETHISTOGRAMPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPROC __ glewGetHistogram;
                 ^
.. / Native / ext / glew / GL / glew.h: 15597:17: error: 'PFNGLGETHISTOGRAMPARAMETERFVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERFVPROC __ glewGetHistogramParameterfv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15598:17: error: 'PFNGLGETHISTOGRAMPARAMETERIVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERIVPROC __ glewGetHistogramParameteriv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15599:17: error: 'PFNGLGETMINMAXPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETMINMAXPROC __ glewGetMinmax;
                 ^
.. / Native / ext / glew / GL / glew.h: 15600:17: error: 'PFNGLGETMINMAXPARAMETERFVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERFVPROC __ glewGetMinmaxParameterfv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15601:17: error: 'PFNGLGETMINMAXPARAMETERIVPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERIVPROC __ glewGetMinmaxParameteriv;
                 ^
.. / Native / ext / glew / GL / glew.h: 15602:17: error: 'PFNGLGETSEPARABLEFILTERPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETSEPARABLEFILTERPROC __ glewGetSeparableFilter;
                 ^
.. / Native / ext / glew / GL / glew.h: 15603:17: error: 'PFNGLHISTOGRAMPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLHISTOGRAMPROC __ glewHistogram;
                 ^
.. / Native / ext / glew / GL / glew.h: 15604:17: error: 'PFNGLMINMAXPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLMINMAXPROC __ glewMinmax;
                 ^
.. / Native / ext / glew / GL / glew.h: 15605:17: error: 'PFNGLRESETHISTOGRAMPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLRESETHISTOGRAMPROC __ glewResetHistogram;
                 ^
.. / Native / ext / glew / GL / glew.h: 15606:17: error: 'PFNGLRESETMINMAXPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLRESETMINMAXPROC __ glewResetMinmax;
                 ^
.. / Native / ext / glew / GL / glew.h: 15607:17: error: 'PFNGLSEPARABLEFILTER2DPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLSEPARABLEFILTER2DPROC __ glewSeparableFilter2D;
                 ^
.. / Native / ext / glew / GL / glew.h: 16302:17: error: 'PFNGLDISABLECLIENTSTATEIEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLDISABLECLIENTSTATEIEXTPROC __ glewDisableClientStateiEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16303:17: error: 'PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __ glewDisableVertexArrayAttribEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16304:17: error: 'PFNGLDISABLEVERTEXARRAYEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLDISABLEVERTEXARRAYEXTPROC __ glewDisableVertexArrayEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16306:17: error: 'PFNGLENABLECLIENTSTATEIEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLENABLECLIENTSTATEIEXTPROC __ glewEnableClientStateiEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16307:17: error: 'PFNGLENABLEVERTEXARRAYATTRIBEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __ glewEnableVertexArrayAttribEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16308:17: error: 'PFNGLENABLEVERTEXARRAYEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLENABLEVERTEXARRAYEXTPROC __ glewEnableVertexArrayEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16318:17: error: 'PFNGLGETDOUBLEI_VEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETDOUBLEI_VEXTPROC __ glewGetDoublei_vEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16320:17: error: 'PFNGLGETFLOATI_VEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETFLOATI_VEXTPROC __ glewGetFloati_vEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16346:17: error: 'PFNGLGETPOINTERI_VEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETPOINTERI_VEXTPROC __ glewGetPointeri_vEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16354:17: error: 'PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __ glewGetVertexArrayIntegeri_vEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16355:17: error: 'PFNGLGETVERTEXARRAYINTEGERVEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYINTEGERVEXTPROC __ glewGetVertexArrayIntegervEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16356:17: error: 'PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __ glewGetVertexArrayPointeri_vEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16357:17: error: 'PFNGLGETVERTEXARRAYPOINTERVEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYPOINTERVEXTPROC __ glewGetVertexArrayPointervEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16478:17: error: 'PFNGLVERTEXARRAYCOLOROFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __ glewVertexArrayColorOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16479:17: error: 'PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __ glewVertexArrayEdgeFlagOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16480:17: error: 'PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __ glewVertexArrayFogCoordOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16481:17: error: 'PFNGLVERTEXARRAYINDEXOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __ glewVertexArrayIndexOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16482:17: error: 'PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __ glewVertexArrayMultiTexCoordOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16483:17: error: 'PFNGLVERTEXARRAYNORMALOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __ glewVertexArrayNormalOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16484:17: error: 'PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __ glewVertexArraySecondaryColorOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16485:17: error: 'PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __ glewVertexArrayTexCoordOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16486:17: error: 'PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __ glewVertexArrayVertexAttribIOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16487:17: error: 'PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __ glewVertexArrayVertexAttribOffsetEXT;
                 ^
.. / Native / ext / glew / GL / glew.h: 16488:17: error: 'PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC' does not name a kind
 GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __ glewVertexArrayVertexOffsetEXT;
                 ^
make [1]: *** [.obj / Native / draw_text.o] Error 1
make [1]: Leaving "/ home / titquentin / / Qt ppsspp" directory
make: *** [sub-Native-pro-make_default-ordered] Error 2
titquentin GRANDIA @: ~ / ppsspp / Qt $

@HarukaMa
Copy link

HarukaMa commented Jun 7, 2014

Found the responsible commit through bisecting.

# MrX at harukanomacbook-pro.local in ~/src/ppsspp on git:c2778d9 x [19:07:41]
$ git bisect good 
4c8a615f7687fe3151af7d41c4e027f8e2e1f918 is the first bad commit
commit 4c8a615f7687fe3151af7d41c4e027f8e2e1f918
Author: Sacha <xsacha@gmail.com>
Date:   Sat May 31 01:22:11 2014 +1000

    CMake: Make the code more platform-agnostic and cleaner.

:100644 100644 f68da258c20fbf9e1d9873ef7512583f556ab189 58683ed4cb2c76ad9fd5d91cfe0a97eed679d4e7 M  CMakeLists.txt
:040000 040000 160f4d3de5eba1302448f4f8ad712fd67543524e 7c75fd61c389045ccc2c0d83e8463974037d001a M  Common
:160000 160000 fdff78afa53becbc96ef9d3e5b2b3044f5926706 935165ca69eb399e66ef3da4e94344f475e281eb M  native

... hope I didn't make any mistake when bisecting


suggest checking hrydgard/native@935165c to see if it broke the controller thing in SDL. Looks like controller is involved.


I'm not able to build c142207 due to libpng problem though... However because current HEAD can't use my gamepad as well, maybe multijoy is not the cause of this problem.

@xsacha
Copy link
Collaborator

xsacha commented Jun 7, 2014

Thanks for the compile logs. That's code I changed and I can fix it.

@xsacha xsacha closed this as completed in 8ac1c17 Jun 7, 2014
@TitQuentin
Copy link
Author

Yes ! It works thank you very much!

@xsacha
Copy link
Collaborator

xsacha commented Jun 7, 2014

Your Qt build should be fixed now too in latest git.

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

7 participants