I’m not sure about watcom compilers, but I do recommend especially for
cross-platform compiling to use MinGW and MSYS. It would seem OpenWatcom
isn’t compatible. http://www.mingw.org
Egon Rath wrote:>Hi,
i am currently in the process of porting a simple SDL application from Linux to
Windows using the OpenWatcom Compiler.
The problem is, that i always get the following error, as soon as i include the
SDL.h file:
Error! E2028: __CHK is an undefined reference
Error! E2028: __iob is an undefined reference
Error! E2028: fprintf is an undefined reference
for example, when i try to compile the following, very simple source the error
occurs: