Discussion:
[mad-user] #error "no FPM selected"
Sonia
2005-12-27 13:18:36 UTC
Permalink
I'm using libmad to decode some mp3 sound. But not in a normal way, i'm using a
program in windows platform to compile the code, and I get the folloing 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 now 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 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çalves
Rick
2005-12-27 15:33:16 UTC
Permalink
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 -----
From: "Sonia" <***@ualg.pt>
To: <mad-***@lists.mars.org>
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
using a
program in windows platform to compile the code, and I get the folloing
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 now 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
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çalves

Loading...