ic-hs icon indicating copy to clipboard operation
ic-hs copied to clipboard

Experiment: Build ic-ref for windows

Open nomeata opened this issue 4 years ago • 1 comments

nomeata avatar May 25 '21 13:05 nomeata

At some point I had success with this. Would have to be adjusted to latest paths.

~/dfinity/ic-ref $ nix-build -A ic-ref-windows
/nix/store/rakddrqds0fkqspi7vaf3f9llaq4vz5z-ic-ref-exe-ic-ref-0.0.1-x86_64-w64-mingw32
~/dfinity/ic-ref $ WINEPREFIX=~/.wine64 wine ./result/bin/ic-ref.exe 
Starting ic-ref...
Running at http://127.0.0.1:8001/
^Z
~/dfinity/ic-ref $ GET http://127.0.0.1:8001/api/v1/status | cbor2yaml.rb 
--- !ruby/struct:CBOR::Tagged
tag: 55799
value:
  root_key: !binary |-
    MIGCMB0GDSsGAQQBgtx8BQMBAgEGDCsGAQQBgtx8BQMCAQNhAJZO7F3o1a8D349IESGgFRV20CA+LYq1S+jTs+s3HCFb79w6+L8Djflodrml9kfhShZaaKoBDqcJG+NWJpXbJIdKYDulMeS8jr95RZtIS5IGIiO5N2FUH+98hFnass/mrw==
  impl_version: rakddrqd-s0fkqspi-7vaf3f9l-laq4vz5z
  ic_api_version: 0.15.0
  impl_source: https://github.com/dfinity-lab/ic-ref

nomeata avatar May 25 '21 13:05 nomeata