| Unless there is in fact something awry earlier, the most likely reason
for this is that FILE has not been defined - it's normally defined (a
macro) in the header file . So you would need to check the
#include list at the top of the file, and check those, etc.
Richard Dobson
Dave Phillips wrote:
> Greetings:
>
> I'm trying to compile Mara Helmuth's Patchmix for g++ under Linux. I
>
> finally found and compiled the Lamont X Toolkit library, now I'm
> running
> into this problem:
>
> brutus:~/tmp/pmix/g++# make -f Makefile.linux
> g++ -O -fstrength-reduce -finline-functions -DBIGENDIAN -DXSET
> -I/usr/include/g++ -c patch.c -o patch.o
> In file included from plus.h:48,
> from patch.c:22:
> inst.h:21: syntax error before `*'
>
> Lines 1 through 17 are all comments or blank lines. And here's what's
> in
> inst.h at line 21:
>
> class instrument
> {
> private:
> --> FILE* fp;
>
> I know next to nothing about C++ programming, so am I missing
> something
> obvious here ? I figure there must be some good C++ programmers on
> this
> list, I hope no-one minds my asking here...
>
> == Dave Phillips
>
> http://www.bright.net/~dlphilp/index.html
> http://www.bright.net/~dlphilp/linux_soundapps.html
|