VOGONS


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 2 of 10, by joeycape

User metadata
Rank Newbie
Rank
Newbie

good idea but nor sudo (admin privilege) nor su (root privilege) has managed to resolve the error.
Maybe did i miss a library or something. Any suggestions?

Reply 3 of 10, by joeycape

User metadata
Rank Newbie
Rank
Newbie

c'mon guys, especially mac users, id really love to try dosbox out .
(i really wanna play ascendancy indeed 😁)

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 5 of 10, by joeycape

User metadata
Rank Newbie
Rank
Newbie

ok, thanks for helping anyway...
(at line 44 its written #define DISABLE_JOYSTICK ??)

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 7 of 10, by joeycape

User metadata
Rank Newbie
Rank
Newbie

I have SDL version 1.2.4...
Should I update to 1.2.6 ?

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. 😀

Reply 9 of 10, by joeycape

User metadata
Rank Newbie
Rank
Newbie

Thanks A lot Rankin !!!! i owe you one!
Its alive , ALIVE 😁

But now i cant install ascendancy....
Shall i open a new topic and bother you w/ it ?

Reply 10 of 10, by rankin

User metadata
Rank Newbie
Rank
Newbie

Congrats!

You might want to open a new topic - I've only compiled and written a wrapper for DOSBox in the past - I have no knowledge of that game.