Has anyone been able to get Watcom C/C++ 10.6 or 11.0a to work with SDL
?
I’ve tried using the Win32 binary distribution of SDL with Watcom C/C++
11.0a on Windows 95 OSR2. No go. 
The problem, I think, is that I’m not sure how to “bind” the DLL to the
executable, having never used DLL’s before.
If I just try to compile a test program, the linker complains about
missing items (from the SDL lib).
Using C+ Builder’s implib utility, I can get import libs from the dll’s
and link them with my project. Fine. Then the linker complains about
missing SDL_Init and SDL_Quit. If I write “stub” functions for these,
the program links but crashes with an access violation.
Can anyone help ?
Do I need to manually bind the exe to the dll with loadlibrary() or am I
missing something really obvious ?
Thx in advance,
Joe–
Joe Dunford
andeanNOSPAM at direct.ca
http://persweb.direct.ca/andean
Remove NOSPAM from my e-mail address before sending.
J Dunford wrote:
Has anyone been able to get Watcom C/C++ 10.6 or 11.0a to work with SDL
?
I’ve tried using the Win32 binary distribution of SDL with Watcom C/C++
11.0a on Windows 95 OSR2. No go. 
The problem, I think, is that I’m not sure how to “bind” the DLL to the
executable, having never used DLL’s before.
If I just try to compile a test program, the linker complains about
missing items (from the SDL lib).
What are the exact error messages?–
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Sam Lantinga wrote:
J Dunford wrote:
Has anyone been able to get Watcom C/C++ 10.6 or 11.0a to work with SDL
?
I’ve tried using the Win32 binary distribution of SDL with Watcom C/C++
11.0a on Windows 95 OSR2. No go. 
The problem, I think, is that I’m not sure how to “bind” the DLL to the
executable, having never used DLL’s before.
If I just try to compile a test program, the linker complains about
missing items (from the SDL lib).
What are the exact error messages?
wlink name sdl_test d all op inc SYS nt op m op maxe=25 op q op symf
@sdl_test.lk1
Error! E2028: SDL_AllocSurface is an undefined reference
Error! E2028: SDL_GetError is an undefined reference
Error! E2028: SDL_Init is an undefined reference
Error! E2028: SDL_Quit is an undefined reference
Error! E2028: _SDL_SetVideoMode is an undefined reference