Title: How to build this project under msys2/mingw64 · Issue #43 · satya-das/cppparser · GitHub
Open Graph Title: How to build this project under msys2/mingw64 · Issue #43 · satya-das/cppparser
X Title: How to build this project under msys2/mingw64 · Issue #43 · satya-das/cppparser
Description: Hi, I have clone both the common and cppparser code repo, and put them in the same directory /g/code-temp/parser. Now, here is the build log I use: abc@mypc MINGW64 /g/code-temp/parser/cppparser/builds # cmake .. -G "MinGW Makefiles" CMa...
Open Graph Description: Hi, I have clone both the common and cppparser code repo, and put them in the same directory /g/code-temp/parser. Now, here is the build log I use: abc@mypc MINGW64 /g/code-temp/parser/cppparser/bu...
X Description: Hi, I have clone both the common and cppparser code repo, and put them in the same directory /g/code-temp/parser. Now, here is the build log I use: abc@mypc MINGW64 /g/code-temp/parser/cppparser/bu...
Opengraph URL: https://github.com/satya-das/cppparser/issues/43
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to build this project under msys2/mingw64","articleBody":"Hi, I have clone both the `common` and `cppparser` code repo, and put them in the same directory `/g/code-temp/parser`.\n\nNow, here is the build log I use:\n\n~~~\nabc@mypc MINGW64 /g/code-temp/parser/cppparser/builds\n# cmake .. -G \"MinGW Makefiles\"\nCMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):\n Compatibility with CMake \u003c 3.10 will be removed from a future version of\n CMake.\n\n Update the VERSION argument \u003cmin\u003e value or use a ...\u003cmax\u003e suffix to tell\n CMake that the project does not need compatibility with older versions.\n\n\n-- The C compiler identification is GNU 14.2.0\n-- The CXX compiler identification is GNU 14.2.0\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Check for working C compiler: F:/msys2/mingw64/bin/cc.exe - skipped\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Check for working CXX compiler: F:/msys2/mingw64/bin/c++.exe - skipped\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\nCMake Deprecation Warning at G:/code-temp/parser/common/third_party/boost_tp/cmake/CMakeLists.txt:1\n(cmake_minimum_required):\n Compatibility with CMake \u003c 3.10 will be removed from a future version of\n CMake.\n\n Update the VERSION argument \u003cmin\u003e value or use a ...\u003cmax\u003e suffix to tell\n CMake that the project does not need compatibility with older versions.\n\n\n-- Found 'flex' as G:/code-temp/parser/cppparser/cppparser/third_party/flex_tp/flex.exe\nMarkdown-pp NOT FOUND: README cannot be updated.\n-- Configuring done (2.2s)\n-- Generating done (0.3s)\n-- Build files have been written to: G:/code-temp/parser/cppparser/builds\n\nabc@mypc MINGW64 /g/code-temp/parser/cppparser/builds\n# mingw32-make\n[ 1%] Building CXX object cppast/CMakeFiles/cppast.dir/src/cpp_attribute_specifier_sequence_contain\ner.cpp.obj\nG:/code-temp/parser/cppparser/cppast/src/cpp_attribute_specifier_sequence_container.cpp:4:10: error:\n 'cppast/cpp_attribute_specifier_sequence_container.h' file not found [clang-diagnostic-error]\n 4 | #include \"cppast/cpp_attribute_specifier_sequence_container.h\"\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\nError while processing G:/code-temp/parser/cppparser/cppast/src/cpp_attribute_specifier_sequence_con\ntainer.cpp.\nFound compiler error(s).\nmingw32-make[2]: *** [cppast\\CMakeFiles\\cppast.dir\\build.make:79: cppast/CMakeFiles/cppast.dir/src/c\npp_attribute_specifier_sequence_container.cpp.obj] Error 1\nmingw32-make[1]: *** [CMakeFiles\\Makefile2:256: cppast/CMakeFiles/cppast.dir/all] Error 2\nmingw32-make: *** [Makefile:145: all] Error 2\n~~~\n\nAny ideas?\n\nI'm using the msys2's mingw64 platform, see here: [MSYS2](https://www.msys2.org/)\n\nThanks.","author":{"url":"https://github.com/asmwarrior","@type":"Person","name":"asmwarrior"},"datePublished":"2025-02-03T13:42:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/43/cppparser/issues/43"}
| 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:6041a7fe-4c8a-fae6-82d2-1260444653dc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C276:277ED1:AFB0AFE:EC7C436:6A5ED34B |
| html-safe-nonce | 7e452ee17355719deb74bf484c22d0b71e01ff4195e84f8a50fd4170c167cda6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjc2OjI3N0VEMTpBRkIwQUZFOkVDN0M0MzY6NkE1RUQzNEIiLCJ2aXNpdG9yX2lkIjoiNDAyOTM4MzY0NDIzNDU2ODUyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d0030cb13774c5ae332e79dbe4d118365aefae5bb956ba9820172d9f75f34020 |
| hovercard-subject-tag | issue:2827556719 |
| 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/satya-das/cppparser/43/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fb2b6741d9b44fe87e6285b634d922f74fe4bf601241a1870699d5552166568b/satya-das/cppparser/issues/43 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb2b6741d9b44fe87e6285b634d922f74fe4bf601241a1870699d5552166568b/satya-das/cppparser/issues/43 |
| og:image:alt | Hi, I have clone both the common and cppparser code repo, and put them in the same directory /g/code-temp/parser. Now, here is the build log I use: abc@mypc MINGW64 /g/code-temp/parser/cppparser/bu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asmwarrior |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9bd00899c80f8b6ea4e7a96c99290af4722b0befdf9e021b19232cbd6f993660 |
| turbo-cache-control | no-preview |
| go-import | github.com/satya-das/cppparser git https://github.com/satya-das/cppparser.git |
| octolytics-dimension-user_id | 6621459 |
| octolytics-dimension-user_login | satya-das |
| octolytics-dimension-repository_id | 16642636 |
| octolytics-dimension-repository_nwo | satya-das/cppparser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16642636 |
| octolytics-dimension-repository_network_root_nwo | satya-das/cppparser |
| 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 | 9996307881fdf9017d864a20b3dfe5aae4dddd3e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width