-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
can not compile lanms #156
Comments
Please paste the result of `g++ --version`
…On Fri, May 11, 2018 at 8:25 PM tsing-cv ***@***.***> wrote:
make: Entering directory '/home/????/EAST-master/lanms'
g++ -o adaptor.so -I include -std=c++11 -O3 -I/home/aikaka/anaconda2/envs/tf3_wqq/include/python3.5m -I/home/aikaka/anaconda2/envs/tf3_wqq/include/python3.5m -Wno-unused-result -Wsign-compare -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -I/home/??/anaconda2/envs/tf3_wqq/include -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -flto -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -L/home/??/anaconda2/envs/tf3_wqq/lib/python3.5/config-3.5m -L/home/??/anaconda2/envs/tf3_wqq/lib -lpython3.5m -lpthread -ldl -lutil -lrt -lm -Xlinker -export-dynamic adaptor.cpp include/clipper/clipper.cpp --shared -fPIC
g++: error: unrecognized command line option ‘-fno-plt’
Makefile:10: recipe for target 'adaptor.so' failed
make: *** [adaptor.so] Error 1
make: Leaving directory '/home/????/EAST-master/lanms'
Traceback (most recent call last):
File "eval.py", line 9, in <module>
import lanms
File "/home/????/EAST-master/lanms/__init__.py", line 8, in <module>
raise RuntimeError('Cannot compile lanms: {}'.format(BASE_DIR))RuntimeError: Cannot compile lanms: /home/????/EAST-master/lanms
when i tempt to execute eval.py, raise this error, can you help me ??
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#156>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2QT2DPmZMjRKNwilgm4pDvRKhQpFptks5txYMtgaJpZM4T7YMM>
.
|
|
I have the same issue, my gcc version is 'g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0' |
I have the same issue, my g++ version is also 5.4.0 20160609 |
@YHCodes |
@maichm Your answer helps me , thanks ~! |
It seems that you need gcc 6 or higher for |
I tried to solve the same problem as kurapan did(I use python 3.6, gcc 4.8), it came across another problem: |
Anybody solved this issue? |
@jiangmiaotong this helped me a lot!! |
Anyone can help regarding ,LANMS Compile cmds for Ubuntu 16.04 LTS with G++ Compiler 5.4.0. When try compile, got this below error. g++ -o adaptor adaptor.cpp |
Solution can be found in the below link! |
Thank you |
There is a simple solution for Mac user:
This works for me. Good luck :) |
i have gcc version 6.3.0but still getting same error..any solution? |
i solved lanms issue with windows 10 using below link. |
window10 |
when i tempt to execute eval.py, raise this error, can you help me ??
The text was updated successfully, but these errors were encountered: