shawntabrizi / substrate-collectables-workshop

A guided tutorial for building an NFT marketplace with the Polkadot SDK
https://www.shawntabrizi.com/substrate-collectables-workshop/
MIT License
236 stars 101 forks source link

Substrate UI does not compile on Windows #74

Closed endrju3 closed 5 years ago

endrju3 commented 5 years ago

When doing yarn install build fails with the message

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  blake2s.c
  blake2sp.c
  blake2b.c
  blake2bp.c
c:\dev\substrate\project\substratekitties-ui\node_modules\blake2js\lib\blake2\sse\blake2-config.h(70): fatal error C1189: #error:  "This code requires at least SSE2." (compiling source file ..\lib\BLAKE2\sse\blake2s.c) [C:\Dev\Substrate\project\substratekitties-ui\node_modules\blake2js\build\addon.vcxproj]
c:\dev\substrate\project\substratekitties-ui\node_modules\blake2js\lib\blake2\sse\blake2-config.h(70): fatal error C1189: #error:  "This code requires at least SSE2." (compiling source file ..\lib\BLAKE2\sse\blake2b.c) [C:\Dev\Substrate\project\substratekitties-ui\node_modules\blake2js\build\addon.vcxproj]

Didn't find a way to enable SSE2, although my machine is x64 so it should be enabled by default.

shawntabrizi commented 5 years ago

Hmm, I haven't seen this one before. How are you setting up your Substrate UI?

Tried using this? https://github.com/shawntabrizi/substrate-package

Have you tried again recently?

shawntabrizi commented 5 years ago

stale

seabornlee commented 5 years ago

I have an error when running yarn on Mac OS, finally solved it by downgrading Node to LTS version.