Re: Compiling LibreCad-2.2.0.alpha on Windows 10 with Qt 4.4.1
Posted by qium06 on
URL: https://forum.librecad.org/Compiling-LibreCad-2-2-0-alpha-on-Windows-10-with-Qt-4-4-1-tp5715344p5715500.html
I am in trouble with the same problem. My OS is win7. I use Qt Creator 4.4.1(based on Qt5.9.3).
\LibreCAD\librecad\src\lib\math\rs_math.cpp:305: error: no matching function for call to 'mu::Parser::DefineConst(const char [3], double)'
p.DefineConst("pi",M_PI);
^
\LibreCAD\librecad\src\lib\math\rs_math.cpp:306: error: no matching function for call to 'mu::Parser::SetExpr(std::__cxx11::string)'
p.SetExpr(expr_copy.toStdString());
^
\LibreCAD\librecad\src\lib\math\rs_math.cpp:312: error: no match for 'operator<<' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and 'const string_type {aka const std::__cxx11::basic_string<wchar_t>}')
std::cout << e.GetMsg() << std::endl;
^