Recent

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

Janfi

  • New member
  • *
  • Posts: 7
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: 3231
  • 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: 7
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

  • Full Member
  • ***
  • Posts: 243
  • Former Delphi 7 and Delphi 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 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

Janfi

  • New member
  • *
  • Posts: 7
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: 3231
  • 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