You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find most of the command about installing pycdec is python setup.py install
BUT, I just find the setup.py.in file and there is no setup.py file
when I type python setup.py.in install
I encountered with an error
`../utils/fast_sparse_vector.h: In member function 'size_t FastSparseVector<T, LOCAL_MAX>::size() const [with T = double; unsigned int LOCAL_MAX = 7u; size_t = long unsigned int]':
../utils/fast_sparse_vector.h:280:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from cdec/_cdec.cpp:264:0:
../decoder/kbest.h: In member function 'bool KBest::FilterUnique::operator()(const std::vector<int>&)':
../decoder/kbest.h:34:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from ../utils/fdict.h:11:0,
from ../utils/fast_sparse_vector.h:25,
from ../utils/sparse_vector.h:4,
from ../utils/weights.h:6,
from cdec/_cdec.cpp:238:
../utils/dict.h: In member function 'WordID Dict::Convert(const string&, bool)':
../utils/dict.h:60:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from ../utils/dict.h:11:0,
from ../utils/fdict.h:11,
from ../utils/fast_sparse_vector.h:25,
from ../utils/sparse_vector.h:4,
from ../utils/weights.h:6,
from cdec/_cdec.cpp:238:
../utils/wordid.h: At global scope:
../utils/wordid.h:9:21: warning: 'null_wordid' defined but not used [-Wunused-variable]
static const WordID null_wordid=std::numeric_limits<WordID>::max();
^
error: command 'gcc' failed with exit status 1`
Could anyone help me ?
thanks!
The text was updated successfully, but these errors were encountered:
I find most of the command about installing pycdec is python setup.py install
BUT, I just find the setup.py.in file and there is no setup.py file
when I type python setup.py.in install
I encountered with an error
Could anyone help me ?
thanks!
The text was updated successfully, but these errors were encountered: