# Can't link with SDL 1.2.3

**URL:** <https://discourse.libsdl.org/t/cant-link-with-sdl-1-2-3/5447>\
**Category:** SDL Development\
**Created:** [November 16, 2001, 6:06am UTC](https://discourse.libsdl.org/t/cant-link-with-sdl-1-2-3/5447 "2001-11-16T06:06:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axys](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/a/97f17d/32.png) [@Axys](https://discourse.libsdl.org/u/Axys)\
**Post date:** [November 16, 2001, 6:06am UTC](https://discourse.libsdl.org/t/cant-link-with-sdl-1-2-3/5447/1 "2001-11-16T06:06:01Z")

</div>

Hi!

I’ve a big problem with SDL 1.2.3 ☹  
when I replace .dll and .lib 1.2.0 with 1.2.3, and I try to compil,VC++ say:  
.\SDL.lib : fatal error LNK1106: invalid file or disk full: cannot seek to  
0x3beb46c3  
Error executing link.exe.

Of course my disk is not full…

I use Windows xp and VC++ 5.0

Have you an idea?

Sorry for this bad english… I’m french…

---

<div class="post-metadata">

**Author:** ![Nicolai\_Haehnle](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/n/cc9497/32.png) [@Nicolai\_Haehnle](https://discourse.libsdl.org/u/Nicolai_Haehnle)\
**Post date:** [November 16, 2001, 6:46am UTC](https://discourse.libsdl.org/t/cant-link-with-sdl-1-2-3/5447/2 "2001-11-16T06:46:01Z")

</div>

Am Freitag, 16. November 2001 15:09 schrieben Sie:

> I use Windows xp and VC++ 5.0

The .lib was probably compiled for VC++ 6.0. Get the latest service pack for  
5.0 from Microsoft (I’m afraid it’s a hefty download) and you should be fine.

cu,  
Nicolai

---

<div class="post-metadata">

**Author:** ![Bill\_May](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/b/8edcca/32.png) [@Bill\_May](https://discourse.libsdl.org/u/Bill_May)\
**Post date:** [November 17, 2001, 9:29am UTC](https://discourse.libsdl.org/t/cant-link-with-sdl-1-2-3/5447/3 "2001-11-17T09:29:00Z")

</div>

Nicolai H??hnle wrote:

> Am Freitag, 16. November 2001 15:09 schrieben Sie:
> 
> > I use Windows xp and VC++ 5.0
> 
> The .lib was probably compiled for VC++ 6.0. Get the latest service pack for  
> 5.0 from Microsoft (I’m afraid it’s a hefty download) and you should be fine.

For 5.0, I was having problems linking on win2k - some internal linker  
problem. I got around that by changing the linker to incremental.

Bill May

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [November 17, 2001, 11:49am UTC](https://discourse.libsdl.org/t/cant-link-with-sdl-1-2-3/5447/4 "2001-11-17T11:49:01Z")

</div>

> Am Freitag, 16. November 2001 15:09 schrieben Sie:
> 
> > I use Windows xp and VC++ 5.0

> The .lib was probably compiled for VC++ 6.0. Get the latest service pack for  
> 5.0 from Microsoft (I’m afraid it’s a hefty download) and you should be fine.

That’s correct. You can also download the source and compile the library  
yourself.

See ya,  
-Sam Lantinga, Software Engineer, Blizzard Entertainment
