demuxlet
demuxlet copied to clipboard
'assert' was not declared in this scope
Hello,
I had an error installing demuxlet. During make, I get the following error:
hts_utils.cpp:274:13: error: 'assert' was not declared in this scope assert(stop); ^~~~~~ hts_utils.cpp:274:13: note: suggested alternative: '__sqrt' assert(stop); ^~~~~~ __sqrt make[1]: *** [Makefile:367: hts_utils.o] Error 1 make[1]: Leaving directory '/u/project/xyang123/xyang123-NOBACKUP/rlittman/demuxlet/demuxlet' make: *** [Makefile:239: all] Error 2
Can this just be solved by adding #include
Thanks!
Yes, I have the same problem. I tried to add #include but to no avail (it will later cause conflict in filter.cpp). I am compiling on an RHEL7 with GCC 9.2.0.
same problem, ubuntu 18, gcc 7
Did any of you find a solution for this. I am facing the same problem on my server. Thanks in advance..!!!
Try putting the following:
#include <cassert>
Into the files filter.h
and hts_utils.h
.