SDL & VisualC++

Hi all, I have only one question, it is posible to compile SDL’s source
code
with Visual C++ 5.0.

Thanks in advantage

Yes, but there is some problems sometimes
like when compiling there is a "Missing WinMain program"
To compile SDL lib, unzip the VisualC ZIP file given with
the tgz source file.

Stephane

-----Message d’origine-----De : Alberto Jose Fernandez Garcia
? : sdl at surfnetcity.com.au
Date : mardi, 13. avril 1999 17:08
Objet : [SDL] SDL & VisualC++

Hi all, I have only one question, it is posible to compile SDL’s source
code
with Visual C++ 5.0.

Thanks in advantage

Hi all, I have only one question, it is posible to compile SDL’s source
code with Visual C++ 5.0.

I’m not sure if you want to compile the static libary or the DLL.
If you really want to compile the DLL, this should, with a number of
problems be possible and I’ve already succeeded in this, but it isn’t much
use. First, it’s a bit of work and you’d have to do this in every version of
SDL. Second, the product would be slower than the gcc-compiled one as
Microsoft probably doesn’t understand the (colour conversion) assembler code
and you’d have to use C versions instead. Using the gcc-compiled DLLs with
VisualC works really fine.
Compiling the library (= the stub code, the WinMain() function and the stuff
that loads the DLL) is no problem, a zip file with the necessary project
files and a readme file should be inside the source archive.~
Paulus Esterhazy (@Paulus_Esterhazy)

Paulus Esterhazy wrote:

Hi all, I have only one question, it is posible to compile SDL’s source
code with Visual C++ 5.0.

I’m not sure if you want to compile the static libary or the DLL.
If you really want to compile the DLL, this should, with a number of
problems be possible and I’ve already succeeded in this, but it isn’t much
use. First, it’s a bit of work and you’d have to do this in every version of
SDL. Second, the product would be slower than the gcc-compiled one as
Microsoft probably doesn’t understand the (colour conversion) assembler code
and you’d have to use C versions instead. Using the gcc-compiled DLLs with
VisualC works really fine.
Compiling the library (= the stub code, the WinMain() function and the stuff
that loads the DLL) is no problem, a zip file with the necessary project
files and a readme file should be inside the source archive.

~
Paulus Esterhazy (pesterhazy at gmx.net)

Thank for your answer.

I want to compile the lastest SDL library’s source code under Windows 9x and
Visual C++. But when I compile it with Visual C++ it does not work. There are
a lot errors. So I would be grateful if someone could send me pre-compiled
DLLs because I have not the gcc version for Windows 9x.

Thank in advantage.

Thank for your answer.

I want to compile the lastest SDL library’s source code under Windows 9x and
Visual C++. But when I compile it with Visual C++ it does not work. There are
a lot errors. So I would be grateful if someone could send me pre-compiled
DLLs because I have not the gcc version for Windows 9x.

You can find them on the SDL download page:
http://www.devolution.com/~slouken/SDL/download.html

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/