![]() ![]() scripts/custom-windows.batĮcho 'set MINGW_VER=mingw73_64' >. scripts/custom-windows.batĮcho 'set NSIS_DIR=C:\Program Files (x86)\NSIS' >. # Prepare custom-windows.bat as described in LibreCAD wikiĮcho "set Qt_DIR=C:\Qt\Qt$QT_VERSION\\$QT_VERSION" >. My steps to run in bash (inside cloned LibreCAD directory):īOOST_ZIP="boost_$(echo $BOOST_VERSION | sed 's|\.|_|g').7z"īOOST_DIR="/boost/boost_$(echo $BOOST_VERSION | sed 's|\.|_|g')"īOOST_URL="$BOOST_URL/$BOOST_VERSION/$BOOST_ZIP/download" ![]() Just a 7z archive that can be extracted and run LibreCAD afterwards. Because of this I didn't find a way to create NSIS setup after successful LibreCAD build. The full list of preinstalled tools on that virtual machine is available here. It was a virtual machine running in the cloud. I built successfully on Windows Server 2019. I'm trying to get in touch with any of the other active developers. That will get it to build, but the correct solution seems to be fixing the math cpps. My "hackaround" was to add the following to muParserDef.h: It appears to be the only obstacle for 100% compilation with the UNICODE flags. I did not see any reason that the muParser library should not be built for unicode. Indeed, the muParserDef.h unit specifies just such a macro. They should instead use a _TEXT("sometext") style macro to in order to support both char and wchar. The errors then occur due to the fact that several of the string constants used in the math cpps are not wchar (ex: L"a widechar string"). This causes the muParser to be built for wchar instead of char. The command lines that Qt is passing to the muParser build (plus everything else - new windows configuration?) include the defines -DUNICODE and -D_UNICODE. It appears to be a bug in the UNICODE support. I'll also try with MinGW 4.9.1 32-bit and update later if I get anything different.Įrror 1 C:\develop\LibreCAD\librecad\src\lib\math\rs_math.cpp:323: error: no matching function for call to 'mu::Parser::DefineConst(const char, double)'Įrror 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)'Įrror 3 C:\develop\LibreCAD\librecad\src\lib\math\rs_math.cpp:330: error: no match for 'operator}' and 'const string_type ') Built on Windows 7 with Qt Creator and boost 1.70.0, Qt 5.12.2 / MinGW 7.3.0 32-bit. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |