SDL problem after install

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

SDL problem after install

Post by LuMo »

hello!
i was going to build some sdl stuff so i grabbed the latest from svn yesterday;
i compiled it as shown in the README.PSP
everything went fine, no errors;
after compiling i downloaded the lbreakout2 from svn to test if svn is working properly;
first of all ./configure told me that sdl-config is not found
solved this by adding one more path to my PATH variable;
thought its solved now but... NO its still not working...
checkin- for sdl-config .- /us /local/pspdev/psp/bin/sdl-config
checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/local/pspdev/psp/bin/sdl-config
configure: error: lib SDL is needed
if someone wants to read the log its accessable here

any help wellcome
greets
lumo
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

first why dont you see if you have installed SDL properly. there should be a sample app in trunk/tests/SDL type "make" and if its installed write it should build.
There are 10 types of people in the world: Those who understand binary, and those who don't...
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

this sample compiles properly...
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

hmm we'll ill check it out later today see if i can compile it.
There are 10 types of people in the world: Those who understand binary, and those who don't...
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Re: SDL problem after install

Post by jimparis »

LuMo wrote:first of all ./configure told me that sdl-config is not found
You can't just run ./configure to build stuff for the PSP. See "building autoconf applications" in SDL/README.PSP. Also, note that lbreakout2 was copied to svn but has not yet been ported. (see "svn log svn://svn.pspdev.org/pspware/trunk/lbreakout2")
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

ok my fault, i grabbed it from svn to test sdl (actually before i did the testsdl...)
thought its already ported...
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Post Reply