marbl / meryl

A genomic k-mer counter (and sequence utility) with nice features.
115 stars 13 forks source link

compile problem #32

Open Solenyalyl opened 1 year ago

Solenyalyl commented 1 year ago

Dear Author: it cannot be compiled with an error meryl2/merylOpTemplate.C:159:44: error: cast from ‘const char’ to ‘char’ loses precision [-fpermissive] 159 | for (char suf = strchr(prName, '#'); ((suf) && (suf == '#')); suf++) I'm donnot ubderstand c++ ,how to change the ‘const char’ strchr(prName, '#') into ‘char’? thank you~

brianwalenz commented 1 year ago

In src/main.mk, remove the following lines near the bottom of the file:

SUBMAKEFILES += meryl2/meryl.mk \
                meryl2-analyze/meryl-analyze.mk \
                meryl2-simple/meryl-simple.mk \
                meryl2-import/meryl-import.mk \
                meryl2-lookup/meryl-lookup.mk

This disable compilation of meryl2 which isn't quite ready for use. The original version of meryl is still compiled.

Thanks for the report.

Solenyalyl commented 1 year ago

got it,thank you