[fpc-pascal] Play audio on windows

2022-11-02 Thread Hairy Pixels via fpc-pascal
I’m trying to port a Mac program to Windows. Which is the preferred low-level API to use which FPC includes units for (if any)? It would be nice to set volume and start/stop sounds also and know when they are finished so it matches the Mac API. Regards, Ryan Joseph

Re: [fpc-pascal] Can't build single package

2022-11-02 Thread Tomas Hajny via fpc-pascal
On 2022-11-02 16:40, Luca Olivetti via fpc-pascal wrote: El 2/11/22 a les 15:54, Tomas Hajny via fpc-pascal ha escrit: OK, the problem is that I installed the compiler with the windows installer and the makefile expects it to be in its tree (hence the "-n" and the "-Fu" options). Is there somet

Re: [fpc-pascal] Can't build single package

2022-11-02 Thread Luca Olivetti via fpc-pascal
El 2/11/22 a les 15:54, Tomas Hajny via fpc-pascal ha escrit: OK, the problem is that I installed the compiler with the windows installer and the makefile expects it to be in its tree (hence the "-n" and the "-Fu" options). Is there something I can do (other than building and installing the comp

Re: [fpc-pascal] Can't build single package

2022-11-02 Thread Tomas Hajny via fpc-pascal
On 2022-11-02 15:25, Luca Olivetti via fpc-pascal wrote: El 2/11/22 a les 9:37, Luca Olivetti via fpc-pascal ha escrit: IIRC I did it in the past but now: D:\fpc-3.2.2\packages\fcl-web>make C:/FPC/3.2.2/bin/i386-Win32/ppc386.exe fpmake.pp -n -Fu../../rtl -Fu../../packages/paszlib -Fu../../pack

Re: [fpc-pascal] Can't build single package

2022-11-02 Thread Luca Olivetti via fpc-pascal
El 2/11/22 a les 9:37, Luca Olivetti via fpc-pascal ha escrit: IIRC I did it in the past but now: D:\fpc-3.2.2\packages\fcl-web>make C:/FPC/3.2.2/bin/i386-Win32/ppc386.exe fpmake.pp -n -Fu../../rtl -Fu../../packages/paszlib -Fu../../packages/fcl-process -Fu../../packages/hash -Fu../../packages

[fpc-pascal] Can't build single package

2022-11-02 Thread Luca Olivetti via fpc-pascal
IIRC I did it in the past but now: D:\fpc-3.2.2\packages\fcl-web>make C:/FPC/3.2.2/bin/i386-Win32/ppc386.exe fpmake.pp -n -Fu../../rtl -Fu../../packages/paszlib -Fu../../packages/fcl-process -Fu../../packages/hash -Fu../../packages/libtar -Fu../../packages/fpmkunit/units_bs/i386-win32 Fatal: