Skip to content

Commit

Permalink
Merge pull request opencog#1158 from williampma/BuildError
Browse files Browse the repository at this point in the history
fixes build error
  • Loading branch information
linas committed Dec 23, 2014
2 parents f81c21f + 81f2432 commit e70a242
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion opencog/nlp/viterbi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ADD_LIBRARY (viterbi SHARED

ADD_DEPENDENCIES(viterbi opencog_atom_types)
ADD_DEPENDENCIES(viterbi viterbi_atom_types)
ADD_DEPENDENCIES(viterbi sureal)

TARGET_LINK_LIBRARIES(viterbi
lg-dict
Expand Down
6 changes: 3 additions & 3 deletions opencog/nlp/viterbi/atom_types_init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

#include <opencog/server/Module.h>
#include "opencog/viterbi/atom_types.definitions"
#include "opencog/nlp/viterbi/atom_types.definitions"

using namespace opencog;

Expand All @@ -24,7 +24,7 @@ win::BOOL APIENTRY DllMain(win::HINSTANCE hinstDLL, // handle to DLL module
System::setModuleHandle(hinstDLL);
switch (fdwReason) {
case DLL_PROCESS_ATTACH:
#include "opencog/viterbi/atom_types.inheritance"
#include "opencog/nlp/viterbi/atom_types.inheritance"
break;
case DLL_THREAD_ATTACH:
break;
Expand All @@ -38,7 +38,7 @@ win::BOOL APIENTRY DllMain(win::HINSTANCE hinstDLL, // handle to DLL module
#elif __GNUC__
static __attribute__ ((constructor)) void viterbi_init(void)
{
#include "opencog/viterbi/atom_types.inheritance"
#include "opencog/nlp/viterbi/atom_types.inheritance"
}

static __attribute__ ((destructor)) void viterbi_fini(void)
Expand Down

0 comments on commit e70a242

Please sign in to comment.