natverse / fafbseg

Support functions for analysis of Drosophila connectomes especially the FAFB-FlyWire whole brain
https://natverse.org/fafbseg/
GNU General Public License v3.0
6 stars 4 forks source link

dracor issue #110

Closed dokato closed 3 years ago

dokato commented 3 years ago

Prefer CRAN dracor:

https://github.com/natverse/fafbseg/blob/439bf1739c7da69aa5e59d4e68fd8d11981314f3/DESCRIPTION#L84

Otherwise complains:

n file included from Dracor.cpp:7:
In file included from ./draco/compression/decode.h:19:
In file included from ./draco/compression/config/decoder_options.h:21:
In file included from ./draco/attributes/geometry_attribute.h:21:
In file included from ./draco/attributes/geometry_indices.h:22:
./draco/core/draco_index_type.h:69:3: error: unknown type name 'constexpr'
  constexpr IndexType() : value_(ValueTypeT()) {}
  ^
./draco/core/draco_index_type.h:69:13: error: constructor cannot have a return type
  constexpr IndexType() : value_(ValueTypeT()) {}
            ^~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [Dracor.o] Error 1
ERROR: compilation failed for package ‘dracor’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/dracor’
Installing 8 packages: utf8, xfun, plogr, brotli, RSQLite, httptest, RcppMsgPack, reticulate
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/utf8_1.2.1.tgz'
Content type 'application/x-gzip' length 196809 bytes (192 KB)
==================================================
jefferis commented 3 years ago

Closed by 6fa669629668d1d6e76e45aa923f72124d43b5c3