|
From: Vincent O. <vi...@up...> - 2013-10-06 21:31:42
|
Hi!
I'm trying to build MXFLib on Mac OS X 10.8.5 and I'm getting this error. Can anyone help, please? Regards.
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
make all-recursive
Making all in mxflib
if g++ -DHAVE_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DDEFAULT_DICT_PATH=\"/usr/local/share/mxflib\" -Wall -g -O2 -MT crypto.o -MD -MP -MF ".deps/crypto.Tpo" \
-c -o crypto.o `test -f 'crypto.cpp' || echo './'`crypto.cpp; \
then mv -f ".deps/crypto.Tpo" ".deps/crypto.Po"; \
else rm -f ".deps/crypto.Tpo"; exit 1; \
fi
In file included from crypto.cpp:31:
In file included from ../mxflib/mxflib.h:85:
../mxflib/smartptr.h:506:48: error: member reference base type 'SmartPtr<T> *' is not a structure or union
bool operator<(SmartPtr &Other) { return this.operator<(*Other->GetPtr()); }
~~~~^~~~~~~~~~
In file included from crypto.cpp:31:
In file included from ../mxflib/mxflib.h:105:
../mxflib/metadata.h:367:8: warning: 'mxflib::DMSegment::MakeLink' hides overloaded virtual functions [-Woverloaded-virtual]
bool MakeLink(MDObjectPtr DMFramework);
^
../mxflib/metadata.h:165:16: note: hidden overloaded virtual function 'mxflib::Component::MakeLink' declared here
virtual bool MakeLink(TrackPtr SourceTrack, Int64 StartPosition = 0) { return false; }
^
../mxflib/metadata.h:169:16: note: hidden overloaded virtual function 'mxflib::Component::MakeLink' declared here
virtual bool MakeLink(UMIDPtr LinkUMID, UInt32 LinkTrackID, Int64 StartPosition = 0) { return false; }
^
1 warning and 1 error generated.
make[2]: *** [crypto.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 |