I see that it's a CMake problem (because the file needs to be excluded
from compilation) but I don't know how to fix it. AFAICS, the
CMakeList.txt file is correct:
list(REMOVE_ITEM mathed_sources
${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.cpp
${TOP_SRC_DIR}/src/mathed/InsetFormulaMacro.cpp)
Idea someone?
Abdel.
Abdelrazak Younes wrote:
InsetMathXYArrow.cpp
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(33) : error C2259:
'lyx::InsetMathXYArrow' : cannot instantiate abstract class
due to following members:
'bool lyx::InsetBase::metrics(lyx::MetricsInfo &,lyx::Dimension
&) const' : is abstract
D:\devel\lyx\trunk\src\insets/InsetBase.h(110) : see declaration
of 'lyx::InsetBase::metrics'
'std::auto_ptr<_Ty> lyx::InsetBase::doClone(void) const' : is
abstract
with
[
_Ty=lyx::InsetBase
]
D:\devel\lyx\trunk\src\insets/InsetBase.h(479) : see declaration
of 'lyx::InsetBase::doClone'
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(112) : error C2660:
'lyx::InsetBase::editing' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(133) : error C2661:
'lyx::frontend::Painter::text' : no overloaded function takes 3 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(136) : error C2660:
'lyx::MathArray::xm' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(136) : error C2660:
'lyx::MathArray::ym' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(136) : error C2660:
'lyx::MathArray::xm' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(136) : error C2660:
'lyx::MathArray::ym' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(137) : error C2660:
'lyx::MathArray::xm' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(137) : error C2660:
'lyx::MathArray::xm' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(137) : error C2660:
'lyx::MathArray::ym' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.cpp(137) : error C2660:
'lyx::MathArray::ym' : function does not take 0 arguments
InsetFormulaMacro.cpp
..\..\..\..\src\mathed\InsetFormulaMacro.cpp(36) : error C2868:
'lyx::odocstream' : illegal syntax for using-declaration; expected
qualified-name
..\..\..\..\src\mathed\InsetFormulaMacro.cpp(48) : error C2664:
'std::basic_string<_Elem>::basic_string(const std::allocator<_Ty> &)' :
cannot convert parameter 1 from 'const char [9]' to 'const
std::allocator<_Ty> &'
with
[
_Elem=lyx::char_type,
_Ty=lyx::char_type
]
and
[
_Ty=lyx::char_type
]
Reason: cannot convert from 'const char [9]' to 'const
std::allocator<_Ty>'
with
[
_Ty=lyx::char_type
]
No constructor could take the source type, or constructor
overload resolution was ambiguous
..\..\..\..\src\mathed\InsetFormulaMacro.cpp(53) : error C2511:
'lyx::InsetFormulaMacro::InsetFormulaMacro(const std::string &,int,const
std::string &)' : overloaded member function not found in
'lyx::InsetFormulaMacro'
d:\devel\lyx\trunk\src\mathed\InsetFormulaMacro.h(29) : see
declaration of 'lyx::InsetFormulaMacro'
..\..\..\..\src\mathed\InsetFormulaMacro.cpp(188) : error C2059: syntax
error : '}'
..\..\..\..\src\mathed\InsetFormulaMacro.cpp(189) : error C2612:
trailing 'end of file' illegal in base/member initializer list
..\..\..\..\src\mathed\InsetFormulaMacro.cpp(189) : fatal error C1004:
unexpected end-of-file found