Recent

Author Topic: How to add libraries / external source files?  (Read 439 times)

jan741

  • New Member
  • *
  • Posts: 15
How to add libraries / external source files?
« on: December 06, 2022, 10:54:29 pm »
I should like to add the pas-files from the snyapsy-library.

But every time I get this error: Cannot find pingsend used by Unit1 of the Project Inspector.

I tried to follow this: http://www.ararat.cz/synapse/doku.php/public:howto:installsynapse
And tried to install via the online package manager.

Both ways failed.

So how to add external libraries (collection of pascal files) to the project or even better tot the lazarus library for future projects?

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: How to add libraries / external source files?
« Reply #1 on: December 06, 2022, 11:04:40 pm »
Hi

In my case, I was trying to send emails using synaser in a windows application. I was able to install laz_synaser using opm and found the necessary .dll files in the fpcupdeluxe folder.

Can you give some more details about your laz_synaser opm install?
Be mindful and excellent with each other.
https://github.com/cpicanco/

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: How to add libraries / external source files?
« Reply #2 on: December 06, 2022, 11:08:00 pm »
Just to make it clear, when you install lazarus using fpcupdeluxe, it will download some dlls required by synaser, in my case: libeay32.dll and ssleay32.dll.
Be mindful and excellent with each other.
https://github.com/cpicanco/

jan741

  • New Member
  • *
  • Posts: 15
Re: How to add libraries / external source files?
« Reply #3 on: December 07, 2022, 11:02:01 am »
This Topic should be moved to Lazarus - beginners and can be closed.

I found the solution based on this tread: https://stackoverflow.com/questions/32168817/adding-units-to-lazarus


 

TinyPortal © 2005-2018