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

Compile problems #28

Open
awz opened this issue Jul 15, 2014 · 3 comments
Open

Compile problems #28

awz opened this issue Jul 15, 2014 · 3 comments

Comments

@awz
Copy link

awz commented Jul 15, 2014

Hi -

awz@razor:~/git/lz4mt$ make
g++ -Wall -W -Wextra -pedantic -Weffc++ -Wno-missing-field-initializers -O2 -std=c++0x -Ilz4/ -Ilz4/programs -c -o obj/lz4mt_benchmark.o src/lz4mt_benchmark.cpp
src/lz4mt_benchmark.cpp:12:20: fatal error: xxhash.h: No such file or directory
#include "xxhash.h"
^
compilation terminated.
make: *** [obj/lz4mt_benchmark.o] Error 1

Looks like the include paths are wrong and the file "xxhash.h" is missing in the latest git source. Let me know if I can provide more info? I'm compiling on ubuntu 14.04 with package "build-essential" installed.

Thanks,
Sasha

@t-mat
Copy link
Owner

t-mat commented Jul 15, 2014

Hi @awz. Thanks for the report !

Perhaps it is a git-submodule's initialize problem.
If you already clone lz4mt git repo, please try the following commands :

cd /your/lz4mt/path/
git submodule update --init --recursive
make

If you want to clone new repo, you can try the following commands :

git clone --recursive https://github.com/t-mat/lz4mt.git
cd lz4mt
make

If your problem will not resolve by these methods, please paste the result (lz4mt-ls-lR.txt) of following commands to this issue :

cd /your/lz4mt/path/
make clean
ls -lR > lz4zmt-ls-lR.txt

Hope this helps.

@awz
Copy link
Author

awz commented Jul 15, 2014

That worked well -- thanks!

@biofool
Copy link

biofool commented Jun 25, 2017

Another issue solved by

git clone --recursive https://github.com/t-mat/lz4mt.git

src/lz4mt.cpp:12:17: fatal error: lz4.h: No such file or directory
lz4zmt-ls-lR.txt

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

3 participants