mikemccand / chromium-compact-language-detector

Automatically exported from code.google.com/p/chromium-compact-language-detector
160 stars 31 forks source link

cld_encodings.h missing #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
aitzol@arno:/devel/chromium-compact-language-detector$ python setup.py build
running build
running build_ext
building 'cld' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I. -I/usr/include/python2.6 -c pycldmodule.cc -o 
build/temp.linux-i686-2.6/pycldmodule.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
pycldmodule.cc:12:27: error: cld_encodings.h: No such file or directory
pycldmodule.cc:16: error: ‘Encoding’ has not been declared
pycldmodule.cc: In function ‘bool EncodingFromName(const char*, int*)’:
pycldmodule.cc:17: error: ‘NUM_ENCODINGS’ was not declared in this scope
pycldmodule.cc:18: error: ‘cld_encoding_info’ was not declared in this scope
pycldmodule.cc:23: error: ‘UNKNOWN_ENCODING’ was not declared in this scope
pycldmodule.cc: In function ‘PyObject* detect(PyObject*, PyObject*, 
PyObject*)’:
pycldmodule.cc:80: error: ‘Encoding’ was not declared in this scope
pycldmodule.cc:80: error: expected ‘;’ before ‘hintEncodingEnum’
pycldmodule.cc:83: error: ‘hintEncodingEnum’ was not declared in this scope
pycldmodule.cc:83: error: ‘UNKNOWN_ENCODING’ was not declared in this scope
pycldmodule.cc:84: error: ‘hintEncodingEnum’ was not declared in this scope
pycldmodule.cc:103: error: ‘hintEncodingEnum’ was not declared in this scope
pycldmodule.cc: In function ‘void initcld()’:
pycldmodule.cc:152: error: ‘NUM_ENCODINGS’ was not declared in this scope
pycldmodule.cc:154: error: ‘cld_encoding_info’ was not declared in this 
scope
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by aitzo...@gmail.com on 26 Oct 2011 at 6:09

GoogleCodeExporter commented 9 years ago
Woops!  Sorry about that... I forgot to "hg add" it.  Should be fixed now?

Original comment by m...@mikemccandless.com on 26 Oct 2011 at 11:02

GoogleCodeExporter commented 9 years ago
Fixed, thanks!

Original comment by aitzo...@gmail.com on 26 Oct 2011 at 11:53

GoogleCodeExporter commented 9 years ago

Original comment by luc...@mikemccandless.com on 26 Oct 2011 at 2:32