× Components and Libraries for Audio and Video Development, discussions, problems and suggestions

Question ACS package trouble

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
More
7 years 9 months ago #5072 by Javor
ACS package trouble was created by Javor
My CT version - 4.6 (still haven't updated to 4.7)
ACS package works awesome on Windows, but trying to cross-compile from Windows to Linux-Arm (intend to run project on Raspberry Pi) throws errors while compiling:
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(202,24) Error: Unknown identifier "EDX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(203,17) Error: Unrecognized opcode SHL
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(203,21) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(204,24) Error: Unknown identifier "ECX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(205,24) Error: Unknown identifier "EDX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(205,26) Error: Unknown identifier "ECX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(206,24) Error: Unknown identifier "EAX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(207,7) Error: Unrecognized opcode
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(207,7) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(208,17) Error: Unrecognized opcode JE
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(208,20) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(209,17) Error: Unrecognized opcode FILD
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(209,22) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(210,24) Error: Unknown identifier "EAX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(210,26) Error: Assembler syntax error in operand
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(211,17) Error: Unrecognized opcode FSTP
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(211,22) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(212,24) Error: Unknown identifier "ECX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(212,26) Error: Assembler syntax error in operand
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(213,17) Error: Unrecognized opcode JMP
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(213,21) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(214,7) Error: Unrecognized opcode
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(214,7) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(226,24) Error: Unknown identifier "EDX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(227,17) Error: Unrecognized opcode SHR
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(227,21) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(228,24) Error: Unknown identifier "ECX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(229,24) Error: Unknown identifier "EDX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(229,26) Error: Unknown identifier "ECX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(230,24) Error: Unknown identifier "EAX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(231,7) Error: Unrecognized opcode
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(231,7) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(232,17) Error: Unrecognized opcode JE
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(232,20) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(233,17) Error: Unrecognized opcode FILD
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(233,22) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(234,24) Error: Unknown identifier "EAX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(234,26) Error: Assembler syntax error in operand
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(235,17) Error: Unrecognized opcode FSTP
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(235,22) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(236,24) Error: Unknown identifier "ECX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(236,26) Error: Assembler syntax error in operand
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(237,17) Error: Unrecognized opcode JMP
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(237,21) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(238,7) Error: Unrecognized opcode
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(238,7) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(249,24) Error: Unknown identifier "EDX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(250,17) Error: Unrecognized opcode SHL
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(250,21) Error: Assembler syntax error
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(251,24) Error: Unknown identifier "ECX"
C:\codetyphon\typhon\components\pl_ACS\source\acs_procs.pas(251,24) Fatal: There were 50 errors compiling module, stopping
Seems compiler doesn't recognize the inline assembler instructions. Any ideas?
Attachments:

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 9 months ago #5074 by Sternas Stefanos
Replied by Sternas Stefanos on topic ACS package trouble
Sir
we working on pl_ACS to make and this library Multi-OS
it's not so simple and we want help...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • fredvs
  • Visitor
  • Visitor
7 years 9 months ago #5076 by fredvs
Replied by fredvs on topic ACS package trouble
Hello.

Hum, im not sure you will succeed to do acs work on linux.

ACS needs lot of libraries and there are not all working in linux.

Maybe you could use uos, it works for Linux, Mac and Windows:
github.com/fredvs/uos

Please Log in or Create an account to join the conversation.

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
More
7 years 9 months ago #5077 by Javor
Replied by Javor on topic ACS package trouble
Indeed. I'll try BASS with delphi port of the headers. Will post here if I succeed ;)

Please Log in or Create an account to join the conversation.

  • fredvs
  • Visitor
  • Visitor
7 years 9 months ago - 7 years 9 months ago #5078 by fredvs
Replied by fredvs on topic ACS package trouble

I'll try BASS with delphi port of the headers


Bass is working pretty good for Linux, Windows, Mac but...
Bass is not open-source and free only for personal purpose not for commercial applications...
(uos is open-source and free and is working ... ;) )
Last edit: 7 years 9 months ago by fredvs.

Please Log in or Create an account to join the conversation.

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
More
7 years 9 months ago #5079 by Javor
Replied by Javor on topic ACS package trouble
Yes, I'll check uos too. So far I need sound for personal use only :)
Problems with BASS:
CT 4.6, OS: Windows XP, compiling for RPi
with bass.pas - cannot compile at all:
Options changed, recompiling clean with -B
umain.pas(39,44) Hint: Parameter "CloseAction" not used
umain.pas(75,5) Note: Local variable "I" not used
Sound_ON.lpr(22) Warning: "crti.o" not found, this will probably cause a linking failure
Sound_ON.lpr(22) Warning: "crtbegin.o" not found, this will probably cause a linking failure
Sound_ON.lpr(22) Warning: "crtend.o" not found, this will probably cause a linking failure
Sound_ON.lpr(22) Warning: "crtn.o" not found, this will probably cause a linking failure
Sound_ON.lpr(22) Warning: "crti.o" not found, this will probably cause a linking failure
Sound_ON.lpr(22) Warning: "crtbegin.o" not found, this will probably cause a linking failure
Sound_ON.lpr(22) Warning: "crtend.o" not found, this will probably cause a linking failure
Sound_ON.lpr(22) Warning: "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: warning: link.res contains output sections; did you forget -T?
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: skipping incompatible ./libbass.so when searching for -lbass
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: skipping incompatible .\/libbass.so when searching for -lbass
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lbass
Sound_ON.lpr(22) Error: Error while linking
Sound_ON.lpr(22) Fatal: There were 1 errors compiling module, stopping
With lazdynamic_bass.pas (dynamic function loading) everything compiles but application throws an exception on Load_BASSDLL function. Didn't have time to dig deeper and find the cause of the exception...
If nothing regarding BASS works, will try uos

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 9 months ago - 7 years 9 months ago #5080 by Sternas Stefanos
Replied by Sternas Stefanos on topic ACS package trouble
Guys
Bass is commercial library and NOT for CT
We working for full port of pl_ACS and pl_ASIOVST on Unix OSes

For sample pl_AsphyreSphinx was only for windows but at CT 4.7 works and on Linux, FreeBSD and Solaris...

PilotLogic Architect and Core Programmer
Last edit: 7 years 9 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Visitor
  • Visitor
7 years 9 months ago - 7 years 9 months ago #5081 by fredvs
Replied by fredvs on topic ACS package trouble

Bass is commercial library and NOT for CT

Totaly agree ( even if i created the first wrapper for Bass-fpc).

We working for full port of pl_ACS

Yep, good luck, i lost too much hair when i tried ( i create uos in place, it was easier).

and pl_ASIOVST

That interest me a lot... many thanks.
Last edit: 7 years 9 months ago by fredvs.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 9 months ago #5082 by Sternas Stefanos
Replied by Sternas Stefanos on topic ACS package trouble
We must test and your code uos, Sir

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • fredvs
  • Visitor
  • Visitor
7 years 9 months ago #5091 by fredvs
Replied by fredvs on topic ACS package trouble

We must test and your code uos, Sir


Thanks Sternas, it is a honnor for me...

PS : I absolutely do not want to stop you in re-factory of acs...
If you are couragous (and have lot of hair), it is (maybe) possible to translate into Linux (but not easy, lot of external libraries do not have pascal-linux wrapper...)

PS2 : In few time i will give new release of uos (with plugins effect class like stretching, pitching, etc...).

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 9 months ago #5092 by Sternas Stefanos
Replied by Sternas Stefanos on topic ACS package trouble
We establish at you GIT source code
and we will start tests
Thanks for your work

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.