Re: GCC Error on getKBchar()
- Posted by ghaberek (admin) 2 weeks ago
- 206 views
Just installed newest MinGW to a new PC and trying to compile an app. Anybody recognize this error or have the fix?
You're in uncharted waters here. Just because it's the latest version doesn't mean it's going to work and obviously something is broken.
The only version of GCC on Windows that I can currently support is TDM-GCC-64. I recommend removing what you've got and using that instead.
It tells you that you didn't declare getKBChar which is part of Psychophysics Toolbox Version 3, used by MatLab and GNU Octave: http://psychtoolbox.org/docs/GetKbChar.
What? No! I don't even know how you'd come to that conclusion because it's completely unrelated.
Does that mean euc or get.e are trying to access that? Sounds like something deep in the interpreter or compiler.
Yes, getKBchar() is part of the backend and is defined here. I would have to do some testing to figure out why GCC can't find that particular symbol.
-Greg