freeMXF.org
http://freemxf.org/forum/

Compile problem
http://freemxf.org/forum/viewtopic.php?f=2&t=75
Page 1 of 1

Author:  isorox [ Wed Mar 14, 2007 5:47 am ]
Post subject:  Compile problem

Probably a very stupid question, however google isn't helping. configure works fine, aside from dot
configure: WARNING: *** dot not found (part of Graphviz), class graphs will not be built

Make fails at the first hurdle though

(plusplus is actually ++, I get internal server error otherwise)
gplusplus -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 crypto.cpp

../mxflib/mxffile.h:207: error: extra qualification âmxflib::MXFFile::â on member âReWritePartitionâ
../mxflib/mxffile.h:216: error: extra qualification âmxflib::MXFFile::â on member âReWritePartitionWithIndexâ

Any ideas?

Author:  Matt Beard [ Wed Mar 14, 2007 12:06 pm ]
Post subject: 

Yes, this one has been spotted before...

There is an issue with a copy and paste error that adds class qualifiers in front of function declarations for a couple of methods in the class definition of MXFFile. This is generally considered harmless, but the latest version of gcc now complains about them.

The solution is to locate the offending lines in mxffile.h (roughly lines 205-220) and remove the redundant MXFFile:: qualifiers.

If you check-out the latest version of mxflib.h it has already been fixed.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/