Welcome, Guest
Username: Password: Remember me
Components and Libraries for Audio and Video Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

ACS package trouble 10 years 2 months ago #5072

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
  • Posts: 72
  • Thank you received: 8
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.

ACS package trouble 10 years 2 months ago #5074

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
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.

ACS package trouble 10 years 2 months ago #5076

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
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.

ACS package trouble 10 years 2 months ago #5077

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
  • Posts: 72
  • Thank you received: 8
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.

ACS package trouble 10 years 2 months ago #5078

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor

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 ... ;) )

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

Last edit: by fredvs.

ACS package trouble 10 years 2 months ago #5079

  • Javor
  • Javor's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • M.Sc in Computer Science, (ex-)freelancer
  • Posts: 72
  • Thank you received: 8
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.

ACS package trouble 10 years 2 months ago #5080

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
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

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

Last edit: by Sternas Stefanos.

ACS package trouble 10 years 2 months ago #5081

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor

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.

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

Last edit: by fredvs.

ACS package trouble 10 years 2 months ago #5082

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
We must test and your code uos, Sir
PilotLogic Architect and Core Programmer

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

ACS package trouble 10 years 2 months ago #5091

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor

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.

ACS package trouble 10 years 2 months ago #5092

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
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.

ACS package trouble 1 month 3 weeks ago #18236

  • teemu
  • teemu's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
Hi guys. I decided not to create a new topic and ask here.
I can’t find repository on github or svn with current ACS packages in CodeTyphon. Comparing with this repository - github.com/serbod/acs, ACS sources in Typhoon are very outdated.
For example, the classes in the acs_file unit were changed on May 2, 2015. I wanted to ask if the files for this package are up to date ?

And there is a problem with ACS example projects from CodeOcean. For example, project Player.ctpr is crashes with various errors when trying to open or while playing audio files
Windows 10 ~ CT 8.1

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

ACS package trouble 1 month 3 weeks ago #18237

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1047
  • Thank you received: 145
It's an old package
We will try to fix some things...
PilotLogic Core Programmer

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

  • Page:
  • 1