Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Sep 2014, 00:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Lazarus 1.0.2 & FPC 2.6.0 + Allegro.PAS + Allegro 4.4.2
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
Master_wrong

Joined: 19 Mar 2008
Posts: 456

PostPosted: Mon 19 Nov 2012, 05:44    Post subject:  Lazarus 1.0.2 & FPC 2.6.0 + Allegro.PAS + Allegro 4.4.2  

Very Happy

https://hotfile.com/dl/179968808/dde2a46/sfs.tar.gz.html

Description :

The Lazarus IDE is a stable and feature rich visual programming environment for the FreePascal Compiler. It supports the creation of self-standing graphical and console applications and runs on Linux, FreeBSD, MacOSX and Windows.

-----------------------------------------------

notes :
1. during testing FP, error occured due to libtinfo.so.5 not found, link is made to libncurses.so, link also created to libtinfo.so

2. sources (sourceforge) :
fpc-2.6.0.source.tar.gz ----> make into FPC source /usr/share/lazarus/fpc-2.6.0
fpc-2.6.0.i386-linux.tar
lazarus-1.0.2-0.tar.gz

3. compiled in puppy 528

4. tested hello world and allegro.pas example program succesfully see pic at post #2.

5. size --->255 MB

_________________
Cluster-Pup v.2-Puppy Beowulf Cluster
http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199

Last edited by Master_wrong on Thu 03 Jan 2013, 10:49; edited 5 times in total
Back to top
View user's profile Send private message 
Master_wrong

Joined: 19 Mar 2008
Posts: 456

PostPosted: Thu 03 Jan 2013, 05:45    Post subject:  

https://hotfile.com/dl/187238266/bb8bd3f/allegro442-and-allegro.pas444.tar.gz.html


Quote:
cross-platform, libraries mainly aimed at video game and multimedia programming. They handle common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform. However, Allegro is not a game engine: you are free to design and structure your program as you like.
Allegro 4

Allegro 4 is the classic library, whose API is backwards compatible all the way back to Allegro 2.0 for DOS/DJGPP (1996). It is no longer actively developed, but we still apply patches sent to us by contributors, mainly to fix minor bugs. Every so often we will make new releases.

Allegro 4.4 supports the following platforms:

Unix/Linux
Windows (MSVC, MinGW, Cygwin)
MacOS X
Haiku/BeOS
PSP (currently in SVN repository only)


Quote:
Allegro.pas is a wrapper to allow Pascal language to use the Allegro game programming library, a portable library mainly aimed at video game and multimedia programming written in a mixture of C and assembler.

Allegro.pas allows you to use sprites, play sound and music, draw directly on the screen or on any-size memory bitmaps, get user input from keyboard, joystick and/or mouse, create 3D graphics, define a GUI and almost anything you need to create your own games. And you can do it in good old Pascal or the modern Object Pascal. Also, if you do it the right way, your program will run in Windows and Linux with few or not changes!




source:
allegro.pas-4.4.4-src-pas.tar.bz2
allegro-4.4.2.tar.gz


both compiled in 528-2, allegro.pas is compiled at root dir using fix.sh then compressed as it is.
Allegro is packaged as sfs
size 8Mb

http://allegro-pas.sourceforge.net/wiki/doku.php?id=additional_doc:install

Quote:

Installing the library

You can copy the Allegro.pas library to the FPC's unit subdirectory so it will be available to all your projects without need to reconfigure it or add command options to the compilation line.

First localize where FPC has the RTL units:

On Windows systems it should be inside the directory where you installed FPC or Lazarus. If you installed Lazarus there should be a subdirectory named “fpc”.
On GNU/Linux systems a common place is the /usr/share/lib subdirectory.

In any case you should look for a subdirectory named fpc/<version_number>/units/i386/ or similar (<version_number> is the version of your FPC compiler).

Now create a subdirectory named allegro.pas and copy the contents of the lib subdirectory (may be you'll need administrator permissions to do this).


running-compile-build sample allegro-lazarus program succesfully, see pic.
image-2.png
Description 
png

 Download 
Filename  image-2.png 
Filesize  267.9 KB 
Downloaded  535 Time(s) 
image-1.png
 Description   
 Filesize   23.78 KB
 Viewed   842 Time(s)

image-1.png


_________________
Cluster-Pup v.2-Puppy Beowulf Cluster
http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0503s ][ Queries: 13 (0.0060s) ][ GZIP on ]