CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: General Discussions: General Questions:
Installing SDL

 



sh0gun
New User

Jul 24, 2010, 1:11 PM

Post #1 of 1 (5270 views)
Installing SDL Can't Post

Hello everyone, this is my first post to this forum. I hope I can find the answers I need within this community. I guess I should give a little background to the problem.

I'm using a Ibook g4 with Mac OS X 10.4.11 Tiger. I just recently got into perl and my friend gave me the idea to make a simple game. I have successfully installed LWP and coded with it perfectly fine, but SDL is a totally different ball park.

Honestly I just snagged code a simple window code to see if the install was complete.


Code
#!/usr/bin/perl 

use lib '/Users/g4owner/Desktop/SDLg/lib';
use lib '/Users/g4owner/Desktop/SDLg/lib/SDL';
use SDL;
use SDL::App;


my $app = SDL::App->new(
-width => 640, # window width
-height => 480, # window height
);


since it was looking in the wrong places for App.pm I just sent it to a folder with the files it needs to run. I've encountered problem after problem with SDL. The most recent error I was given was this


Code
Can't locate loadable object for module SDL::SFont in @INC


any clue to what my next move should be? I can't install this module through cpan.....

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives