Recent

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

laguna

  • Sr. Member
  • ****
  • Posts: 262
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: 262
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: 1668
    • miXimum is the DJ's 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 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs