Closed ThomasTJdev closed 6 years ago
When installing with Nimble, the styles.nim has errors, which prevent the library from working. There's 2 errors:
uint32_t
../../../../.nimble/pkgs/nimlibxlsxwriter-0.1.1/nimlibxlsxwriter/styles.nim(18, 18) Error: undeclared identifier: 'uint32_t'
lxw_formats
../../../../.nimble/pkgs/nimlibxlsxwriter-0.1.1/nimlibxlsxwriter/styles.nim(24, 22) Error: undeclared identifier: 'lxw_formats'
When manually formatting according to the comments below the library works.
# styles.nim lxw_styles* {.bycopy.} = object file*: ptr FILE font_count*: uint32_t # => uint32 xf_count*: uint32_t # => uint32 dxf_count*: uint32_t # => uint32 num_format_count*: uint32_t # => uint32 border_count*: uint32_t # => uint32 fill_count*: uint32_t # => uint32 xf_formats*: ptr lxw_formats # => lxw_format dxf_formats*: ptr lxw_formats # => lxw_format
When installing with Nimble, the styles.nim has errors, which prevent the library from working. There's 2 errors:
uint32_t
lxw_formats
When manually formatting according to the comments below the library works.