Discuss the current and future development of Max.
-
zoltar
- Posts: 6
- Joined: Tue Nov 20, 2007 2:35 am
Post
by zoltar » Tue Nov 20, 2007 2:40 am
I haven't been able to compile SVN lately (since 10.5.1 upgrade?). It used to compile fine by following the directions but now I get the errors:
Code: Select all
In file included from /Users/curtis/svn/Max/Decoders/Decoder.m:29:
/Users/curtis/svn/Max/Decoders/MPEGDecoder.h:24:21: error: mad/mad.h: No such file or directory
In file included from /Users/curtis/svn/Max/Decoders/Decoder.m:29:
/Users/curtis/svn/Max/Decoders/MPEGDecoder.h:53: error: field ‘_mad_stream’ has incomplete type
/Users/curtis/svn/Max/Decoders/MPEGDecoder.h:53: error: instance variable ‘_mad_stream’ has unknown size
/Users/curtis/svn/Max/Decoders/MPEGDecoder.h:54: error: field ‘_mad_frame’ has incomplete type
/Users/curtis/svn/Max/Decoders/MPEGDecoder.h:54: error: instance variable ‘_mad_frame’ has unknown size
/Users/curtis/svn/Max/Decoders/MPEGDecoder.h:55: error: field ‘_mad_synth’ has incomplete type
/Users/curtis/svn/Max/Decoders/MPEGDecoder.h:55: error: instance variable ‘_mad_synth’ has unknown size
I've tried re-checking out and rebuilding the Frameworks but, same problem.
Any help appreciated
-
zoltar
- Posts: 6
- Joined: Tue Nov 20, 2007 2:35 am
Post
by zoltar » Tue Nov 20, 2007 2:59 am
I think it might be because I'm using a file sensitive HFS filesystem. The Frameworks/MAD directory is upper case but the #includes are using lower case mad.
-
sbooth
- Site Admin
- Posts: 2445
- Joined: Fri Dec 23, 2005 7:45 am
- Location: USA
-
Contact:
Post
by sbooth » Tue Nov 20, 2007 4:40 am
Since the framework name is mad.framework, the #includes are correct. The problem was in the .xcodeproj file, where the path was mad in lower case. I've fixed it now- thanks for pointing this out.
-
zoltar
- Posts: 6
- Joined: Tue Nov 20, 2007 2:35 am
Post
by zoltar » Tue Nov 20, 2007 5:18 am
Thanks!