i use vs2010 to build librecad, 133 errors occurred.
错误 6 error MSB6006: “cmd.exe”已退出,代码为 3。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 align 错误 7 error MSB6006: “cmd.exe”已退出,代码为 3。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 list 错误 8 error MSB6006: “cmd.exe”已退出,代码为 3。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 sameprop 错误 9 error MSB6006: “cmd.exe”已退出,代码为 3。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 asciifile 错误 12 error MSB6006: “cmd.exe”已退出,代码为 3。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 importshp 错误 13 error MSB6006: “cmd.exe”已退出,代码为 3。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 sample 错误 18 error C2057: 应输入常量表达式 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_entities.cpp 243 1 dxfrw 错误 19 error C2466: 不能分配常量大小为 0 的数组 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_entities.cpp 243 1 dxfrw 错误 20 error C2133: “byteStr”: 未知的大小 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_entities.cpp 243 1 dxfrw 错误 21 error C2057: 应输入常量表达式 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_entities.cpp 275 1 dxfrw 错误 22 error C2466: 不能分配常量大小为 0 的数组 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_entities.cpp 275 1 dxfrw 错误 23 error C2133: “byteStr”: 未知的大小 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_entities.cpp 275 1 dxfrw 错误 37 error C2059: 语法错误:“}” e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 30 1 jwwlib 错误 38 error C2143: 语法错误 : 缺少“;”(在“}”的前面) e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 30 1 jwwlib 错误 39 error C2059: 语法错误:“}” e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 30 1 jwwlib 错误 40 error C2146: 语法错误: 缺少“;”(在标识符“m_nLay”的前面) e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 37 1 jwwlib 错误 41 error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 37 1 jwwlib 错误 42 error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 37 1 jwwlib 错误 43 error C2447: “{”: 缺少函数标题(是否是老式的形式表?) e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 176 1 jwwlib 错误 46 error C1004: 发现意外的文件尾 E:\work\LibreCAD-master\libraries\jwwlib\src\dl_jww.cpp 1640 1 jwwlib 错误 52 error C2057: 应输入常量表达式 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_objects.cpp 132 1 dxfrw 错误 53 error C2466: 不能分配常量大小为 0 的数组 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_objects.cpp 132 1 dxfrw 错误 54 error C2133: “byteStr”: 未知的大小 E:\work\LibreCAD-master\libraries\libdxfrw\src\drw_objects.cpp 132 1 dxfrw 错误 59 error C1083: 无法打开源文件:“src\drw_textcodec.cpp”: No such file or directory E:\work\LibreCAD-master\libraries\libdxfrw\c1xx dxfrw 错误 60 error C1083: 无法打开源文件:“src\dxfreader.cpp”: No such file or directory E:\work\LibreCAD-master\libraries\libdxfrw\c1xx dxfrw 错误 61 error C1083: 无法打开源文件:“src\dxfwriter.cpp”: No such file or directory E:\work\LibreCAD-master\libraries\libdxfrw\c1xx dxfrw 错误 62 error C2059: 语法错误:“}” e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 30 1 jwwlib 错误 63 error C2143: 语法错误 : 缺少“;”(在“}”的前面) e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 30 1 jwwlib 错误 64 error C2059: 语法错误:“}” e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 30 1 jwwlib 错误 65 error C2146: 语法错误: 缺少“;”(在标识符“m_nLay”的前面) e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 37 1 jwwlib 错误 66 error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 37 1 jwwlib 错误 67 error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 37 1 jwwlib 错误 68 error C2447: “{”: 缺少函数标题(是否是老式的形式表?) e:\work\librecad-master\libraries\jwwlib\src\jwwdoc.h 176 1 jwwlib 错误 70 error C2653: “JWWDocument”: 不是类或命名空间名称 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 580 1 jwwlib 错误 71 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 588 1 jwwlib 错误 72 error C2227: “->write”的左边必须指向类/结构/联合/泛型类型 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 588 1 jwwlib 错误 73 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 590 1 jwwlib 错误 74 error C2228: “.JW_DATA_VERSION”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 590 1 jwwlib 错误 75 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 591 1 jwwlib 错误 76 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 593 1 jwwlib 错误 77 error C2228: “.m_strMemo”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 593 1 jwwlib 错误 78 error C3861: “WriteString”: 找不到标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 593 1 jwwlib 错误 79 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 595 1 jwwlib 错误 80 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 597 1 jwwlib 错误 81 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 599 1 jwwlib 错误 82 error C2228: “.GLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 599 1 jwwlib 错误 83 error C2228: “.m_anGLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 599 1 jwwlib 错误 84 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 600 1 jwwlib 错误 85 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 601 1 jwwlib 错误 86 error C2228: “.GLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 601 1 jwwlib 错误 87 error C2228: “.m_anWriteLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 601 1 jwwlib 错误 88 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 602 1 jwwlib 错误 89 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 603 1 jwwlib 错误 90 error C2228: “.GLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 603 1 jwwlib 错误 91 error C2228: “.m_adScale”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 603 1 jwwlib 错误 92 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 604 1 jwwlib 错误 93 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 605 1 jwwlib 错误 94 error C2228: “.GLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 605 1 jwwlib 错误 95 error C2228: “.m_anGLayProtect”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 605 1 jwwlib 错误 96 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 606 1 jwwlib 错误 97 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 608 1 jwwlib 错误 98 error C2228: “.GLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 608 1 jwwlib 错误 99 error C2228: “.m_nLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 608 1 jwwlib 错误 100 error C2228: “.m_aanLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 608 1 jwwlib 错误 101 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 609 1 jwwlib 错误 102 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 610 1 jwwlib 错误 103 error C2228: “.GLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 610 1 jwwlib 错误 104 error C2228: “.m_nLay”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 610 1 jwwlib 错误 105 error C2228: “.m_aanLayProtect”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 610 1 jwwlib 错误 106 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 611 1 jwwlib 错误 107 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 617 1 jwwlib 错误 108 error C2228: “.Dummy”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 617 1 jwwlib 错误 109 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 618 1 jwwlib 错误 110 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 621 1 jwwlib 错误 111 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 622 1 jwwlib 错误 112 error C2228: “.m_lnSunpou2”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 622 1 jwwlib 错误 113 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 623 1 jwwlib 错误 114 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 624 1 jwwlib 错误 115 error C2228: “.m_lnSunpou3”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 624 1 jwwlib 错误 116 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 625 1 jwwlib 错误 117 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 626 1 jwwlib 错误 118 error C2228: “.m_lnSunpou4”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 626 1 jwwlib 错误 119 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 627 1 jwwlib 错误 120 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 628 1 jwwlib 错误 121 error C2228: “.m_lnSunpou5”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 628 1 jwwlib 错误 122 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 629 1 jwwlib 错误 123 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 631 1 jwwlib 错误 124 error C2228: “.Dummy1”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 631 1 jwwlib 错误 125 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 632 1 jwwlib 错误 126 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 634 1 jwwlib 错误 127 error C2228: “.m_nMaxDrawWid”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 634 1 jwwlib 错误 128 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 635 1 jwwlib 错误 129 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 637 1 jwwlib 错误 130 error C2228: “.m_DPPrtGenten”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 637 1 jwwlib 错误 131 error C2228: “.x”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 637 1 jwwlib 错误 132 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 638 1 jwwlib 错误 133 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 640 1 jwwlib 错误 134 error C2228: “.m_DPPrtGenten”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 640 1 jwwlib 错误 135 error C2228: “.y”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 640 1 jwwlib 错误 136 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 641 1 jwwlib 错误 137 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 643 1 jwwlib 错误 138 error C2228: “.m_dPrtBairitsu”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 643 1 jwwlib 错误 139 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 644 1 jwwlib 错误 140 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 646 1 jwwlib 错误 141 error C2228: “.m_nPrt90Kaiten”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 646 1 jwwlib 错误 142 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 647 1 jwwlib 错误 143 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 649 1 jwwlib 错误 144 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 651 1 jwwlib 错误 145 error C2228: “.m_dMemoriHyoujiMin”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 651 1 jwwlib 错误 146 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 652 1 jwwlib 错误 147 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 654 1 jwwlib 错误 148 error C2228: “.m_dMemoriX”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 654 1 jwwlib 错误 149 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 655 1 jwwlib 错误 150 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 657 1 jwwlib 错误 151 error C2228: “.m_dMemoriY”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 657 1 jwwlib 错误 152 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 658 1 jwwlib 错误 153 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 660 1 jwwlib 错误 154 error C2228: “.m_DpMemoriKijunTen”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 660 1 jwwlib 错误 155 error C2228: “.x”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 660 1 jwwlib 错误 156 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 661 1 jwwlib 错误 157 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 663 1 jwwlib 错误 158 error C2228: “.m_DpMemoriKijunTen”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 663 1 jwwlib 错误 159 error C2228: “.y”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 663 1 jwwlib 错误 160 error C2065: “ofs”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 664 1 jwwlib 错误 161 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 668 1 jwwlib 错误 162 error C2228: “.m_aStrLayName”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 668 1 jwwlib 错误 163 error C3861: “WriteString”: 找不到标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 668 1 jwwlib 错误 164 error C2065: “Header”: 未声明的标识符 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 671 1 jwwlib 错误 165 error C2228: “.m_aStrGLayName”的左边必须有类/结构/联合 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 671 1 jwwlib 错误 166 error C1003: 错误计数超过 100;正在停止编译 E:\work\LibreCAD-master\libraries\jwwlib\src\jwwdoc.cpp 671 1 jwwlib 错误 167 error MSB6006: “cmd.exe”已退出,代码为 3。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 LibreCAD 168 IntelliSense: 表达式必须含有常量值 e:\work\librecad-master\libraries\libdxfrw\src\drw_entities.cpp 243 24 dxfrw 169 IntelliSense: 表达式必须含有常量值 e:\work\librecad-master\libraries\libdxfrw\src\drw_entities.cpp 275 24 dxfrw |
Hi,
First, visual studio 2010 is no longer supported, because LibreCAD uses c++11, while c++11 is only partially supported. For later versions of visual studio, it's probably possible to to generate a new solution from the qmake .pro file, but help is needed. If you would like to help, please send in pull requests at github or email us a solution file. 谢谢! dxli
|
OK, i will try to build it with visual studio 2013, i need set up the visual studio 2013 first.
my poor computer,it's too slowly. |
In reply to this post by dxli
What a tragedy
visual studio 2013 not support VLA, there is used in librecad code many times. so...... |
we can replace all VLA with std::array
|
maybe, std::vector is better.
|
yeah, VLA maybe never supported by m$, so, replace it is a good idea.
i will try build it in vs2013 when you replaced it. |
why not just build it with mingw? as specified in wiki:
http://wiki.librecad.org/index.php/LibreCAD_Installation_from_Source#Building_LibreCAD_2.0_on_Windows
|
i build it on qt creator, but i want try to build it on visual studio
|
I too would like to use Visual Studio - in my case I want to use VS2013. I assumed since the VS projects eg libraries/libdxfrw/dxfrw.vcxproj, were there, it should build! Im using 2.0.7-524-g491145b and got drw_entities.cpp(243): error C2057: expected constant expression dint16 extDataSize = buf->getBitShort(); //BS . . . duint8 byteStr[extDataSize]; <<<<<<<<<<<<<<<<< Is anyone dealing with this? I realise Variable length arrays are controversial, but they are NOT part of the standard yet, and standards, good or bad, should be followed I feel. |
We can replace all vla
Int va[length]; To Std::unique_ptr<int> pva(new int[length]); |
In reply to this post by frankdownunder
You can get the libdxfrw code working with msvc 2013 from:
http://sourceforge.net/p/libdxfrw/code/ci/master/tree/ |
Sourceforge have several problems, attached the codelibdxfrw-0.xz
|
Free forum by Nabble | Edit this page |