Hi All,
What do I need to do to install and use JEDI-SDL-v1.0 or which ever is latest?I
have downloaded JDL-SDLv1.0.zip and unarchived it. It is in Delphi format and
free pascal and lazarus.
See below that I have tried to run the fpc-install.sh file (with the command
"sh ./fpc-install.sh" ).
j...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0/lazarus $ sh
./fpc-install.sh: not foundll.sh: 14: : not foundll.sh: 17: : not foundll.sh:
22: {^C: (that´s where it hung and I pressed control+C)
I am attaching both the fpc-install.sh and Getting Started.html. I have printed
a hard copy of the latter and it says to click on the Delphi Tools /
Environment Options menu then select the Library tab then click on the ellipsis
for Library Path. This is different in my copy of Lazarus 0.9.28.2 for Linux.
Any help will be welcome. Thanks in advance.
_________________________________________( Swerve me? The path to my fixed
purpose )( is laid with iron rails, whereon my )( soul is grooved to run.
Over unsounded )( gorges, through the rifled hearts of )( mountains, under
torrents' beds, )( unerringly I rush! )(
)( -- Captain Ahab, "Moby Dick" )
----------------------------------------- o o \_\_ _/_/ o \__/
(oo)\_______ (__)\ )\/\ ||----w |
|| ||j...@juni ~ $ lsDesktop lazarus success
with wine 1.3Documents
Life_the_Universe_and_Everything3.zip.html.txtDownloads
MusicDropbox Picturesgoogle_analyitics.zip
Publicjre1.6.0_23 TemplatesjUploadr-1.1.2-linuxGTK-i386
Uploadslazarus videosj...@juni ~ $ cd publicj...@juni
~/Public $ cd lazarus_source_codej...@juni ~/Public/Lazarus_source_code $ cd
jedi-sdlv1.0j...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0 $ cd
lazarusj...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0/lazarus $ lsCal3D
Newton SDL_flic SDL_SoundDemos
ODE SDL_Gfx SDLSpriteEngineDocumentation OpenGL
SDL_Image SDL_ttffmod PixelPrachtFX
sdlinput.pas.patch Setupfpc-install.sh SDL SDL_Mixer
SFontHawkVoice SDLCtrls SDLMonoFonts
smpegJEDI-SDL-README.txt SDLFilter SDL_Net
team_sdl.whtmj...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0/lazarus $ sh
./fpc-install.sh: not foundll.sh: 14: : not foundll.sh: 17: : not foundll.sh:
22: {^C: j...@juni ~/Public/Lazarus_source_code/JEDI-SDLv1.0/lazarus $
Best Regards,
PEW
fpc-install.sh
Description: application/shellscript
Setting up Delphi or Kylix to work with JEDI-SDL
- Extract the JEDI-SDL Zip file or Tar.gz file, to a directory of your choice, making sure you maintain the archives built in directory structure. For example I have a "headers" directory under my Delphi or Kylix installation directory. So for me on a windows machine I have installed JEDI-SDL to. "D:\Program Files\Borland\Delphi6\Headers\JEDI-SDL\.....". Make sure you remember this path and also that under Linux, paths are case sensitive so you may want to keep everything in lower case. The main advantage of extracting them under your installed Delphi or Kylix directory is so you can make use of the $(DELPHI) path directive as shown in the next few steps
- Next we need to make sure we are using the latest Runtimes for out system. in the ....\JEDI-SDL\Runtimes\ directory you will find the latest Linux ( in RPM format ) and and Windows ( DLLs ) runtimes.
- Under Linux install each RPM and everything should be ready to go on to Step 3.
- NOTE : For the DeathTruckTion game to run you must have either
fmod.dll ( under Windows ) or
libfmod-3.5.so ( under Linux ) installed.
Under Linux, make sure you are logged in as root and copy the libfmod-3.5.so
file from the Runtimes/Linux/ directory to your /usr/lib/ directory. You also need to ensure that the shared library has the correct permissions, other wise it will not execute correctly. So via a command line, navigate to the /usr/lib/ directory and enter the following command ( it assumed you are in /usr/lib/ and logged in as root )...
chmod 755 libfmod-3.5.so.
Now you need to create a symbolic link between libfmod-3.5.so and libfmod.so. This is done with the
following command ( it assumed you are in /usr/lib/ and logged in as root )...
ln -s libfmod-3.5.so libfmod.so. - Similarly, I found that the smpeg RPM did not install smpeg correctly.
In you /usr/lib/ directory you will probably find libsmpeg-0.4.so. This
is fine but the smpeg file now refers to the Linux norm of a generic symbolic
link. So we will have to create one. Via a command line, navigate to the
/usr/lib/ directory and create a symbolic link between libsmpeg-0.4.so
and libsmpeg.so. This is done with the
following command ( it assumed you are in /usr/lib/ and logged in as root )...
ln -s libsmpeg-0.4.so libsmpeg.so.
- Under Windows, unzip and copy each DLL to your ...\System or
...\System32 directory and everything should be ready to go on to Step
3.
- Now that you have the all the header files, associated demos and runtimes in their logical places, open up Delphi or Kylix and go to..
- the "Environment Options" menu option,
![]()
- then select the "Library" tab and then click on the ellipses ( the button with 3 dots on it ) that are associated with "Library Path".
![]()
- Assuming you have extracted the files to the directory I suggested above, you can simply add the following entries to the "Directories" dialog...
After the above changes you should have something that looks similar to this ( Remember if you are using Linux you should use "/" and not "\" for you paths. Windows allows you to use both it you like. )...
- $(DELPHI)/Headers/JEDI-SDL/SDL/Pas
- $(DELPHI)/Headers/JEDI-SDL/SDL_Mixer/Pas
- $(DELPHI)/Headers/JEDI-SDL/SDL_Image/Pas
- $(DELPHI)/Headers/JEDI-SDL/SDL_Net/Pas
- $(DELPHI)/Headers/JEDI-SDL/SDL_ttf/Pas
- $(DELPHI)/Headers/JEDI-SDL/smpeg/Pas
- $(DELPHI)/Headers/JEDI-SDL/SFont/Pas
- $(DELPHI)/Headers/JEDI-SDL/SDL_Sound/Pas
- $(DELPHI)/Headers/JEDI-SDL/SDLMonoFonts/Pas
- $(DELPHI)/Headers/JEDI-SDL/SDLSpriteEngine/Pas
Once these paths are entered and you have clicked ok for Delphi or Kylix to store the path information in its registry, you should be ready to start coding or to start playing with around with the demos.
The JEDI-SDL team, hopes your experience is a positive one.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
