nanopore
nanopore copied to clipboard
compilation issue
I got this error when compiling: In file included from impl/cactusBlock.c:7:0: impl/cactusGlobalsPrivate.h:22:20: fatal error: tcutil.h: No such file or directory compilation terminated.
Hello,
Sorry for the delay. Could you tell a little more about the OS and your system so I can try and reproduce the error on our end?
Also, we have a more up-to-date repository at github.com/benedictpaten/marginAlign
-Miten
Hi @roger-liu-bina. You have to set the location of tcutil manually. Firstly you have to install the tokyo cabinet software: https://github.com/ninjudd/tokyocabinet
Adjust the location of tcutil.h:
$ nano submodules/sonLib/include.mk
change:
#Release compiler flags
cflags_opt = -O3 -g -Wall --pedantic -funroll-loops -DNDEBUG
#-fopenmp
cppflags_opt = -O3 -g -Wall -funroll-loops -DNDEBUG
to:
#Release compiler flags
cflags_opt = -O3 -g -Wall --pedantic -funroll-loops -DNDEBUG -I/PATH/TO/tokyo-cabinet/include/
#-fopenmp
cppflags_opt = -O3 -g -Wall -funroll-loops -DNDEBUG
After the correction, run the command make.
After experiencing the same issue, modifying the include.mk
worked for me!