Re: Help wanted to build on Windows
Posted by
Gary S on
Apr 26, 2019; 6:00pm
URL: https://forum.librecad.org/Help-wanted-to-build-on-Windows-tp5717272p5717306.html
As noted in this post:
http://forum.librecad.org/Build-Instructions-for-Windows-macOS-td5717305.html ...
Built on Windows 7 with Qt Creator and boost 1.70.0, Qt 5.12.2 / MinGW 7.3.0 32-bit. The source code was cloned today. I'll also try with MinGW 4.9.1 32-bit and update later if I get anything different.
Error 1
C:\develop\LibreCAD\librecad\src\lib\math\rs_math.cpp:323: error: no matching function for call to 'mu::Parser::DefineConst(const char [3], double)'
p.DefineConst("pi",M_PI);
^
Error 2
C:\develop\LibreCAD\librecad\src\lib\math\rs_math.cpp:324: error: no matching function for call to 'mu::Parser::SetExpr(std::__cxx11::string)'
p.SetExpr(expr_copy.toStdString());
^
Error 3
C:\develop\LibreCAD\librecad\src\lib\math\rs_math.cpp:330: 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;
~~~~~~~~~~^~~~~~~~~~~~~
Error 4
C:\Qt\Tools\mingw730_32\lib\gcc\i686-w64-mingw32\7.3.0\include\c++\ostream:682: error: no type named 'type' in 'struct std::enable_if<false, std::basic_ostream<char>&>'