GUIlib on Win32

Hi,

GUIlib is listed as being able to compile for Win32, but cross-compiling
does not work. The make process fails when compiling GUI_menu.cpp:

In file included from GUI_menu.cpp:6:
GUI_menu.h:14: strings.h: No such file or directory

Any ideas?

Thanks,–
David Phillips <@David_Phillips>
http://david.acz.org/

In file included from GUI_menu.cpp:6:
GUI_menu.h:14: strings.h: No such file or directory

strings.h is called string.h in Windows for inexplicable reasons.
The strings.h from CygWin just includes “string.h”, anyway.

Pius II. wrote:

strings.h is called string.h in Windows for
inexplicable reasons. The strings.h from
CygWin just includes “string.h”, anyway.

"The C Programming Language" Kernigan and Ritchie Appendix B - Standard Library Section 3 - String Functions

I guess since SDL is cross platform this isn’t all “that” off topic.

General rule of thumb:

string.h = ANSI C
strings.h = string.h + BSD stuff => not always portable?

  • Randi

Regimental Command
Generic Armored Combat System
http://regcom.sourceforge.net