G-Node / G-Node/nix-mx

error: ‘value’ is not a member of ‘nix::to_data_type<long long unsigned int>’

Open
#12 5 comments 0 reactions 1 assignee Claimed by @jgrewe View on GitHub
Dominant language
MATLAB
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

nix_mx does not compile under linux, I get the following compile error:

```
/home/jan/projects/programming/nix-mx/include/utils/mkarray.h: In instantiation of ‘typename std::enable_if::value, mxArray_tag>::type* make_mx_array(T) [with T = long long unsigned int; typename std::enable_if::value, mxArray_tag>::type = mxArray_tag]’:
/home/jan/projects/programming/nix-mx/include/utils/struct.h:43:66: required from ‘void struct_builder::set(mwIndex, int, T&&) [with T = long long unsigned int; mwIndex = long unsigned int]’
/home/jan/projects/programming/nix-mx/include/utils/struct.h:38:3: required from ‘void struct_builder::set(int, T&&) [with T = long long unsigned int]’
/home/jan/projects/programming/nix-mx/include/utils/struct.h:28:3: required from ‘void struct_builder::set(T&&) [with T = long long unsigned int]’
/home/jan/projects/programming/nix-mx/src/nixgen.cc:64:36: required from here
/home/jan/projects/programming/nix-mx/include/utils/mkarray.h:59:58: error: ‘value’ is not a member of ‘nix::to_data_type’
DType2 dtype = dtype_nix2mex(nix::to_data_type::value);
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.