SVN doesn't build anymore

Discuss the current and future development of Max.
Post Reply
zoltar
Posts: 6
Joined: Tue Nov 20, 2007 2:35 am

SVN doesn't build anymore

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

Re: SVN doesn't build anymore

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.

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: SVN doesn't build anymore

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

Re: SVN doesn't build anymore

Post by zoltar » Tue Nov 20, 2007 5:18 am

Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests