No f***ing way to make SDL_image programs compile in MS VC

Hi

Not sure there’s any need to swear!

You are correct in your assumption that those libraries are not compatible
with Visual C++ 5. You need to make a new library - this is quite easy to
do.

First, grab a copy of makedef from
http://codeguru.earthweb.com/tools/Makedef.shtml

You will use this to make a .DEF file:

makedef /def:SDL_Image.def /image:SDL_Image.dll

Next, use the LIB utility which should be in your Visual C++ \BIN folder to
create a new library

lib /machine:IX86 /def:SDL_Image.def /out:SDL_Image.lib

This should give you a .lib file which is compatible with your linker.

Regards,

Steve> ----- Original Message -----

From: Joseba Garc?a Etxebarria
To: sdl at libsdl.org
Sent: 17/01/02 17:53
Subject: [SDL] No f***ing way to make SDL_image programs compile in MSVC

Hi,
how do i make SDL_image and SDL_mixer programs run on MSVC 5? I add the
.lib libraries to the project (add files to project) and it displays tis

error:

Linking…
.\SDL_mixer.lib : fatal error LNK1106: invalid file or disk full: cannot

seek to 0x3c1fe019
Error executing link.exe.

demo.exe - 1 error(s), 37 warning(s)

Maybe it’s because i downloaded the MSVC 6 developer libraries?
I must say that the SDL.lib and SDLmain.lib (1.2.2) files are added
correctly and don’t appear to give any problems…
Ahhh, if i could install Linux @ school, my code compiles perfectly on
it…

Thanks in advance
Joseba


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com