stanfordnlp / GloVe

Software in C and data files for the popular GloVe model for distributed word representations, a.k.a. word vectors or embeddings
Apache License 2.0
6.81k stars 1.51k forks source link

Unable to make #185

Closed rafaelgsilveira closed 3 years ago

rafaelgsilveira commented 3 years ago

Hello I tried to follow the instructions on your GitHub to run GloVe, but when I try to make the file I am getting the following error:

gcc -c src/vocab_count.c -o build/vocab_count.o -lm -pthread -O3 -march=native -funroll-loops -Wall -Wextra -Wpedantic make: gcc: No such file or directory make: *** [Makefile:33: build/vocab_count.o] Error 127

I am not sure what I am doing wrong.

Could someone help me? Tks!

rafaelgsilveira commented 3 years ago

So, I was using a fresh installed Ubuntu 21.04 and I guess I missed some dependencies. I rolled back to Ubuntu 20.04 and installed all git tools and it worked. My guess is that I was missing "gcc" in the new Ubuntu.

Anyway, I'll leave this comment here in case anyone runs into the same problem.