System information
・OS Platform and Distribution : ubuntu16.04 (4.15.0-36-generic)
・GCC/Compiler version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)
Describe the current behavior
When I compile LightMLDA following the instructions, compile error happened.
This error related with define of "SampMethod in GibbsMLDA.h".
Other info / logs
In file included from GibbsMLDATest.cpp:5:0:
GibbsMLDA.h: At global scope:
GibbsMLDA.h:32:30: error: ‘SampMethod’ is not a class or namespace
double Learn( SampMethod sm=SampMethod::Gibbs );
^
GibbsMLDATest.cpp: In function ‘int main(int, char**)’:
GibbsMLDATest.cpp:330:17: error: ‘SampMethod’ is not a class or namespace
samp_method = SampMethod::MH;
^
GibbsMLDATest.cpp:335:17: error: ‘SampMethod’ is not a class or namespace
samp_method = SampMethod::Gibbs;
^
<ビルトイン>: ターゲット 'GibbsMLDATest.o' のレシピで失敗しました
make: *** [GibbsMLDATest.o] エラー 1
System information
・OS Platform and Distribution : ubuntu16.04 (4.15.0-36-generic)
・GCC/Compiler version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)
Describe the current behavior
When I compile LightMLDA following the instructions, compile error happened.
This error related with define of "SampMethod in GibbsMLDA.h".
Other info / logs
In file included from GibbsMLDATest.cpp:5:0:
GibbsMLDA.h: At global scope:
GibbsMLDA.h:32:30: error: ‘SampMethod’ is not a class or namespace
double Learn( SampMethod sm=SampMethod::Gibbs );
^
GibbsMLDATest.cpp: In function ‘int main(int, char**)’:
GibbsMLDATest.cpp:330:17: error: ‘SampMethod’ is not a class or namespace
samp_method = SampMethod::MH;
^
GibbsMLDATest.cpp:335:17: error: ‘SampMethod’ is not a class or namespace
samp_method = SampMethod::Gibbs;
^
<ビルトイン>: ターゲット 'GibbsMLDATest.o' のレシピで失敗しました
make: *** [GibbsMLDATest.o] エラー 1