Title: How to compile with MinGW-w64 on Windows-10 · Issue #455 · stepcode/stepcode · GitHub
Open Graph Title: How to compile with MinGW-w64 on Windows-10 · Issue #455 · stepcode/stepcode
X Title: How to compile with MinGW-w64 on Windows-10 · Issue #455 · stepcode/stepcode
Description: Consider the guide of https://github.com/stepcode/stepcode/blob/master/INSTALL Building SC from the command prompt: - cd sc - mkdir build - cd build - cmake .. - make - make install # optional E:\stepcode-develop\build>cmake -G "MinGW Ma...
Open Graph Description: Consider the guide of https://github.com/stepcode/stepcode/blob/master/INSTALL Building SC from the command prompt: - cd sc - mkdir build - cd build - cmake .. - make - make install # optional E:\s...
X Description: Consider the guide of https://github.com/stepcode/stepcode/blob/master/INSTALL Building SC from the command prompt: - cd sc - mkdir build - cd build - cmake .. - make - make install # optional E:\s...
Opengraph URL: https://github.com/stepcode/stepcode/issues/455
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to compile with MinGW-w64 on Windows-10","articleBody":"Consider the guide of \r\n- https://github.com/stepcode/stepcode/blob/master/INSTALL\r\n\r\n```text\r\nBuilding SC from the command prompt:\r\n - cd sc\r\n - mkdir build\r\n - cd build\r\n - cmake ..\r\n - make\r\n - make install # optional\r\n ```\r\n\r\n```text\r\nE:\\stepcode-develop\\build\u003ecmake -G \"MinGW Makefiles\" ..\r\n-- The C compiler identification is GNU 8.1.0\r\n-- The CXX compiler identification is GNU 8.1.0\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working C compiler: D:/Win10/mingw64/bin/gcc.exe - skipped\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Check for working CXX compiler: D:/Win10/mingw64/bin/c++.exe - skipped\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\nCMake Deprecation Warning at CMakeLists.txt:46 (cmake_policy):\r\n The OLD behavior for policy CMP0077 will be removed from a future version\r\n of CMake.\r\n\r\n The cmake-policies(7) manual explains that the OLD behaviors of all\r\n policies are deprecated and that a policy should be set to OLD only under\r\n specific short-term circumstances. Projects should be ported to the NEW\r\n behavior and not rely on setting a policy to OLD.\r\n\r\n\r\n-- Looking for ndir.h\r\n-- Looking for ndir.h - not found\r\n-- Looking for stdarg.h\r\n-- Looking for stdarg.h - found\r\n-- Looking for sys/stat.h\r\n-- Looking for sys/stat.h - found\r\n-- Looking for sys/param.h\r\n-- Looking for sys/param.h - found\r\n-- Looking for sysent.h\r\n-- Looking for sysent.h - not found\r\n-- Looking for unistd.h\r\n-- Looking for unistd.h - found\r\n-- Looking for dirent.h\r\n-- Looking for dirent.h - found\r\n-- Looking for stdbool.h\r\n-- Looking for stdbool.h - found\r\n-- Looking for process.h\r\n-- Looking for process.h - found\r\n-- Looking for io.h\r\n-- Looking for io.h - found\r\n-- Looking for abs\r\n-- Looking for abs - found\r\n-- Looking for memcpy\r\n-- Looking for memcpy - found\r\n-- Looking for memmove\r\n-- Looking for memmove - found\r\n-- Looking for getopt\r\n-- Looking for getopt - found\r\n-- Looking for snprintf\r\n-- Looking for snprintf - found\r\n-- Looking for vsnprintf\r\n-- Looking for vsnprintf - found\r\n-- Looking for sys/types.h\r\n-- Looking for sys/types.h - found\r\n-- Looking for stdint.h\r\n-- Looking for stdint.h - found\r\n-- Looking for stddef.h\r\n-- Looking for stddef.h - found\r\n-- Check size of ssize_t\r\n-- Check size of ssize_t - done\r\n-- Assuming compiler is capable of unity build. (SC_UNITY_BUILD=TRUE)\r\n-- Override by setting SC_UNITY_BUILD; TRUE will result in faster build times but *huge* translation units and higher memory use in compilation.\r\n-- Compiling schema scanner...\r\n-- Schema scanner built. Running it...\r\n-- Will generate 412 C++ files for sdai_ISO15926.\r\n-- Will generate 602 C++ files for sdai_ap203.\r\n-- Will generate 2354 C++ files for sdai_ap203e2.\r\n-- Will generate 5312 C++ files for sdai_ap209.\r\n-- Will generate 3392 C++ files for sdai_ap210e2.\r\n-- Will generate 4894 C++ files for sdai_ap210e3.\r\n-- Will generate 2124 C++ files for sdai_ap214e3.\r\n-- Will generate 820 C++ files for sdai_ap219.\r\n-- Will generate 774 C++ files for sdai_ap227.\r\n-- Will generate 1402 C++ files for sdai_ap235.\r\n-- Will generate 1098 C++ files for sdai_ap238.\r\n-- Will generate 1102 C++ files for sdai_ap239.\r\n-- Will generate 1136 C++ files for sdai_ap240.\r\n-- Will generate 4012 C++ files for sdai_ap242.\r\n-- Will generate 1736 C++ files for sdai_ifc2x3.\r\n-- Will generate 2072 C++ files for sdai_IFC4.\r\n-- Will generate 520 C++ files for sdai_pdm.\r\n-- ** Note: CMake variable SC_BUILD_SCHEMAS was not set - defaults to building ALL schemas\r\n-- .. Don't worry about any messages above about missing headers or failed tests, as long as\r\n-- you see 'Configuring done' below. Headers and features vary by compiler.\r\n-- .. Generating step can take a while if you are building several schemas.\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: E:/stepcode-develop/build\r\n\r\n\r\nE:\\stepcode-develop\\build\u003emake\r\n[ 0%] Building C object src/express/generated/CMakeFiles/objlib_expparse_c.dir/expparse.c.obj\r\nexpparse.y:35:16: warning: 'print_objects_while_running' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]\r\nexpparse.y:62:9: warning: 'yylineno' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]\r\n[ 0%] Built target objlib_expparse_c\r\n\r\n...\r\n\r\n[ 7%] Built target objlib_factory_c\r\n[ 7%] Linking CXX shared library ..\\..\\bin\\libexpress.dll\r\nCMakeFiles\\express.dir/objects.a(type.c.obj):type.c:(.text+0x29): undefined reference to `__imp_DICTlookup'\r\nCMakeFiles\\express.dir/objects.a(type.c.obj):type.c:(.text+0x3d): undefined reference to `__imp_DICT_type'\r\nCMakeFiles\\express.dir/objects.a(type.c.obj):type.c:(.text+0x7b): undefined reference to `__imp_DICTdefine'\r\nCMakeFiles\\express.dir/objects.a(type.c.obj):type.c:(.text+0xae): undefined reference to `__imp_ERRORreport_with_symbol'\r\nCMakeFiles\\express.dir/objects.a(type.c.obj):type.c:(.text+0xcf): undefined reference to `__imp_TYPEcreate_nostab'\r\nCMakeFiles\\express.dir/objects.a(expr.c.obj):expr.c:(.text+0x39): undefined reference to `__imp_Type_Real'\r\nCMakeFiles\\express.dir/objects.a(expr.c.obj):expr.c:(.text+0x46): undefined reference to `__imp_EXPcreate_simple'\r\n\r\n```\r\n\r\nThe full compile log can be found here.\r\n[step-compile.txt](https://github.com/stepcode/stepcode/files/12326854/step-compile.txt)\r\n","author":{"url":"https://github.com/lavender-lee","@type":"Person","name":"lavender-lee"},"datePublished":"2023-08-12T07:34:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/455/stepcode/issues/455"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5cd81b15-d3c7-0c6b-9293-d094824f5dac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B244:2AED63:4D5A829:6477FFE:69755082 |
| html-safe-nonce | 8244b0bb231787401c34ec0769a5953461113f038f09ff904ff0582fdc460e0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjQ0OjJBRUQ2Mzo0RDVBODI5OjY0NzdGRkU6Njk3NTUwODIiLCJ2aXNpdG9yX2lkIjoiNzI4NTEzODgxNTAzMzEwMjQ2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a7ab4838cb55ec103c9abd9213841f6d05fc0e2266cfaff4ae96f9e95de1ea01 |
| hovercard-subject-tag | issue:1847829124 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stepcode/stepcode/455/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e9d2df0d8fccfda362a77521d44b2df6cf819499af11fc4f6b88c4efdac29df6/stepcode/stepcode/issues/455 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e9d2df0d8fccfda362a77521d44b2df6cf819499af11fc4f6b88c4efdac29df6/stepcode/stepcode/issues/455 |
| og:image:alt | Consider the guide of https://github.com/stepcode/stepcode/blob/master/INSTALL Building SC from the command prompt: - cd sc - mkdir build - cd build - cmake .. - make - make install # optional E:\s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lavender-lee |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/stepcode/stepcode git https://github.com/stepcode/stepcode.git |
| octolytics-dimension-user_id | 1761770 |
| octolytics-dimension-user_login | stepcode |
| octolytics-dimension-repository_id | 1975387 |
| octolytics-dimension-repository_nwo | stepcode/stepcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1975387 |
| octolytics-dimension-repository_network_root_nwo | stepcode/stepcode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width