nfroidure / ttf2woff2

Convert ttf files to woff2.
MIT License
297 stars 39 forks source link

Unable to install on windows #13

Closed SubZane closed 8 years ago

SubZane commented 8 years ago

I get the following error

C:\temp>npm install --global ttf2woff2
C:\Users\IEUser\AppData\Roaming\npm\ttf2woff2 -> C:\Users\IEUser\AppData\Roaming
\npm\node_modules\ttf2woff2\bin\ttf2woff2.js

> ttf2woff2@2.0.1 install C:\Users\IEUser\AppData\Roaming\npm\node_modules\ttf2w
off2
> (node-gyp rebuild > builderror.log) || (exit 0)

gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe` fail
ed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej
s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\IEUser\AppData\Roaming\npm\node_modules\ttf2woff2
gyp ERR! node -v v4.2.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
ttf2woff2@2.0.1 C:\Users\IEUser\AppData\Roaming\npm\node_modules\ttf2woff2
├── bindings@1.2.1
├── nan@2.1.0
├── bufferstreams@1.1.0 (readable-stream@2.0.2)
└── node-gyp@3.0.3 (graceful-fs@4.1.2, semver@5.0.3, osenv@0.1.3, nopt@3.0.4, mi
nimatch@1.0.0, fstream@1.0.8, which@1.2.0, mkdirp@0.5.1, tar@1.0.3, glob@4.5.3,
rimraf@2.4.3, path-array@1.0.0, npmlog@1.2.1, request@2.65.0)

C:\temp>
GerjanOnline commented 8 years ago

Related: https://github.com/nfroidure/gulp-ttf2woff2/issues/3 https://github.com/nfroidure/gulp-iconfont/issues/91 https://github.com/nodejs/node/issues/2798

nfroidure commented 8 years ago

I have no computer with windows installed so can't test. Feel free to PR to bring support for windows.

Btw, mac users had build problem and they managed to get it working by adding some custom flags for c++11 support, it could worth a try to find and set the C++11 flags and see if it builds. If a windows users can do it and confirm it works, i'll merge a pr adding all the necessary flags for building sucessfully on windows.

See: https://github.com/nfroidure/ttf2woff2/issues/4 https://github.com/nfroidure/ttf2woff2/pull/5/files

GerjanOnline commented 8 years ago

The actual error is (from builderror.log):

builderror.log:

D:\node_modules\ttf2woff2>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild ) 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  addon.cc
  glyph.cc
  font.cc
  normalize.cc
d:\node_modules\ttf2woff2\csrc\woff2\./port.h(40): error C3861: 'assert': identifier not found (compiling source file ..\csrc\woff2\normalize.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\glyph.cc(69): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\glyph.cc(236): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\glyph.cc(366): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\woff2\./port.h(40): error C3861: 'assert': identifier not found (compiling source file ..\csrc\woff2\font.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(79): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(153): warning C4244: 'initializing': conversion from 'double' to 'size_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(286): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(286): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  table_tags.cc
..\csrc\woff2\font.cc(147): warning C4018: '<': signed/unsigned mismatch [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  transform.cc
..\csrc\woff2\font.cc(299): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(316): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(370): warning C4018: '>': signed/unsigned mismatch [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(395): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  variable_length.cc
  woff2_common.cc
  woff2_enc.cc
..\csrc\woff2\transform.cc(83): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(84): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(85): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(86): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(87): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(88): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(89): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(138): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(144): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(149): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(278): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  backward_references.cc
  block_splitter.cc
d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\block_splitter.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\block_splitter.cc)
d:\node_modules\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\addon.cc(25): error C2131: expression did not evaluate to a constant [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\addon.cc(25): note: failure was caused by non-constant arguments or reference to a non-constant symbol
  ..\csrc\addon.cc(25): note: see usage of 'max_output_length'
..\csrc\addon.cc(42): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(56): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(65): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(66): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(89): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  brotli_bit_stream.cc
d:\node_modules\ttf2woff2\csrc\woff2\./../enc/encode.h(77): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(58): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(119): warning C4267: 'argument': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(124): warning C4267: 'argument': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(82): warning C4244: 'argument': conversion from 'const uint16_t' to 'const unsigned char', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(154): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(171): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(210): warning C4244: 'return': conversion from 'double' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(256): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(258): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(285): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(312): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(361): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(362): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(365): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(373): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(375): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(393): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\brotli_bit_stream.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\brotli_bit_stream.cc)
..\csrc\enc\block_splitter.cc(319): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(366): note: see reference to function template instantiation 'void brotli::SplitByteVector(const std::vector> &,const int,const int,const int,const double,brotli::BlockSplit *)' being compiled
          with
          [
              _Ty=uint8_t
          ]
..\csrc\enc\brotli_bit_stream.cc(38): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(43): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(230): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(289): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(412): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(491): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(491): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(710): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(713): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(718): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(721): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(101): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(328): note: see reference to function template instantiation 'void brotli::InitialEntropyCodes(const DataType *,size_t,int,int,size_t,std::vector> *)' being compiled
          with
          [
              DataType=unsigned char,
              _Ty=brotli::HistogramLiteral
          ]
  ..\csrc\enc\block_splitter.cc(366): note: see reference to function template instantiation 'void brotli::SplitByteVector(const std::vector> &,const int,const int,const int,const double,brotli::BlockSplit *)' being compiled
          with
          [
              _Ty=uint8_t
          ]
..\csrc\enc\block_splitter.cc(106): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(108): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(113): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(142): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(331): note: see reference to function template instantiation 'void brotli::RefineEntropyCodes(const DataType *,size_t,size_t,std::vector> *)' being compiled
          with
          [
              DataType=unsigned char,
              _Ty=brotli::HistogramLiteral
          ]
..\csrc\enc\block_splitter.cc(144): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(168): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(338): note: see reference to function template instantiation 'void brotli::FindBlocks(const DataType *,const size_t,const double,const std::vector> &,uint8_t *)' being compiled
          with
          [
              DataType=unsigned char,
              _Ty=brotli::HistogramLiteral
          ]
..\csrc\enc\block_splitter.cc(188): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(213): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(798): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(803): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(280): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(341): note: see reference to function template instantiation 'void brotli::ClusterBlocks(const DataType *,const size_t,uint8_t *)' being compiled
          with
          [
              HistogramType=brotli::HistogramLiteral,
              DataType=unsigned char
          ]
..\csrc\enc\backward_references.cc(46): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\backward_references.cc(311): note: see reference to function template instantiation 'void brotli::CreateBackwardReferences(size_t,size_t,const uint8_t *,size_t,const float *,size_t,const size_t,const double,const int,Hasher *,int *,int *,brotli::Command *,int *)' being compiled
          with
          [
              Hasher=brotli::Hashers::H1
          ]
..\csrc\enc\backward_references.cc(48): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(50): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(55): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(55): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(60): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(65): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(83): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(99): warning C4267: 'argument': conversion from 'size_t' to 'const uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(109): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(125): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(130): warning C4267: 'argument': conversion from 'size_t' to 'const uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(172): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(215): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(228): warning C4267: 'argument': conversion from 'size_t' to 'const uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(241): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(248): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(255): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(270): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(272): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(276): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(278): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(285): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(287): warning C4244: '+=': conversion from '__int64' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(228): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./histogram.h(52): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\block_splitter.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(116): note: see reference to function template instantiation 'void brotli::Histogram<256>::Add(const DataType *,size_t)' being compiled
          with
          [
              DataType=unsigned char
          ]
  ..\csrc\enc\block_splitter.cc(116): note: see reference to function template instantiation 'void brotli::Histogram<256>::Add(const DataType *,size_t)' being compiled
          with
          [
              DataType=unsigned char
          ]
  ..\csrc\enc\block_splitter.cc(328): note: see reference to function template instantiation 'void brotli::InitialEntropyCodes(const DataType *,size_t,int,int,size_t,std::vector> *)' being compiled
          with
          [
              DataType=unsigned char,
              _Ty=brotli::HistogramLiteral
          ]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(396): warning C4018: '>': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  d:\node_modules\ttf2woff2\csrc\enc\./hash.h(360): note: while compiling class template member function 'bool brotli::HashLongestMatch<15,8,2,16,true,false>::FindLongestMatch(const uint8_t *__restrict ,const size_t,const float *__restrict ,const size_t,const double,const int *__restrict ,const uint32_t,uint32_t,const uint32_t,int *__restrict ,int *__restrict ,int *__restrict ,double *__restrict )' (compiling source file ..\csrc\enc\backward_references.cc)
  ..\csrc\enc\backward_references.cc(99): note: see reference to function template instantiation 'bool brotli::HashLongestMatch<15,8,2,16,true,false>::FindLongestMatch(const uint8_t *__restrict ,const size_t,const float *__restrict ,const size_t,const double,const int *__restrict ,const uint32_t,uint32_t,const uint32_t,int *__restrict ,int *__restrict ,int *__restrict ,double *__restrict )' being compiled
  d:\node_modules\ttf2woff2\csrc\enc\./hash.h(612): note: see reference to class template instantiation 'brotli::HashLongestMatch<15,8,2,16,true,false>' being compiled (compiling source file ..\csrc\enc\backward_references.cc)
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(415): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(425): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(451): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(458): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(487): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(493): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(496): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(512): warning C4018: '<=': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(519): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(529): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(543): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(551): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(558): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(202): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  d:\node_modules\ttf2woff2\csrc\enc\./hash.h(166): note: while compiling class template member function 'bool brotli::HashLongestMatchQuickly<17,4>::FindLongestMatch(const uint8_t *__restrict ,const size_t,const float *__restrict ,const size_t,const double,const int *__restrict ,const uint32_t,const uint32_t,const uint32_t,int *__restrict ,int *__restrict ,int *__restrict ,double *__restrict )' (compiling source file ..\csrc\enc\backward_references.cc)
  ..\csrc\enc\backward_references.cc(99): note: see reference to function template instantiation 'bool brotli::HashLongestMatchQuickly<17,4>::FindLongestMatch(const uint8_t *__restrict ,const size_t,const float *__restrict ,const size_t,const double,const int *__restrict ,const uint32_t,const uint32_t,const uint32_t,int *__restrict ,int *__restrict ,int *__restrict ,double *__restrict )' being compiled
  d:\node_modules\ttf2woff2\csrc\enc\./hash.h(605): note: see reference to class template instantiation 'brotli::HashLongestMatchQuickly<17,4>' being compiled (compiling source file ..\csrc\enc\backward_references.cc)
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(207): warning C4018: '>': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(226): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(226): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(231): warning C4018: '>': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(261): warning C4018: '<=': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(268): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./hash.h(275): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  encode.cc
  encode_parallel.cc
  entropy_encode.cc
  histogram.cc
..\csrc\enc\entropy_encode.cc(99): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(99): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(138): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\histogram.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\histogram.cc)
..\csrc\enc\entropy_encode.cc(192): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(199): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(200): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(220): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(227): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(228): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(377): warning C4018: '<': signed/unsigned mismatch [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(380): warning C4018: '<': signed/unsigned mismatch [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(407): warning C4018: '<': signed/unsigned mismatch [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(426): warning C4018: '<': signed/unsigned mismatch [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(431): warning C4018: '<': signed/unsigned mismatch [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(460): warning C4267: 'return': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  literal_cost.cc
  metablock.cc
d:\node_modules\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(56): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(65): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(66): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(89): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./encode.h(77): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\encode.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\encode.cc)
..\csrc\enc\literal_cost.cc(72): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(116): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(117): warning C4305: '+=': truncation from 'double' to 'float' [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(97): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(127): warning C4244: '+=': conversion from 'double' to 'float', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(138): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(161): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(127): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(162): warning C4305: '+=': truncation from 'double' to 'float' [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(369): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(495): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(498): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(526): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(527): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\metablock.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\metablock.cc)
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(56): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(65): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(66): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./ringbuffer.h(89): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./encode.h(77): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  d:\node_modules\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\encode_parallel.cc)
  streams.cc
..\csrc\enc\encode_parallel.cc(96): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode_parallel.cc(322): warning C4244: 'initializing': conversion from 'double' to 'size_t', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\metablock.cc(277): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\metablock.cc(280): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\streams.cc(42): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\streams.cc(84): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\node_modules\ttf2woff2\build\addon.vcxproj]

Errors highlighted

d:\node_modules\ttf2woff2\csrc\woff2\./port.h(40): error C3861: 'assert': identifier not found (compiling source file ..\csrc\woff2\normalize.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\woff2\./port.h(40): error C3861: 'assert': identifier not found (compiling source file ..\csrc\woff2\font.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
d:\node_modules\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\node_modules\ttf2woff2\build\addon.vcxproj]
..\csrc\addon.cc(25): error C2131: expression did not evaluate to a constant [D:\node_modules\ttf2woff2\build\addon.vcxproj]
  ..\csrc\addon.cc(25): note: failure was caused by non-constant arguments or reference to a non-constant symbol
  ..\csrc\addon.cc(25): note: see usage of 'max_output_length'
GerjanOnline commented 8 years ago
Error (active)     expression must have a constant value   addon   d:\node_modules\ttf2woff2\csrc\addon.cc 24 

I think this commit is causing the error: https://github.com/nfroidure/ttf2woff2/commit/002c8eaf14d0db5ac1517d2cac1ca605c8556a0a

max_output_length should be a constant or do it with C magic

cc @nfroidure

nfroidure commented 8 years ago

@GerjanOnline can you build with the last ttf2woff2 version ? Best would be to clone this repo and run: npm run configure && npm run make && npm test

GerjanOnline commented 8 years ago

I did a git clone and npm run configure

Log:

npm run configure
> ttf2woff2@2.0.2 configure D:\Git\ttf2woff2
> node-gyp configure
D:\Git\ttf2woff2>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure )  else (node  configure )
module.js:339
    throw err;
    ^
Error: Cannot find module 'nan'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at [eval]:1:1
    at Object.exports.runInThisContext (vm.js:54:17)
    at Object. ([eval]-wrapper:6:22)
    at Module._compile (module.js:425:26)
    at node.js:587:27
    at doNTCallback0 (node.js:428:9)
gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:355:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure"
gyp ERR! cwd D:\Git\ttf2woff2
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "configure"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.6
npm ERR! code ELIFECYCLE
npm ERR! ttf2woff2@2.0.2 configure: `node-gyp configure`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ttf2woff2@2.0.2 configure script 'node-gyp configure'.
npm ERR! This is most likely a problem with the ttf2woff2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure
npm ERR! You can get their info via:
npm ERR!     npm owner ls ttf2woff2
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     D:\Git\ttf2woff2\npm-debug.log
nfroidure commented 8 years ago

I forgot to mention you'll have to npm install first ;).

GerjanOnline commented 8 years ago

Still the same issue

npm install

npm install
> ttf2woff2@2.0.2 install D:\Git\ttf2woff2
> (node-gyp rebuild > builderror.log) || (exit 0)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Git\ttf2woff2
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok

builderror.log

D:\Git\ttf2woff2>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild ) 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  addon.cc
  glyph.cc
  font.cc
  normalize.cc
d:\git\ttf2woff2\csrc\woff2\./port.h(40): error C3861: 'assert': identifier not found (compiling source file ..\csrc\woff2\normalize.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\glyph.cc(69): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\glyph.cc(236): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\glyph.cc(366): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\woff2\./port.h(40): error C3861: 'assert': identifier not found (compiling source file ..\csrc\woff2\font.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(79): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(153): warning C4244: 'initializing': conversion from 'double' to 'size_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(286): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(286): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  table_tags.cc
  transform.cc
..\csrc\woff2\font.cc(147): warning C4018: '<': signed/unsigned mismatch [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(299): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(316): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(370): warning C4018: '>': signed/unsigned mismatch [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(395): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  variable_length.cc
  woff2_common.cc
  woff2_enc.cc
..\csrc\woff2\transform.cc(83): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(84): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(85): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(86): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(87): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(88): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(89): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(138): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(144): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(149): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\transform.cc(278): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  backward_references.cc
..\csrc\addon.cc(25): error C2131: expression did not evaluate to a constant [D:\Git\ttf2woff2\build\addon.vcxproj]
  ..\csrc\addon.cc(25): note: failure was caused by non-constant arguments or reference to a non-constant symbol
  ..\csrc\addon.cc(25): note: see usage of 'max_output_length'
..\csrc\addon.cc(42): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  block_splitter.cc
  brotli_bit_stream.cc
d:\git\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\block_splitter.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  d:\git\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\block_splitter.cc)
d:\git\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\brotli_bit_stream.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  d:\git\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\brotli_bit_stream.cc)
..\csrc\enc\brotli_bit_stream.cc(38): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(43): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(230): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(289): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(412): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(491): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(491): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(710): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(713): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(718): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(721): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(798): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\brotli_bit_stream.cc(803): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(56): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(65): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(66): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(89): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\woff2\./../enc/encode.h(77): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\woff2\woff2_enc.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(82): warning C4244: 'argument': conversion from 'const uint16_t' to 'const unsigned char', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(154): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(58): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  encode.cc
..\csrc\woff2\woff2_enc.cc(119): warning C4267: 'argument': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(124): warning C4267: 'argument': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(171): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(210): warning C4244: 'return': conversion from 'double' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(256): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(258): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(285): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(312): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(361): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(362): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(365): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(373): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(375): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\woff2_enc.cc(393): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(319): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(366): note: see reference to function template instantiation 'void brotli::SplitByteVector(const std::vector> &,const int,const int,const int,const double,brotli::BlockSplit *)' being compiled
          with
          [
              _Ty=uint8_t
          ]
..\csrc\enc\block_splitter.cc(101): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(328): note: see reference to function template instantiation 'void brotli::InitialEntropyCodes(const DataType *,size_t,int,int,size_t,std::vector> *)' being compiled
          with
          [
              DataType=unsigned char,
              _Ty=brotli::HistogramLiteral
          ]
  ..\csrc\enc\block_splitter.cc(366): note: see reference to function template instantiation 'void brotli::SplitByteVector(const std::vector> &,const int,const int,const int,const double,brotli::BlockSplit *)' being compiled
          with
          [
              _Ty=uint8_t
          ]
..\csrc\enc\block_splitter.cc(106): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(108): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(113): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(142): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(331): note: see reference to function template instantiation 'void brotli::RefineEntropyCodes(const DataType *,size_t,size_t,std::vector> *)' being compiled
          with
          [
              DataType=unsigned char,
              _Ty=brotli::HistogramLiteral
          ]
..\csrc\enc\block_splitter.cc(144): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(168): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(338): note: see reference to function template instantiation 'void brotli::FindBlocks(const DataType *,const size_t,const double,const std::vector> &,uint8_t *)' being compiled
          with
          [
              DataType=unsigned char,
              _Ty=brotli::HistogramLiteral
          ]
..\csrc\enc\block_splitter.cc(188): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(213): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\block_splitter.cc(280): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(341): note: see reference to function template instantiation 'void brotli::ClusterBlocks(const DataType *,const size_t,uint8_t *)' being compiled
          with
          [
              HistogramType=brotli::HistogramLiteral,
              DataType=unsigned char
          ]
d:\git\ttf2woff2\csrc\enc\./histogram.h(52): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\block_splitter.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\block_splitter.cc(116): note: see reference to function template instantiation 'void brotli::Histogram<256>::Add(const DataType *,size_t)' being compiled
          with
          [
              DataType=unsigned char
          ]
  ..\csrc\enc\block_splitter.cc(116): note: see reference to function template instantiation 'void brotli::Histogram<256>::Add(const DataType *,size_t)' being compiled
          with
          [
              DataType=unsigned char
          ]
  ..\csrc\enc\block_splitter.cc(328): note: see reference to function template instantiation 'void brotli::InitialEntropyCodes(const DataType *,size_t,int,int,size_t,std::vector> *)' being compiled
          with
          [
              DataType=unsigned char,
              _Ty=brotli::HistogramLiteral
          ]
..\csrc\enc\backward_references.cc(46): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
  ..\csrc\enc\backward_references.cc(311): note: see reference to function template instantiation 'void brotli::CreateBackwardReferences(size_t,size_t,const uint8_t *,size_t,const float *,size_t,const size_t,const double,const int,Hasher *,int *,int *,brotli::Command *,int *)' being compiled
          with
          [
              Hasher=brotli::Hashers::H1
          ]
..\csrc\enc\backward_references.cc(48): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(50): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(55): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(55): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(60): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(65): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(83): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(99): warning C4267: 'argument': conversion from 'size_t' to 'const uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(109): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(125): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(130): warning C4267: 'argument': conversion from 'size_t' to 'const uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(172): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(215): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(228): warning C4267: 'argument': conversion from 'size_t' to 'const uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(241): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(248): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(255): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(270): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(272): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(276): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(278): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(285): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(287): warning C4244: '+=': conversion from '__int64' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\backward_references.cc(228): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(396): warning C4018: '>': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  d:\git\ttf2woff2\csrc\enc\./hash.h(360): note: while compiling class template member function 'bool brotli::HashLongestMatch<15,8,2,16,true,false>::FindLongestMatch(const uint8_t *__restrict ,const size_t,const float *__restrict ,const size_t,const double,const int *__restrict ,const uint32_t,uint32_t,const uint32_t,int *__restrict ,int *__restrict ,int *__restrict ,double *__restrict )' (compiling source file ..\csrc\enc\backward_references.cc)
  ..\csrc\enc\backward_references.cc(99): note: see reference to function template instantiation 'bool brotli::HashLongestMatch<15,8,2,16,true,false>::FindLongestMatch(const uint8_t *__restrict ,const size_t,const float *__restrict ,const size_t,const double,const int *__restrict ,const uint32_t,uint32_t,const uint32_t,int *__restrict ,int *__restrict ,int *__restrict ,double *__restrict )' being compiled
  d:\git\ttf2woff2\csrc\enc\./hash.h(612): note: see reference to class template instantiation 'brotli::HashLongestMatch<15,8,2,16,true,false>' being compiled (compiling source file ..\csrc\enc\backward_references.cc)
d:\git\ttf2woff2\csrc\enc\./hash.h(415): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(425): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(451): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(458): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(487): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(493): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(496): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(512): warning C4018: '<=': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(519): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(529): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(543): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(551): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(558): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(202): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  d:\git\ttf2woff2\csrc\enc\./hash.h(166): note: while compiling class template member function 'bool brotli::HashLongestMatchQuickly<17,4>::FindLongestMatch(const uint8_t *__restrict ,const size_t,const float *__restrict ,const size_t,const double,const int *__restrict ,const uint32_t,const uint32_t,const uint32_t,int *__restrict ,int *__restrict ,int *__restrict ,double *__restrict )' (compiling source file ..\csrc\enc\backward_references.cc)
  ..\csrc\enc\backward_references.cc(99): note: see reference to function template instantiation 'bool brotli::HashLongestMatchQuickly<17,4>::FindLongestMatch(const uint8_t *__restrict ,const size_t,const float *__restrict ,const size_t,const double,const int *__restrict ,const uint32_t,const uint32_t,const uint32_t,int *__restrict ,int *__restrict ,int *__restrict ,double *__restrict )' being compiled
  d:\git\ttf2woff2\csrc\enc\./hash.h(605): note: see reference to class template instantiation 'brotli::HashLongestMatchQuickly<17,4>' being compiled (compiling source file ..\csrc\enc\backward_references.cc)
d:\git\ttf2woff2\csrc\enc\./hash.h(207): warning C4018: '>': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(226): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(226): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(231): warning C4018: '>': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(261): warning C4018: '<=': signed/unsigned mismatch (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(268): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./hash.h(275): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\backward_references.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  encode_parallel.cc
  entropy_encode.cc
  histogram.cc
d:\git\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(56): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(65): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(66): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(89): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./encode.h(77): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\encode.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  d:\git\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\encode.cc)
..\csrc\enc\encode.cc(97): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(127): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(369): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(495): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(498): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(526): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode.cc(527): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(99): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(99): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(138): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(192): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(199): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(200): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(220): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(227): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(228): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(377): warning C4018: '<': signed/unsigned mismatch [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(380): warning C4018: '<': signed/unsigned mismatch [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(407): warning C4018: '<': signed/unsigned mismatch [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(426): warning C4018: '<': signed/unsigned mismatch [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(431): warning C4018: '<': signed/unsigned mismatch [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\entropy_encode.cc(460): warning C4267: 'return': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\histogram.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  d:\git\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\histogram.cc)
  literal_cost.cc
  metablock.cc
..\csrc\enc\literal_cost.cc(72): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(116): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(117): warning C4305: '+=': truncation from 'double' to 'float' [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(127): warning C4244: '+=': conversion from 'double' to 'float', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(138): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(161): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\literal_cost.cc(162): warning C4305: '+=': truncation from 'double' to 'float' [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./static_dict.h(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  streams.cc
d:\git\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\metablock.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  d:\git\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\metablock.cc)
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(40): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(56): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(65): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(66): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./ringbuffer.h(89): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./encode.h(77): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\enc\./metablock.h(28): warning C4099: 'brotli::BlockSplit': type name first seen using 'class' now seen using 'struct' (compiling source file ..\csrc\enc\encode_parallel.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
  d:\git\ttf2woff2\csrc\enc\./metablock.h(28): note: see declaration of 'brotli::BlockSplit' (compiling source file ..\csrc\enc\encode_parallel.cc)
..\csrc\enc\encode_parallel.cc(96): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\encode_parallel.cc(322): warning C4244: 'initializing': conversion from 'double' to 'size_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\metablock.cc(277): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\metablock.cc(280): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\streams.cc(42): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\enc\streams.cc(84): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]

npm run make

npm run make
> ttf2woff2@2.0.2 make D:\Git\ttf2woff2
> node-gyp build
D:\Git\ttf2woff2>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" build )  else (node
build )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  addon.cc
  font.cc
  normalize.cc
d:\git\ttf2woff2\csrc\woff2\./port.h(40): error C3861: 'assert': identifier not found (comp iling source file ..\csrc\woff2\normalize.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
d:\git\ttf2woff2\csrc\woff2\./port.h(40): error C3861: 'assert': identifier not found (comp iling source file ..\csrc\woff2\font.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(79): warning C4267: '+=': conversion from 'size_t' to 'uint32_t' , possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(153): warning C4244: 'initializing': conversion from 'double' to  'size_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(286): warning C4267: 'argument': conversion from 'size_t' to 'ui nt32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\normalize.cc(286): warning C4267: 'initializing': conversion from 'size_t' to  'uint32_t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(147): warning C4018: '<': signed/unsigned mismatch [D:\Git\ttf2woff2\ build\addon.vcxproj]
..\csrc\woff2\font.cc(299): warning C4267: 'argument': conversion from 'size_t' to 'uint32_ t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(316): warning C4267: 'argument': conversion from 'size_t' to 'uint32_ t', possible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\woff2\font.cc(370): warning C4018: '>': signed/unsigned mismatch [D:\Git\ttf2woff2\ build\addon.vcxproj]
..\csrc\woff2\font.cc(395): warning C4267: '=': conversion from 'size_t' to 'uint16_t', pos sible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
..\csrc\addon.cc(25): error C2131: expression did not evaluate to a constant [D:\Git\ttf2wo ff2\build\addon.vcxproj]
  ..\csrc\addon.cc(25): note: failure was caused by non-constant arguments or reference to
  a non-constant symbol
  ..\csrc\addon.cc(25): note: see usage of 'max_output_length'
..\csrc\addon.cc(42): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', po ssible loss of data [D:\Git\ttf2woff2\build\addon.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build"
gyp ERR! cwd D:\Git\ttf2woff2
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "make"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.6
npm ERR! code ELIFECYCLE
npm ERR! ttf2woff2@2.0.2 make: `node-gyp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ttf2woff2@2.0.2 make script 'node-gyp build'.
npm ERR! This is most likely a problem with the ttf2woff2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp build
npm ERR! You can get their info via:
npm ERR!     npm owner ls ttf2woff2
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     D:\Git\ttf2woff2\npm-debug.log

