On 8 Giu, 11:36, Marcello Nuccio <[email protected]> wrote: > Adding > #include "ocrolangmod/ocrolangmod.h" > to pfst.cc I get: > pfst.cc: In function 'int tolua_pfst_pfst_fst_union00(lua_State*)': > pfst.cc:351: error: 'fst_union' was not declared in this scope > > I have found fst_union() in pfst.pkg, but I don't know how to build > it... can someone help me?
Ok, I got it: pfst.cc is compiled from pfst.pkg. So I have added $#include "ocrolangmod/ocrolangmod.h" to pfst.pkg and now I'm stuck to: pfst.cc: In function 'int tolua_pfst_pfst_fst_union00(lua_State*)': pfst.cc:351: error: 'fst_union' was not declared in this scope Another thing I forgot in previous post: I needed the following package sudo apt-get install liblua5.1-0-dev --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ocropus" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ocropus?hl=en -~----------~----~----~----~------~----~------~--~---
