LibV2Purebasic & Ogg Decoder Linker Failure

Everything else that doesn't fall into one of the other PB categories.
THCM
Enthusiast
Enthusiast
Posts: 276
Joined: Fri Apr 25, 2003 5:06 pm
Location: Gummersbach - Germany
Contact:

LibV2Purebasic & Ogg Decoder Linker Failure

Post by THCM »

I get this->

POLINK: warning: Multiple '.data' sections found with diffrent flags (0xc0000040 and 0x60000040).
POLINK: error: Symbol'__fltused' is multiply defined.

linker error, when I use LibV2Purebasic for background music and UseOGGSoundDecoder() for sound effects in the same source.

Sorry, but my whole source to big to post here, I'll try to make a small one later!
The Human Code Machine / Masters' Design Group
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: LibV2Purebasic & Ogg Decoder Linker Failure

Post by traumatic »

No bug... ;)

(Temporarily) replace WolfangS' library by this one:
http://files.connection-refused.org/v2/FarbrauschV2
Good programmers don't comment their code. It was hard to write, should be hard to read.
THCM
Enthusiast
Enthusiast
Posts: 276
Joined: Fri Apr 25, 2003 5:06 pm
Location: Gummersbach - Germany
Contact:

Post by THCM »

Great! No linker problems anymore! What was the problem?

By the way, nice to have you around! Good work traumatic!
The Human Code Machine / Masters' Design Group
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

THCM wrote:Great! No linker problems anymore! What was the problem?
Both Fred and WolfgangS defined _fltused, that's why the linker says it's multiply defined.
The version I recommended doesn't have this (and won't run with PB < 3.93).
THCM wrote:By the way, nice to have you around! Good work traumatic!
Thx :oops:
Good programmers don't comment their code. It was hard to write, should be hard to read.
THCM
Enthusiast
Enthusiast
Posts: 276
Joined: Fri Apr 25, 2003 5:06 pm
Location: Gummersbach - Germany
Contact:

Post by THCM »

Do you have an idea how to implement independent soundeffects whlie listen to music like in kkrieger with libv2topurebasic?
The Human Code Machine / Masters' Design Group
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

What's the problem? Doesn't v2 work in conjunction with PB's functions?

Ah and I forgot to mention: Wrong forum! 8)
Good programmers don't comment their code. It was hard to write, should be hard to read.
THCM
Enthusiast
Enthusiast
Posts: 276
Joined: Fri Apr 25, 2003 5:06 pm
Location: Gummersbach - Germany
Contact:

Post by THCM »

traumatic wrote:What's the problem? Doesn't v2 work in conjunction with PB's functions?

Works fine! But I wanted to have effects using v2m and not simple wav effects!

Ah and I forgot to mention: Wrong forum! 8)
Oh, yes you're right... so anybody here to move this stuff?
The Human Code Machine / Masters' Design Group
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

I hope Berikco will move this...

Using libv2 for sound-fx is not possible (it wasn't made for this purpose).
You're right, KKrieger will use the same synth engine for effects but hey, it's their code ;)
Good programmers don't comment their code. It was hard to write, should be hard to read.
Post Reply