Skip to content

Install error #22

@Banyueqin

Description

@Banyueqin

$ python setup.py build_ext --inplace
Warning: Extension name 'ctc_loss' does not match fully qualified name 'metrics.ctc.ctc_loss' of 'ctc_loss.pyx'
running build_ext
building 'ctc_loss' extension
gcc -pthread -B /home/jxf/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jxf/anaconda3/lib/python3.6/site-packages/numpy/core/include -I/home/jxf/anaconda3/include/python3.6m -c ctc_loss.cpp -o build/temp.linux-x86_64-3.6/ctc_loss.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ctc_loss.cpp:509:17: fatal error: ctc.h: 没有那个文件或目录
compilation terminated.
error: command 'gcc' failed with exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions