Open jayinai opened 7 years ago
Environment: macOS Sierra v.10.12
So after modifying line 347 of annoylib.h to change lseek64 to lseek, I compile the source file (in the Linux folder) via:
annoylib.h
lseek64
g++ LargeVis.cpp main.cpp -o LargeVis -lm -pthread -lgsl -lgslcblas -Ofast -march=native -ffast-math -L/usr/local/lib -I/usr/local/include
But got this error
LargeVis.cpp:351:48: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat] printf("Running propagation %d/%d%c", i + 1, n_propagations, 13); ~~ ^~~~~~~~~~~~~~ %lld 1 warning generated.
Environment: macOS Sierra v.10.12
So after modifying line 347 of
annoylib.h
to changelseek64
to lseek, I compile the source file (in the Linux folder) via:g++ LargeVis.cpp main.cpp -o LargeVis -lm -pthread -lgsl -lgslcblas -Ofast -march=native -ffast-math -L/usr/local/lib -I/usr/local/include
But got this error