Re: #error "no FPM selected"

"Rick" <[email protected]> Tue, 27 Dec 2005 15:33:16 -0000
Newsgroups gmane.comp.audio.mad.user
Message-ID <017201c60afa$dd93a3a0$26dcfea9@master>
I don`t know about your specific circumstances, but I had trouble

with FPM while playing with Mad in Visual Studio. I ended up defining it

at the top of fixed.h , eg

//start of fixed.h

# ifndef LIBMAD_FIXED_H

# define LIBMAD_FIXED_H

#define FPM_INTEL

#define OPT_ACCURACY

....

#endif

//end of fixed.h

----- Original Message -----=20
From: "Sonia" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 27, 2005 1:18 PM
Subject: [mad-user] #error "no FPM selected"


I'm using libmad to decode some mp3 sound. But not in a normal way, i'm=20
using a
program in windows platform to compile the code, and I get the folloing=20
error

"
In file included from TestApp_Memory/src/libmad/frame.h:25,
from TestApp_Memory/src/libmad/decoder.c:51:
TestApp_Memory/src/libmad/fixed.h:446:3: #error "no FPM selected" "

I already use this library on linux and it work ok, with the make. but no=
w i
need to integrated with a another program, microblaze, where I only have =
a
normal gcc compiler. Do I need somme specific Flags to compile it and run=
=20
it?

I don't know if it is important but I dont send a file to the input now, =
I'm
reading the streams directly from the memory.
that means that the decode function receives a pointer to the mem_address.


cyas

Sonia Gon=C3=A7alves