Visual studio: image

nfroidure commented 8 years ago

This commit should fix the last error https://github.com/nfroidure/ttf2woff2/commit/540e4fa5725303bdf0083814c060c3e783a534a0

But we still need to fix this two errors: d:\git\ttf2woff2\csrc\woff2./port.h(40): error C3861: 'assert': identifier not found (comp iling source file ..\csrc\woff2\normalize.cc) [D:\Git\ttf2woff2\build\addon.vcxproj] d:\git\ttf2woff2\csrc\woff2./port.h(40): error C3861: 'assert': identifier not found (comp iling source file ..\csrc\woff2\font.cc) [D:\Git\ttf2woff2\build\addon.vcxproj]

Since they concern the original code, you should try to build this project first and report any issue to that repo https://github.com/google/woff2

GerjanOnline commented 8 years ago

Thank you, the first issue is fixed now :+1:

The other issue lies here: https://github.com/nfroidure/ttf2woff2/blob/master/csrc/woff2/port.h#L40 ==> https://github.com/google/woff2/blob/master/src/port.h#L40

When I manually add #include <assert.h> to port.h everything works

Log:

D:\Git\ttf2woff2 [master +0 ~1 -0]> npm run configure
> ttf2woff2@2.0.2 configure D:\Git\ttf2woff2
> node-gyp configure
D:\Git\ttf2woff2>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure )  else (node  configure )
D:\Git\ttf2woff2 [master +0 ~1 -0]> npm run make
> ttf2woff2@2.0.2 make D:\Git\ttf2woff2
> node-gyp build
D:\Git\ttf2woff2>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" build )  else (node  build )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
     Creating library D:\Git\ttf2woff2\build\Release\addon.lib and object D:\Git\ttf2woff2\build\Release\addon.
  exp
  Generating code
  Finished generating code
  addon.vcxproj -> D:\Git\ttf2woff2\build\Release\\addon.node
