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

Error while trying to install gbolt #24

Open
zahidmadeel opened this issue Oct 29, 2019 · 5 comments
Open

Error while trying to install gbolt #24

zahidmadeel opened this issue Oct 29, 2019 · 5 comments
Labels

Comments

@zahidmadeel
Copy link

Hello,
I was trying to install this utility on my ubuntu machine. Below is the sequence I followed

git clone https://github.com/Jokeren/gBolt.git
cd gBolt
mkdir build && cd build
cmake ..
make

On make command, I get the following error and the making process terminates
adeel@codec:~/temp/gBolt/build$ make
[ 11%] Building CXX object CMakeFiles/gbolt.dir/src/gbolt.cc.o
/home/adeel/temp/gBolt/src/gbolt.cc:4:23: fatal error: cxxopts.hpp: No such file or directory
compilation terminated.
CMakeFiles/gbolt.dir/build.make:101: recipe for target 'CMakeFiles/gbolt.dir/src/gbolt.cc.o' failed
make[2]: *** [CMakeFiles/gbolt.dir/src/gbolt.cc.o] Error 1
CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/gbolt.dir/all' failed
make[1]: *** [CMakeFiles/gbolt.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
I have gcc version 5.4.0 and cmake version 3.15.4. Please let me know if I am doing anything worng?

Regards
Adeel

@Jokeren
Copy link
Owner

Jokeren commented Oct 29, 2019

Try this in the first step:

git clone --recursive https://github.com/Jokeren/gBolt.git

@yz555
Copy link

yz555 commented Oct 29, 2019

I tried git clone --recursive https://github.com/Jokeren/gBolt.git but it was failed .
image

@Jokeren
Copy link
Owner

Jokeren commented Oct 29, 2019

@yz555 , not sure about your problem. Check if the following solution works:

https://confluence.atlassian.com/stashkb/git-clone-fails-error-rpc-failed-result-56-http-code-200-693897332.html

If you couldn't clone dependencies by git, you can always download them manually.

cxxopts: https://github.com/jarro2783/cxxopts/tree/a0de9f3ba1035a3c4f5ffcd960cb94e4e12d40c5
jemalloc: https://github.com/jemalloc/jemalloc/tree/775fe302a75c4770edd9708e7348e626c96dfe58

@yz555
Copy link

yz555 commented Oct 30, 2019

@Jokeren Thank you Keren, the problem already been solved.

@yz555
Copy link

yz555 commented Oct 31, 2019

@Jokeren Hello Keren, I met the problem that Segmentation fault (core dumped) occurred when I used my data which followed the format you asked, and I have no idea why this error occurred. I attached my data file here, would you please let me know if I am doing anything wrong?
The command I used:
yzhang@codec:~/gBolt$ ./build/gbolt -i extern/data/combined10-3month.txt -s 0.2 -d -n -o extern/results/test10

Regards,
Yueqing
combined10-3month.txt

@Jokeren Jokeren added the bug label Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants