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

make error #258

Open
august-zhu opened this issue Feb 3, 2023 · 2 comments
Open

make error #258

august-zhu opened this issue Feb 3, 2023 · 2 comments

Comments

@august-zhu
Copy link

august-zhu commented Feb 3, 2023

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
Copy link

hqzqaq commented Feb 8, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants