Recent

Author Topic: Library: LibMpg123-64.dylib, LibPortaudio-64.dylib, LibSndfile-64.dylib  (Read 5357 times)

laguna

  • Sr. Member
  • ****
  • Posts: 323
Hi,

As I think you have seen, I have developed a LazTranslator for Mac 64bit application.
This application in the 32bit version made use of the UOS library.
This complete library did not have the libraries for MAC 64bit.
I have compiled the sources, without making any changes, and I attach them to the present message, in order to make it available to those who need it.

Regards
Vincenzo
« Last Edit: May 12, 2018, 04:52:15 pm by laguna »

laguna

  • Sr. Member
  • ****
  • Posts: 323
Given that you can not attach large files the other 2 fali are attached to the following message.

code for use:
Code: Pascal  [Select][+][-]
  1.    ordir := ExtractFilePath(ParamStr(0));
  2.   {$IFDEF Darwin}
  3.     {$IFDEF CPU64}
  4.         opath := ordir;
  5.         opath := copy(opath, 1, Pos('/Contents', opath) - 1);
  6.         lib1 := opath + '/Contents/Frameworks/64bit/LibPortaudio-64.dylib';
  7.         lib2 := opath + '/Contents/Frameworks/64bit/LibSndFile-64.dylib';
  8.         lib3 := opath + '/Contents/Frameworks/64bit/LibMpg123-64.dylib';
  9.     {$ENDIF}
  10.  
  11.     {$IFDEF CPU32}
  12.         opath := ordir;
  13.         opath := copy(opath, 1, Pos('/Contents', opath) - 1);
  14.         lib1 := opath + '/Contents/Frameworks/32bit/LibPortaudio-32.dylib';
  15.         lib2 := opath + '/Contents/Frameworks/32bit/LibSndFile-32.dylib';
  16.         lib3 := opath + '/Contents/Frameworks/32bit/LibMpg123-32.dylib';
  17.     {$ENDIF}
  18.   {$ENDIF}
  19.  
« Last Edit: May 12, 2018, 04:51:14 pm by laguna »

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: Library: LibMpg123-64.dylib, LibPortaudio-64.dylib, LibSndfile-64.dylib
« Reply #2 on: November 04, 2018, 02:48:02 pm »
@ Laguna: Many thanks for this.

And sorry for the delay.

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018