Recent

Author Topic: Adding code and components  (Read 587 times)

Janfi

  • New member
  • *
  • Posts: 9
Adding code and components
« on: June 16, 2019, 06:05:48 am »
Hello there,

I'm new to Lazarus but I've already written a nice program with it. Now I would like to add some sound.
My program is designed to work for Linux and Windows.

By looking on internet I'd found a repository with the code that I need here
https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/playsoundpackage/latest_stable/updates/

I'd download the .json and the .zip files but I don't kow how to install them into my Lazarus.

I also would like to find documentation about Lazarus IDE, it has a lot of features in it's menus I absolutely don't know what for they are.

Thanks a lot

Handoko

  • Hero Member
  • *****
  • Posts: 3610
  • My goal: build my own game engine using Lazarus
Re: Adding code and components
« Reply #1 on: June 16, 2019, 07:15:54 am »

Janfi

  • New member
  • *
  • Posts: 9
Re: Adding code and components
« Reply #2 on: June 16, 2019, 09:43:29 am »
Thanks Handoko but I already read this page and it doesn't solve my problem.

trev

  • Hero Member
  • *****
  • Posts: 812
  • Former Delphi 1-7 and 10.2 User
Re: Adding code and components
« Reply #3 on: June 16, 2019, 10:03:49 am »
I suggest you use the Online Package Manager to install the package from the Lazarus Repository.

from the Lazarus Menu: Package > Online Package Manager

See pic.
o Lazarus v2.1.0 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

Janfi

  • New member
  • *
  • Posts: 9
Re: Adding code and components
« Reply #4 on: June 16, 2019, 12:43:36 pm »
Thank you very much Trev, I could install the package with your instructions.    :D

Is there any help place to learn the IDE features (with picures, easy to read) please?

Handoko

  • Hero Member
  • *****
  • Posts: 3610
  • My goal: build my own game engine using Lazarus
Re: Adding code and components
« Reply #5 on: June 16, 2019, 12:51:44 pm »
Lazarus IDE has many 'hidden' tricks:
http://wiki.freepascal.org/New_IDE_features_since

 

TinyPortal © 2005-2018