Closed passelma42 closed 2 years ago
@passelma42 if you type g++ in the command line, does it work? If not, it's not installed (otherwise make should find it too)
It was not installed before. I installed it later, but make didn't work then either...
so if you type
g++
in the command line you see some output? That error simply saying that g++ is not in your path so I'd be surprised if it was correctly installed
(base) passelma@we11c255:~/winubu/gfastats$ which g++ /usr/bin/g++
(base) passelma@we11c255:~/winubu/gfastats$ make mkdir -p build/bin g++ -g -Wall -std=gnu++11 -O3 -I./include -I./zlib -o build/bin/gfastats src/gfastats.cpp -lz /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status make: *** [Makefile:16: gfastats] Error 1
looks like you have to install zlib, this might help: https://stackoverflow.com/questions/3373995/usr-bin-ld-cannot-find-lz
Hi, I tried making the gitclone in winubuntu but it won't make: Build essentials and apt-install g++ also didn't work.