-
Notifications
You must be signed in to change notification settings - Fork 6
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
error: linker command failed with exit code 1 (use -v to see invocation) #5
Comments
Can you try to compile it with GCC? I didn't test it with clang. You can just cd into the FEM directory and use "make". Let me know if you still have this issue. |
make // I use MacOS
|
You can install GCC with Homebrew on MacOS. Then you can modify your makefile to use gcc (not clang) as your compiler. Then it should work. I think there is some linking issue with clang, which I will investigate later when I get some time. |
I made some changes to the Makefile. Now you should be able to compile it with clang on your Mac. Just pull the latest code, get into the directory, run make clean and then make. Let me know if you still have problems with it. |
Thanks; however, I still have a problem with htslib:
|
It works on my Mac. You can try to delete the whole directory, clone it again and then make. If there are still problems, then please use homebrew to install gcc and use it as compiler. |
make htslib
make all
I got these error while compiling the code:
The text was updated successfully, but these errors were encountered: