{"action":"closed","issue":{"url":"https://api.github.com/repos/mimblewimble/grin/issues/764","repository_url":"https://api.github.com/repos/mimblewimble/grin","labels_url":"https://api.github.com/repos/mimblewimble/grin/issues/764/labels{/name}","comments_url":"https://api.github.com/repos/mimblewimble/grin/issues/764/comments","events_url":"https://api.github.com/repos/mimblewimble/grin/issues/764/events","html_url":"https://github.com/mimblewimble/grin/issues/764","id":304163881,"node_id":"MDU6SXNzdWUzMDQxNjM4ODE=","number":764,"title":"Building on Windows [help wanted]","user":{"login":"sesam","id":8921,"node_id":"MDQ6VXNlcjg5MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/8921?v=4","gravatar_id":"","url":"https://api.github.com/users/sesam","html_url":"https://github.com/sesam","followers_url":"https://api.github.com/users/sesam/followers","following_url":"https://api.github.com/users/sesam/following{/other_user}","gists_url":"https://api.github.com/users/sesam/gists{/gist_id}","starred_url":"https://api.github.com/users/sesam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sesam/subscriptions","organizations_url":"https://api.github.com/users/sesam/orgs","repos_url":"https://api.github.com/users/sesam/repos","events_url":"https://api.github.com/users/sesam/events{/privacy}","received_events_url":"https://api.github.com/users/sesam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-11T14:44:26Z","updated_at":"2018-06-28T09:30:24Z","closed_at":"2018-06-28T09:30:24Z","author_association":"CONTRIBUTOR","body":"Building grin on Windows is not yet supported.\r\n\r\nA reasonable first goal is to make the wallet usable, and leave mining and leave platform-specific features like daemonization  for later (i.e. only support `grin server run` in an open console window, no console-less `grin server start` support).\r\n\r\nHelp wanted: \r\n_check when tasks are done or not wanted_\r\n- [ ] separate out daemonization so `grin server run` can function without the `unix` dependency ([discussed](https://gitter.im/grin_community/Lobby?at=5aa51feb35dd17022e478b92))\r\n- [ ] document which build tools are required (autotools, msvc, mingw?)\r\n- [ ] fix empty dependency folder ([discussed](https://gitter.im/grin_community/Lobby?at=5aa5242627c509a7744d4d28))\r\n- [ ] probably use cmake instead of autotools for the windows builds? (upstream issue on this)[https://github.com/bitcoin-core/secp256k1/issues/451]\r\n- [ ] maybe add a quick workaround: by including a secp256k1.dll for windows to make it easy to get started, and default skip building that dll on windows during `cargo build`\r\n- [ ] and/or do something about compiler flags that can't accept Windows C:... paths:\r\n\r\n````\r\nrunning: \"C:\\\\Program Files (x86)\\\\mingw-w64\\\\i686-7.2.0-win32-dwarf-rt_v5-rev1\\\\mingw32\\\\bin\\\\gcc\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-g\" \"-m64\" \"-I\" \"depend/secp256k1-zkp/\" \"-I\" \"depend/secp256k1-zkp/include\" \"-I\" \"depend/secp256k1-zkp/src\" \"-g\" \"-DUSE_NUM_NONE=1\" \"-DUSE_FIELD_INV_BUILTIN=1\" \"-DUSE_SCALAR_INV_BUILTIN=1\" \"-DUSE_FIELD_10X26=1\" \"-DUSE_SCALAR_8X32=1\" \"-DUSE_ENDOMORPHISM=1\" \"-DENABLE_MODULE_ECDH=1\" \"-DENABLE_MODULE_GENERATOR=1\" \"-DENABLE_MODULE_RECOVERY=1\" \"-DENABLE_MODULE_RANGEPROOF=1\" \"-DENABLE_MODULE_BULLETPROOF=1\" \"-DENABLE_MODULE_AGGSIG=1\" \"-Wall\" \"-Wextra\" \"/FoC:\\\\Users\\\\user\\\\code\\\\grin\\\\target\\\\debug\\\\build\\\\secp256k1zkp-f02ed7404e8c3e65\\\\out\\\\depend/secp256k1-zkp/contrib\\\\lax_der_parsing.o\" \"/c\" \"depend/secp256k1-zkp/contrib/lax_der_parsing.c\"\r\ncargo:warning=gcc: error: /FoC:\\Users\\user\\code\\grin\\target\\debug\\build\\secp256k1zkp-f02ed7404e8c3e65\\out\\depend/secp256k1-zkp/contrib\\lax_der_parsing.o: Invalid argument\r\ncargo:warning=gcc: error: /c: No such file or directory\r\nexit code: 1\r\n````"}}
{"actor":{"display_login":"yeastplume"}}