Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation issue #9

Open
roger-liu-bina opened this issue Jun 14, 2017 · 3 comments
Open

compilation issue #9

roger-liu-bina opened this issue Jun 14, 2017 · 3 comments
Assignees

Comments

@roger-liu-bina
Copy link

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.

@mitenjain mitenjain self-assigned this Jun 14, 2017
@mitenjain
Copy link
Owner

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

@euduca
Copy link

euduca commented Oct 27, 2017

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.

@sarah872
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants