sdl problem

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
Tom_leonardsson
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 62
Joined: Mon Jun 27, 2011 6:08 pm
Current Project: Map editor
Favorite Gaming Platforms: nes,nds,snes,DOS,GBA,the Nd,android
Programming Language of Choice: c/++,javascript,Java
Location: Sweden,skåne,Tecomatorp

sdl problem

Post by Tom_leonardsson »

when I was gonne run my sdl program i just got this ".exe||cannot find -lSDL_image|
||=== Build finished: 1 errors, 0 warnings ===|"
N64vSNES
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Thu Aug 12, 2010 11:25 am

Re: sdl problem

Post by N64vSNES »

-lSDL_image is a link library you're linking to and it cannot be found.
User avatar
TheBuzzSaw
Chaos Rift Junior
Chaos Rift Junior
Posts: 310
Joined: Wed Dec 02, 2009 3:55 pm
Current Project: Paroxysm
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Contact:

Re: sdl problem

Post by TheBuzzSaw »

Yup. SDL_image is a separate library.

http://www.libsdl.org/projects/SDL_image/
User avatar
dr-snipe
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 42
Joined: Sun Dec 19, 2010 10:09 pm
Programming Language of Choice: C++, Java, PHP
Contact:

Re: sdl problem

Post by dr-snipe »

Here's a tut that should help you install the library: http://lazyfoo.net/SDL_tutorials/lesson03/index.php
Post Reply