VOGONS

Common searches


First post, by joeycape

User metadata
Rank Newbie
Rank
Newbie

Hi ppl!
I am on a G4 with mac Os X.2.6, i compiled dosbox and then i typed in the treminal:
cd path/to/the folder/src/where/dosbox/is
./dosbox
and it says:
Exit to error: Can't init SDL Joystick: Couldn't create a HID object iterator.
What did i wrong?

Last edited by joeycape on 2003-10-30, 08:15. Edited 1 time in total.

Reply 1 of 10, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You didn't do a thing wrong. SDL reports an error and therefore dosbox exits.

Try running dosbox as "root" to see if that helps.
else remove your joystick

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 10, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I don't know
I can think of 3 options
Disconnect any joystick you may have or what can considered a joystick

Secondly get a newer version of sdl (that's the one that's failing here)

Be sure to have in your kernel support for HID

Last option: Edit dosbox/src/gui/sdlmain.cpp and look at line 44.
there is something commented out that may be handy for you.

Water flows down the stream
How to ask questions the smart way!

Reply 6 of 10, by rankin

User metadata
Rank Newbie
Rank
Newbie

What revision of SDL are you linking to? The one in fink is horribly out of date and always causes issues. 1.2.6 works, and no longer kills the keyboard if the SDL application doesn't have the full focus. 😉

Reply 8 of 10, by rankin

User metadata
Rank Newbie
Rank
Newbie

Yes. 1.2.4 is broken. Horribly so. 1.2.6 should compile 'as is' for the most part 'out of the box' for you. Make sure that you remember wether or not you have X11 installed, and want to support it; --disable-x11 or enable, et al.

1.2.6 should clear up that joystick problem. 😀