cyang-kth / fmm

Fast map matching, an open source framework in C++
https://fmm-wiki.github.io/
Apache License 2.0
875 stars 205 forks source link

make error #258

Open august-zhu opened 1 year ago

august-zhu commented 1 year ago

I was installing it on my Mac, and I had the following error when I tried to make:

[ 78%] Built target STMATCH_OBJ
[ 78%] Built target FMM_OBJ
[ 80%] Linking CXX shared library libFMMLIB.dylib
ld: file too small (length=0) file 'CMakeFiles/CONFIG.dir/src/config/gps_config.cpp.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libFMMLIB.dylib] Error 1
make[1]: *** [CMakeFiles/FMMLIB.dir/all] Error 2
make: *** [all] Error 2

I checked the Q&A and my python version was correct. Any suggestions would be appreciated!

hqzqaq commented 1 year ago

You can use docker to run fmm, and this is the made mirror address:https://hub.docker.com/r/hqzqaq/fmm

docker pull hqzqaq/fmm
RuohanLixyf commented 1 month ago

same error here: [ 73%] Built target FMM_OBJ [ 78%] Built target STMATCH_OBJ [ 80%] Linking CXX shared library cygFMMLIB.dll collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/FMMLIB.dir/build.make:163: cygFMMLIB.dll] Error 1 make[1]: [CMakeFiles/Makefile2:399: CMakeFiles/FMMLIB.dir/all] Error 2 make: *** [Makefile:136: all] Error 2