Open GoogleCodeExporter opened 8 years ago
You must change something to compile it on 10.6.x.
Replace
SDK_TARGET=10.4 with SDK_TARGET=10.6
and MacOSX10.4u.sdk with MacOSX10.6.sdk.
in
movist/contrib/bootstrap
movist/contrib/src/build_extlib.sh
Original comment by jyoo...@gmail.com
on 20 Feb 2011 at 6:09
Thank you veeeeeeeeeeery much for your help!
I succeeded to change that and it works...
But, unfortunately I'm stuck again..
When I open main project file in xcode and try to compile it I get 28 errors.
And it is probably one error in file MacWindows.h, which is Apple's file.
The error is somewhere here:
kHIWindowVisibleInAllSpaces = kHIWindowCanJoinAllSpaces
};
It says "Expected identifier before '(' token"
But when I try to change something in this file it says that file is read-only,
probably because it is apple's framework a it is not meant to be changed.
I'm asking myself if I'm the only one who have this kind of stupid problems..
Original comment by per...@gmail.com
on 20 Feb 2011 at 2:29
I solved that, just commented one line in Movist.h file:
It used to be
#define kHIWindowVisibleInAllSpaces (1 << 8)
and I commented it so now it is
//#define kHIWindowVisibleInAllSpaces (1 << 8)
..
But again I have next problem, no it is showing to me this:
CompileC
build/Movist.build/Debug/Movist.build/Objects-normal/i386/MSubtitleParser_MKV.o
MSubtitleParser_MKV.mm normal i386 objective-c++ com.apple.compilers.gcc.4_0
cd "/Users/peterfabry/Documents/movist_novo/movist copy"
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.0 -x objective-c++ -arch i386 -fmessage-length=0 -pipe
-Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type
-Wunused-variable -DDEBUG -isysroot /Developer/SDKs/MacOSX10.6.sdk
-mfix-and-continue -fvisibility-inlines-hidden -fobjc-call-cxx-cdtors
-mmacosx-version-min=10.6 -gdwarf-2
"-I/Users/peterfabry/Documents/movist_novo/movist
copy/build/Movist.build/Debug/Movist.build/Movist.hmap"
"-F/Users/peterfabry/Documents/movist_novo/movist copy/build/Debug"
"-I/Users/peterfabry/Documents/movist_novo/movist copy/build/Debug/include"
-I/Users/peterfabry/Documents/movist_novo/movist -Icopy/contrib/i386/include
"-I/Users/peterfabry/Documents/movist_novo/movist
copy/build/Movist.build/Debug/Movist.build/DerivedSources/i386"
"-I/Users/peterfabry/Documents/movist_novo/movist
copy/build/Movist.build/Debug/Movist.build/DerivedSources" -c
"/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm" -o
"/Users/peterfabry/Documents/movist_novo/movist
copy/build/Movist.build/Debug/Movist.build/Objects-normal/i386/MSubtitleParser_M
KV.o"
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:29:31: error: ebml/StdIOCallback.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:30:26: error: ebml/EbmlHead.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:31:28: error: ebml/EbmlStream.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:32:28: error: ebml/EbmlMaster.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:33:26: error: ebml/EbmlVoid.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:34:27: error: ebml/EbmlCrc32.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:35:30: error: matroska/KaxBlock.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:36:32: error: matroska/KaxCluster.h: No such file
or directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:37:29: error: matroska/KaxInfo.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:38:33: error: matroska/KaxInfoData.h: No such file
or directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:39:32: error: matroska/KaxSegment.h: No such file
or directory
/Users/peterfabry/Documents/movist_novo/movist
copy/MSubtitleParser_MKV.mm:40:31: error: matroska/KaxTracks.h: No such file or
directory
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:176:
error: expected type-specifier before 'EbmlMaster'
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:176:
error: expected `)' before 'EbmlMaster'
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm: In
function 'void -[MSubtitleParser_MKV readMaster:](MSubtitleParser_MKV*,
objc_selector*, <type error>)':
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:176:
error: expected `{' before '*' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:176:
error: expected primary-expression before ')' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:176:
error: expected `;' before ')' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:200:
error: 'parseInfo' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:201:
error: expected `;' before '{' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:219:
error: 'parseTracks' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:220:
error: expected `;' before '{' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:302:
error: 'parseBlockGroup' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:303:
error: expected `;' before '{' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:385:
error: 'parseCluster' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:386:
error: expected `;' before '{' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:411:
error: expected class-name before '{' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:421:
error: 'seek_mode' has not been declared
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:421:
error: 'seek_beginning' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm: In
constructor '-[MSubtitleParser_MKV readMaster:](MSubtitleParser_MKV*,
objc_selector*, <type error>)::StdIOCallback64::StdIOCallback64(NSString*,
BOOL)':
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:414:
warning: local declaration of '_file' hides instance variable
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm: In
member function 'virtual uint64 -[MSubtitleParser_MKV
readMaster:](MSubtitleParser_MKV*, objc_selector*, <type
error>)::StdIOCallback64::getFilePointer()':
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:420:
warning: local declaration of '_file' hides instance variable
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm: In
member function 'virtual uint32 -[MSubtitleParser_MKV
readMaster:](MSubtitleParser_MKV*, objc_selector*, <type
error>)::StdIOCallback64::read(void*, size_t)':
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:422:
warning: local declaration of '_file' hides instance variable
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm: In
member function 'virtual size_t -[MSubtitleParser_MKV
readMaster:](MSubtitleParser_MKV*, objc_selector*, <type
error>)::StdIOCallback64::write(const void*, size_t)':
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:423:
warning: local declaration of '_file' hides instance variable
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm: In
member function 'virtual void -[MSubtitleParser_MKV
readMaster:](MSubtitleParser_MKV*, objc_selector*, <type
error>)::StdIOCallback64::close()':
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:424:
warning: local declaration of '_file' hides instance variable
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm: In
function 'void -[MSubtitleParser_MKV readMaster:](MSubtitleParser_MKV*,
objc_selector*, <type error>)':
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:427:
error: 'seek_mode' has not been declared
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:428:
error: a function-definition is not allowed here before '{' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:440:
error: 'initEbmlStream' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:441:
error: expected `;' before '{' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:476:
error: 'cleanupEbmlStream' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:477:
error: expected `;' before '{' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:487:
error: 'parse' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:487:
error: expected `;' before ':' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:593:
error: 'parseWithOptions' was not declared in this scope
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:593:
error: expected `;' before ':' token
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:614:
error: expected `}' before 'end'
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm: At
global scope:
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:614:
warning: incomplete implementation of class 'MSubtitleParser_MKV'
/Users/peterfabry/Documents/movist_novo/movist copy/MSubtitleParser_MKV.mm:614:
warning: method definition for '-parseWithOptions:error:' not found
Original comment by per...@gmail.com
on 20 Feb 2011 at 3:57
Hi,
I'm trying to build the sources. I'm using MacOSx 10.6.7 with xcode 3.2.6.
I've run the build_extlib.sh with success. In xcode i get some errors:
/Users/djorge/dev/movist_src/trunk/MMovie_FFMPEG.m: In function
'traceAVFormatContext':
/Users/djorge/dev/movist_src/trunk/MMovie_FFMPEG.m:81: error: 'struct AVStream'
has no member named 'language'
/Users/djorge/dev/movist_src/trunk/MMovie_FFMPEG.m:82: error: 'struct AVStream'
has no member named 'language'
/Users/djorge/dev/movist_src/trunk/MMovie_FFMPEG.m:88: error:
'CODEC_TYPE_VIDEO' undeclared (first use in this function)
/Users/djorge/dev/movist_src/trunk/MMovie_FFMPEG.m:88: error: (Each undeclared
identifier is reported only once
/Users/djorge/dev/movist_src/trunk/MMovie_FFMPEG.m:88: error: for each function
it appears in.)
Could anyone help, please?
Original comment by djorge...@gmail.com
on 12 Jun 2011 at 11:16
[deleted comment]
clearly, i'm compiling with the wrong version of libavformat. There is no much
information about what version of ffmpeg should be used. Can anyone help?
Original comment by djorge...@gmail.com
on 14 Jun 2011 at 3:24
Original issue reported on code.google.com by
per...@gmail.com
on 15 Feb 2011 at 6:50