Re: GCC Error on getKBchar()

new topic     » goto parent     » topic index » view thread      » older message » newer message
euphoric said...

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.

jmduro said...

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.

euphoric said...

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu