argman / EAST

A tensorflow implementation of EAST text detector
GNU General Public License v3.0
3.01k stars 1.05k forks source link

Can't compile lanms in CentOS #321

Open Arctanxy opened 4 years ago

Arctanxy commented 4 years ago

I compiled lanms successfully in Ubuntu by g++ 6.5.0. But when compiling lanms in CentOS, I got following error:

g++: error: -fuse-linker-plugin is not supported in this configuration
make: *** [lanms/adaptor.so] Error 1
make: Leaving directory `/home/dai/scripts/SakuraRivenEAST/lanms-1.0.2'
Traceback (most recent call last):
  File "setup.py", line 28, in <module>
    raise RuntimeError('Cannot compile lanms in the directory: {}'.format(BASE_DIR))
RuntimeError: Cannot compile lanms in the directory: /home/dai/scripts/SakuraRivenEAST/lanms-1.0.2

And I got the same error while installing lanms by pip:

pip install lanms

My system version is CentOS release 6.6 (Final),and g++ version is 6.5.0.

Looking forward to your answer.

Arctanxy commented 4 years ago

I replaced lanms with opencv finally.