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 problem #2

Open
karel-brinda opened this issue Jul 11, 2016 · 5 comments
Open

Compilation problem #2

karel-brinda opened this issue Jul 11, 2016 · 5 comments

Comments

@karel-brinda
Copy link

Hello, I have the following problem with compilation. SDSL is already compiled in ../sdsl-lite. Do you have any idea how to fix it? Thanks.

karel@optikarel:~/github/bwt-merge$ make SDSL_DIR=../sdsl-lite/ VERBOSE=1
/usr/bin/c++ -std=c++11 -Wall -Wextra -DNDEBUG   -DVERBOSE_STATUS_INFO -pthread -O3 -ffast-math -funroll-loops -msse4.2 -DHAVE_CXA_DEMANGLE -I/usr/local/include -c bwt.cpp
In file included from support.h:28:0,
                 from formats.h:28,
                 from bwt.h:28,
                 from bwt.cpp:27:
utils.h:37:34: fatal error: sdsl/wavelet_trees.hpp: No such file or directory
compilation terminated.
make: *** [bwt.o] Error 1
@jltsiren
Copy link
Owner

It looks like you don't have the SDSL header files installed in /usr/local/include, which is the include directory set in your $(SDSL_DIR)/Make.helper. Try rerunning the SDSL install script.

@karel-brinda
Copy link
Author

I am sorry, I didn't know that it requires a full installation of SDSL. In such a case, it is a problem for me because on most of machines I use, I don't have root.

@jltsiren
Copy link
Owner

If you don't specify the install directory for install.sh, it installs SDSL into your home directory and updates Make.helper accordingly.

@karel-brinda
Copy link
Author

Thanks, it works now. Btw. would not be possible to use $(SDSL_DIR) for everything?

@jltsiren
Copy link
Owner

The SDSL convention is to use the compilers, options, and directories specified in Make.helper.

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

2 participants