Title: is it possible to build in wasm? · Issue #405 · stepcode/stepcode · GitHub
Open Graph Title: is it possible to build in wasm? · Issue #405 · stepcode/stepcode
X Title: is it possible to build in wasm? · Issue #405 · stepcode/stepcode
Description: I can build by cmake .. But if I want to build with wasm , After I run emcmake cmake .. I got a error: did anyone try to build with wasm? - Schema scanner built. Running it... CMake Error at cmake/schema_scanner/schemaScanner.cmake:99 (m...
Open Graph Description: I can build by cmake .. But if I want to build with wasm , After I run emcmake cmake .. I got a error: did anyone try to build with wasm? - Schema scanner built. Running it... CMake Error at cmake/...
X Description: I can build by cmake .. But if I want to build with wasm , After I run emcmake cmake .. I got a error: did anyone try to build with wasm? - Schema scanner built. Running it... CMake Error at cmake/...
Opengraph URL: https://github.com/stepcode/stepcode/issues/405
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"is it possible to build in wasm?","articleBody":"I can build by `cmake ..`\r\n\r\nBut if I want to build with wasm , After I run `emcmake cmake ..`\r\nI got a error: \r\n\r\ndid anyone try to build with wasm?\r\n\r\n```\r\n- Schema scanner built. Running it...\r\nCMake Error at cmake/schema_scanner/schemaScanner.cmake:99 (message):\r\n Schema scan for '/home/microartisan/repos/stepcode/data/ap203/ap203.exp'\r\n\r\n exited with error code 'Permission denied'\r\n```\r\n\r\nthe following is the log:\r\n\r\nmicroartisan@thinkpad:~/repos/stepcode/build$ emcmake cmake ..\r\nconfigure: cmake .. -DCMAKE_TOOLCHAIN_FILE=/home/microartisan/repos/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=\"/home/microartisan/repos/emsdk/node/14.15.5_64bit/bin/node\"\r\nCMake Deprecation Warning at CMakeLists.txt:58 (CMAKE_POLICY):\r\n The OLD behavior for policy CMP0026 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\nCMake Warning (dev) at cmake/SC_Build_opts.cmake:30 (option):\r\n Policy CMP0077 is not set: option() honors normal variables. Run \"cmake\r\n --help-policy CMP0077\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n\r\n For compatibility with older versions of CMake, option is clearing the\r\n normal variable 'SC_BUILD_SHARED_LIBS'.\r\nCall Stack (most recent call first):\r\n cmake/SC_Build_opts.cmake:34 (OPTION_WITH_DEFAULT)\r\n CMakeLists.txt:77 (include)\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at cmake/SC_Build_opts.cmake:30 (option):\r\n Policy CMP0077 is not set: option() honors normal variables. Run \"cmake\r\n --help-policy CMP0077\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n\r\n For compatibility with older versions of CMake, option is clearing the\r\n normal variable 'SC_BUILD_STATIC_LIBS'.\r\nCall Stack (most recent call first):\r\n cmake/SC_Build_opts.cmake:37 (OPTION_WITH_DEFAULT)\r\n CMakeLists.txt:77 (include)\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at cmake/SC_Build_opts.cmake:30 (option):\r\n Policy CMP0077 is not set: option() honors normal variables. Run \"cmake\r\n --help-policy CMP0077\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n\r\n For compatibility with older versions of CMake, option is clearing the\r\n normal variable 'SC_PYTHON_GENERATOR'.\r\nCall Stack (most recent call first):\r\n cmake/SC_Build_opts.cmake:39 (OPTION_WITH_DEFAULT)\r\n CMakeLists.txt:77 (include)\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at cmake/SC_Build_opts.cmake:30 (option):\r\n Policy CMP0077 is not set: option() honors normal variables. Run \"cmake\r\n --help-policy CMP0077\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n\r\n For compatibility with older versions of CMake, option is clearing the\r\n normal variable 'SC_CPP_GENERATOR'.\r\nCall Stack (most recent call first):\r\n cmake/SC_Build_opts.cmake:40 (OPTION_WITH_DEFAULT)\r\n CMakeLists.txt:77 (include)\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at cmake/SC_Build_opts.cmake:30 (option):\r\n Policy CMP0077 is not set: option() honors normal variables. Run \"cmake\r\n --help-policy CMP0077\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n\r\n For compatibility with older versions of CMake, option is clearing the\r\n normal variable 'SC_MEMMGR_ENABLE_CHECKS'.\r\nCall Stack (most recent call first):\r\n cmake/SC_Build_opts.cmake:42 (OPTION_WITH_DEFAULT)\r\n CMakeLists.txt:77 (include)\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at cmake/SC_Build_opts.cmake:30 (option):\r\n Policy CMP0077 is not set: option() honors normal variables. Run \"cmake\r\n --help-policy CMP0077\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n\r\n For compatibility with older versions of CMake, option is clearing the\r\n normal variable 'SC_TRACE_FPRINTF'.\r\nCall Stack (most recent call first):\r\n cmake/SC_Build_opts.cmake:43 (OPTION_WITH_DEFAULT)\r\n CMakeLists.txt:77 (include)\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at cmake/SC_Build_opts.cmake:30 (option):\r\n Policy CMP0077 is not set: option() honors normal variables. Run \"cmake\r\n --help-policy CMP0077\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n\r\n For compatibility with older versions of CMake, option is clearing the\r\n normal variable 'SC_ENABLE_COVERAGE'.\r\nCall Stack (most recent call first):\r\n cmake/SC_Build_opts.cmake:50 (OPTION_WITH_DEFAULT)\r\n CMakeLists.txt:77 (include)\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at cmake/SC_Build_opts.cmake:30 (option):\r\n Policy CMP0077 is not set: option() honors normal variables. Run \"cmake\r\n --help-policy CMP0077\" for policy details. Use the cmake_policy command to\r\n set the policy and suppress this warning.\r\n\r\n For compatibility with older versions of CMake, option is clearing the\r\n normal variable 'SC_ENABLE_TESTING'.\r\nCall Stack (most recent call first):\r\n cmake/SC_Build_opts.cmake:65 (OPTION_WITH_DEFAULT)\r\n CMakeLists.txt:77 (include)\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\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 - not found\r\n-- Looking for io.h\r\n-- Looking for io.h - not 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 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-- Performing Test HAVE_STD_THREAD\r\n-- Performing Test HAVE_STD_THREAD - Failed\r\n.. Assuming compiler is capable of unity build.\r\n.. Override by setting SC_UNITY_BUILD; TRUE will result in *huge* translation units, higher memory use in compilation, and faster build times.\r\n-- Compiling schema scanner...\r\n-- Schema scanner built. Running it...\r\nCMake Error at cmake/schema_scanner/schemaScanner.cmake:99 (message):\r\n Schema scan for '/home/microartisan/repos/stepcode/data/ap203/ap203.exp'\r\n\r\n exited with error code 'Permission denied'\r\n\r\n stdout:\r\n\r\n \r\n\r\n stderr:\r\n\r\n \r\n\r\nCall Stack (most recent call first):\r\n data/CMakeLists.txt:26 (SCHEMA_CMLIST)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/microartisan/repos/stepcode/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/home/microartisan/repos/stepcode/build/CMakeFiles/CMakeError.log\".\r\nemcmake: error: 'cmake .. -DCMAKE_TOOLCHAIN_FILE=/home/microartisan/repos/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=\"/home/microartisan/repos/emsdk/node/14.15.5_64bit/bin/node\"' failed (1)\r\n","author":{"url":"https://github.com/mahaidong","@type":"Person","name":"mahaidong"},"datePublished":"2021-04-01T06:05:09Z","url":"https://github.com/stepcode/stepcode/issues/405"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:ad3e92a6-a6e0-4ab0-6dd4-d591b2e3c641 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC34:1251C3:1C3610:27FFA8:6B0467CC |
| html-safe-nonce | e3d021c97e3b08a5aa95adda5be564fe1f3f898db5a06f5093cafbc23ff4cf73 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzM0OjEyNTFDMzoxQzM2MTA6MjdGRkE4OjZCMDQ2N0NDIiwidmlzaXRvcl9pZCI6IjM4NDc4MTI0ODg3NjI3Nzk1OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 96b7b4eff3cb055a1e09618211f59245a76185895b03ea78af3570032fcad7c3 |
| hovercard-subject-tag | issue:848010309 |
| 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/405/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0733292328d99f24be0b27d943b9046c9da3f8db41742099bb8b3ebf9fba1dff/stepcode/stepcode/issues/405 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0733292328d99f24be0b27d943b9046c9da3f8db41742099bb8b3ebf9fba1dff/stepcode/stepcode/issues/405 |
| og:image:alt | I can build by cmake .. But if I want to build with wasm , After I run emcmake cmake .. I got a error: did anyone try to build with wasm? - Schema scanner built. Running it... CMake Error at cmake/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mahaidong |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width