nocrew / ostis

Atari ST Emulator
GNU Lesser General Public License v2.1
20 stars 4 forks source link

ostis won't compile under cygwin #99

Closed ggnkua closed 8 years ago

ggnkua commented 8 years ago

Currently building fails with the following errors:

lex expr.l make[1]: lex: Command not found Makefile:68: recipe for target 'expr.tab.c' failed make[1]: * [expr.tab.c] Error 127 make[1]: Leaving directory '/cygdrive/c/svn/ostis' Makefile:48: recipe for target 'default' failed make: * [default] Error 2

This happens even after installing the proposed tools (flex, etc). When I changed LEX to flex in the makefile, compilation finished successfully. The attached patch fixes this for cygwin only.

0001-Minor-fix-for-compiling-on-cygwin.zip

stefanberndtsson commented 8 years ago

Thank you. Applied and pushed.

larsbrinkhoff commented 8 years ago

That's cool. I used Cygwin extensively whenever I'm forced to use Windows.

Does SDL work well in Cygwin? What framerate do you get? (Press and release F12.)

ggnkua commented 8 years ago

Well I was contemplating opening an issue for this... :)

Currently I try to run ostis like this:

./ostis.exe -t tos102uk.img

No windows open at all, the console is frozen, and the laptop's fans start spinning to warp speed! At this point I can only ctrl-c. I'm really not sure how to proceed with this, but if you guys don't use windows at all I wasn't sure I should bug you with this. For all we know it might be a known sdl2 bug on Windows.

stefanberndtsson commented 8 years ago

We don't generally use windows, but if you come up with solutions that can be properly merged/integrated, I'll definitely add them.

ggnkua commented 8 years ago

I'll have to politely decline! C, SDL and Windows programming (any combination of them or just any of them separately) are some of the things I try to avoid tackling in my spare time :)

stefanberndtsson commented 8 years ago

Understandable. You are welcome to contribute in the future, whatever platform you choose to use. :)