25 May '13 - 05:09 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 2 [3] 4 5 ... 14
  Reply  |  Print  
Author Topic: BASS for Linux  (Read 111522 times)
saga
Posts: 1365


« Reply #40 on: 6 Dec '08 - 13:55 »
Reply with quoteQuote

are there any binaries to test yet? I'd like to use BASS in an upcoming win/linux game. Smiley

lagarto, do the header files that are included with freebasic work with bass for linux? or have you done this port yourself?
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #41 on: 8 Dec '08 - 17:31 »
Reply with quoteQuote

are there any binaries to test yet?

Yes, there has been for a few months now Smiley

I am planning to post a public beta here once all of the examples have been ported. Only the CUSTLOOP example is left to do, so that should be fairly soon, but if you like, I can email you the current stuff to try now.
Logged
saga
Posts: 1365


« Reply #42 on: 8 Dec '08 - 18:16 »
Reply with quoteQuote

i'd like to try it, you may send it to the email in my profile here. Smiley
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #43 on: 17 Dec '08 - 16:37 »
Reply with quoteQuote

The Linux beta is now available in the first post!
Logged
saga
Posts: 1365


« Reply #44 on: 17 Dec '08 - 18:11 »
Reply with quoteQuote

Cool! Cool
I can also say that I didn't have any problems with the pre-release you sent me so far. Smiley
Logged
fredvs
Posts: 327


« Reply #45 on: 19 Dec '08 - 13:39 »
Reply with quoteQuote

Hello everybody, im back from africa.
So happy to see that Bass exists for Linux now.
I use Lazarus in Ubuntu and i try to use bass in it.
If i add in USE bass, i get a message from  the compil that bass need Windows instructions.
Wich Pascal code do i need to load bass in Lazarus Linux (Lazarus works also with Windows, it is like Delphi but free.)?¿
Thanks for your help
. Wink
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #46 on: 19 Dec '08 - 14:09 »
Reply with quoteQuote

As it happens, one of the earlier testers did update the Delphi unit (BASS.PAS) for use with Linux. I have now added that to the beta package (in the "pascal" directory).
Logged
fredvs
Posts: 327


« Reply #47 on: 19 Dec '08 - 15:07 »
Reply with quoteQuote

Hello Ian, thanks for the quick answer.
I have tried the bass.pas with Lazarus in Ubuntu but the compiler say that bass.pas call Windows library....
Logged
fredvs
Posts: 327


« Reply #48 on: 19 Dec '08 - 15:17 »
Reply with quoteQuote

Ooooops i didnt see BASS.PAS in your new release...(and it seems different of the original one).
I gonna test it this night.
Thanks Wink
Logged
diff3
Guest
« Reply #49 on: 19 Dec '08 - 20:52 »
Reply with quoteQuote

Hmm.. any plans for linux-amd64 version? Wink
Logged
fredvs
Posts: 327


« Reply #50 on: 20 Dec '08 - 12:07 »
Reply with quoteQuote

Hi everybody, hello Ian.
I have tried to compile a demo prog using bass in Lazarus for Linux.
If i add BASS in USES (from your Pascal Linux pre Release), it compile with no problem but when i execute the compiled prog, nothing appends...even if i dont use any of the bass function.

Maybe i forgot to do something with the bass library?¿

Thanks for your help.
Logged
fredvs
Posts: 327


« Reply #51 on: 21 Dec '08 - 11:30 »
Reply with quoteQuote

Re-hello everybody.
I use Lazarus for Windows and Linux, (it is a RAD Pascal free).
I have developped a bass-test prog, if i compile it with Lazarus on a Windows system, everything perfect, compilation with no stress and a exe-file working.

If i compile it on a Linux system, compilation OK, a executable is created but it does not work. If i dont insert Bass in USES, it execute perfectly but without access at bass procedures of course.

Why do it crash if i add in USES bass, even if i dont use any Bass procedure ?¿

What must i do with the libbass.so ?¿

Thanks to all of the Linux Champions. Kiss
Logged
fredvs
Posts: 327


« Reply #52 on: 21 Dec '08 - 13:20 »
Reply with quoteQuote

Im the Champion.... Grin

To install the bass lib in linux :

sudo cp libbass.so /usr/local/lib   (to copy bass library into linux lib)

sudo chmod a+rx /usr/local/lib/libbass.so   (to load the lib)

sudo ldconfig  (to autoconfig)

And my first Bass prog compiled with Lazarus on Linux works like a charm.

Thanks Ian, lot a thinks to translate now and Viva Ubuntu.


Logged
saga
Posts: 1365


« Reply #53 on: 21 Dec '08 - 14:35 »
Reply with quoteQuote

not all steps are neccessary, i think. I myself copied libbass.so to /lib and that's it. I was able to use it inside FreeBASIC without any further configuration.
Logged
fredvs
Posts: 327


« Reply #54 on: 21 Dec '08 - 14:57 »
Reply with quoteQuote

Hi Saga.
Whouaw, its so simple....

Any idea how to bild a script to install it automatic ?¿  Roll Eyes

Maybe with a .sh script..?
Logged
saga
Posts: 1365


« Reply #55 on: 21 Dec '08 - 15:11 »
Reply with quoteQuote

I don't know much about linux myself. but yeah, either you use bash or you create a packet (for example a DEB packet for ubuntu and debian).
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #56 on: 24 Dec '08 - 16:35 »
Reply with quoteQuote

Hmm.. any plans for linux-amd64 version? Wink

I have now added an x64 build to the beta package (in the "x64" directory). Please report how you get on with it.
Logged
bega
Posts: 19


« Reply #57 on: 25 Dec '08 - 11:54 »
Reply with quoteQuote

Hi to all. Grin
More simple example using Basic RAD-GAMBAS 2.9 ( VB for Linux ). Wink
http://gambas.sourceforge.net/

Help for termination BASS.module.

Thanks to Ian for Bass for Linux. Grin
Thanks to all

File: http://rapidshare.com/files/176631622/BASStest.tar.gz.html
Logged
fredvs
Posts: 327


« Reply #58 on: 28 Dec '08 - 14:39 »
Reply with quoteQuote

Hello Ian, hello everybody.
Im working with Bass for Linux.
With Lazarus, everything OK but.... i have problems with  BASS_ChannelSetDSP. (same problems with your example Ian).

I have used your example DSPtest and when i compile it :

rotdsp := BASS_ChannelSetDSP(chan, @Rotate,0, 2);


 i get the error :

Error: Incompatible type for arg no. 3: Got "ShortInt", expected "Pointer"

I have tryed with

rotdsp := BASS_ChannelSetDSP(chan, @Rotate,nil, 2);

but also error...

What is the problem HuhHuh

Otherwise, thanks a lot Ian to care about Linux.

PS. Is it possible to use the DX effects with Linux (linux dont use DX).

Logged
saga
Posts: 1365


« Reply #59 on: 28 Dec '08 - 16:34 »
Reply with quoteQuote

since the dx effects are built into dx8 and later, i don't expect them to work.
Logged
Pages: 1 2 [3] 4 5 ... 14
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines