Board index » cppbuilder » Borland not like SDL? Me not get things?
Vivi Orunitia
![]() CBuilder Developer |
Borland not like SDL? Me not get things?2003-07-11 03:12:18 AM cppbuilder61 I'm also having some trouble getting SDL(1.2.5) to work with Borland's 5.5 commandtools. I'm using Vide also btw and I have set up to include the SDL include header directories, lib directories etc. but I still can't get something as simple as this to compile: #include "SDL.h" int main() { return 0; }//main The error msg is coming from the linker w/ the following msg: QuoteTurbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland I have also tried a few other variations like making a console application instead but I get this same msg only it's 'Unresolved external 'Main' instead of WinMain. I also tried including the SDL_main.h header file but that didn't seem to help with anything. Finally, I have also looked at the FAQ over at www.libsdl.org/faq.php and included all the switchs and parameters they have specified there. It still does not work, I keep getting errors either from my compiler or linker or something! Oh and one more thing, I have converted the SDL.lib and SDLmain.lib files to the appropriate format for borland's compiler using the implib.exe and coff2omf.exe commands so this should not be an issue either. UGHHH! please help me! |