D:\Git\ttf2woff2 [master +0 ~1 -0]> npm test
> ttf2woff2@2.0.2 test D:\Git\ttf2woff2
> mocha tests/*.mocha.js
  Testing CLI
    √ should work (393ms)
  ttf2woff2
    √ should work from the main endpoint
    √ should work from the native build
    √ should work from the emscripten endpoint (827ms)
  4 passing (1s)

I am not sure how to fix this, should this be fixed in https://github.com/google/woff2? Seems that they do not have this issue (due to other compiler, build, linker props?)

nfroidure commented 8 years ago

@GerjanOnline if it fixes the build, i assume it wont hurt to make those changes here and let windows users enjoy the native experience ;) Feel free to PR your working version.

TolotraRam commented 8 years ago

Any news on the build part? trying to use gulp-iconfont and seeing errors related to ttf2woff2 on build. Cheers,

nfroidure commented 8 years ago

@TolotraRam please paste the error

TolotraRam commented 8 years ago

hi sorry, think it's the same error as tihs issue but :

if not defined npm_config_node_gyp (node "C:\Users\user\AppData\Roaming\nvm\v4.1.1\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) Génération des projets individuellement dans cette solution. Pour activer la génération en parallèle, ajoutez le commutateur "/m". validation.cc win_delay_load_hook.c Creating library D:\wamp\www\dulatier\server\gulp\node_modules\utf-8-validate\build\Release\validation.lib and object D:\wamp\www\dulatier\server\gulp\node_modules\utf-8-validate\build\Release \validation.exp Generating code Finished generating code validation.vcxproj -> D:\wamp\www\dulatier\server\gulp\node_modules\utf-8-validate\build\Release\validation.node

ttf2woff2@2.0.2 install D:\wamp\www\dulatier\server\gulp\node_modules\ttf2woff2 (node-gyp rebuild > builderror.log) || (exit 0)

gyp ERR! build error gyp ERR! stack Error: C:\Program Files\MSBuild\12.0\bin\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\user\AppData\Roaming\nvm\v4.1.1\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\user\AppData\Roaming\nvm\v4.1.1\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd D:\wamp\www\dulatier\server\gulp\node_modules\ttf2woff2 gyp ERR! node -v v4.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok

TolotraRam commented 8 years ago

Seems @GerjanOnline have already find the solution, isn't it? for the build part.

GerjanOnline commented 8 years ago

https://github.com/nfroidure/ttf2woff2/pull/16

@nfroidure you mean this? Or should i do it in https://github.com/google/woff2

TolotraRam commented 8 years ago

@GerjanOnline did you solve your problem with this PR ? or is there another bug.

GerjanOnline commented 8 years ago

Yes my PR (https://github.com/nfroidure/ttf2woff2/pull/16) together with https://github.com/nfroidure/ttf2woff2/commit/540e4fa5725303bdf0083814c060c3e783a534a0 solves the build issues on Windows.

However, this and corresponding packages still need to be version-bumped/upgraded for the normal node dev workflow, ie: https://github.com/nfroidure/ttf2woff2/blob/master/package.json https://github.com/nfroidure/gulp-ttf2woff2/blob/master/package.json https://github.com/nfroidure/gulp-iconfont/blob/master/package.json

TolotraRam commented 8 years ago

Thanks, so waiting for the PR to test it.

nfroidure commented 8 years ago

According to the Travis build it works well on Linux, @Psiablo could you build it on OSX to be sure it doesn't break it either? The PR https://github.com/nfroidure/ttf2woff2/pull/16

TolotraRam commented 8 years ago

Re, using node v4.1.2 still fails on windows, here is my step :

Build and test fails both.

TolotraRam commented 8 years ago

here the log of build :

D:\ttf2woff2 {git}{hg} {lamb} if not defined npm_config_node_gyp (node "C:\Users\Tolotra\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" build ) else (node build ) Génération des projets individuellement dans cette solution. Pour activer la génération en parallèle, ajoutez le commutateur "/m". MSBUILD : error MSB3428: Impossible de charger le composant Visual C++ "VCBuild.exe". Pour corriger le problème, vous devez 1) installer le Kit de développement .NET F ramework 2.0 SDK, 2) installer Microsoft Visual Studio 2005 ou 3) ajouter l'emplacement du composant au chemin d'accès système, s'il est installé ailleurs. [D:\ttf2wo ff2\build\binding.sln] gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Tolotra\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Windows_NT 10.0.10240 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Tolotra\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" gyp ERR! cwd D:\ttf2woff2 gyp ERR! node -v v4.1.2 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok

npm ERR! Windows_NT 10.0.10240 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Tolotra\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "make" npm ERR! node v4.1.2 npm ERR! npm v3.4.0 npm ERR! code ELIFECYCLE npm ERR! ttf2woff2@2.0.2 make: node-gyp build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ttf2woff2@2.0.2 make script 'node-gyp build'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the ttf2woff2 package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp build npm ERR! You can get their info via: npm ERR! npm owner ls ttf2woff2 npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! D:\ttf2woff2\npm-debug.log

Something to know is that i was thinking it's a problem with node gyp but when in install socket io it not fails.

GerjanOnline commented 8 years ago

@TolotraRam seems more a C++ tooling problem

Please verify your system: https://github.com/nodejs/node-gyp#installation https://github.com/Microsoft/nodejs-guidelines#environment-setup-and-configuration

TolotraRam commented 8 years ago

@GerjanOnline seems to work perfectly with windows 7 + VS13 but not with windows 10 VS15. Anyway good job :)

TolotraRam commented 8 years ago

@nfroidure So build work on windows, but npm install ttf2woff2 and npm install gulp-iconfont still fails, version dumped/upgrade needed.

nfroidure commented 8 years ago

@TolotraRam i'm waiting for an OSX user for confirming we didn't break their build before releasing. Won't be long.

TolotraRam commented 8 years ago

@nfroidure Nice, great work!!!

TolotraRam commented 8 years ago

@nfroidure @GerjanOnline I've jsut tested it on mac yosemite here's a screen capture : capture d ecran 2015-11-12 a 15 46

As seen the test passed succesfully but i don't know if the build is done (Not a mac user).

TolotraRam commented 8 years ago

Any news on this ?

ghost commented 8 years ago

Hi ! I also have that error on my windows. Any news on this issue ?

Thx and have a nice day !

erictaylor commented 8 years ago

@nfroidure can confirm build success on OSX

  Testing CLI
    ✓ should work (170ms)

  ttf2woff2
    ✓ should work from the main endpoint
    ✓ should work from the native build
    ✓ should work from the emscripten endpoint (737ms)

  4 passing (967ms)
erictaylor commented 8 years ago

It's also possible we could update .travis.yml to run tests also on osx. It would require a script to check if we are running on darwin and if so install some dependencies via homebrew. Could resolve the issue of waiting around for someone to test and verify a OS X build.

Issue for tracking #19.

nfroidure commented 8 years ago

@Psiablo That would be awesome!

nfroidure commented 8 years ago

Closing this issue since i'm going to make a new version in a few ours.