nanopore icon indicating copy to clipboard operation
nanopore copied to clipboard

compilation issue

Open roger-liu-bina opened this issue 7 years ago • 3 comments

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.

roger-liu-bina avatar Jun 14 '17 23:06 roger-liu-bina

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

mitenjain avatar Jul 05 '17 06:07 mitenjain

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.

euduca avatar Oct 27 '17 18:10 euduca

After experiencing the same issue, modifying the include.mk worked for me!

sarah872 avatar Dec 17 '18 12:12 sarah872