I figured it out. in my wscript, I should have added my "freeling_tokenizer.cc to the source array.
On Mar 25, 8:44 am, rhasson <[email protected]> wrote: > I'm writing a native module that wraps a C program. Below is my > module declaration but when I build it with node-waf I get the > following error: > > error: ‘node_module_struct’ in class ‘node’ does not name a type > > #define FREELING_BINDING > #include <node.h> > #include <v8.h> > #include "freeling_tokenizer.h" > > void InitAll(v8::Handle<v8::Object> target) { > FreeLingTokenizer::Init(target); > > } > > NODE_MODULE(freeling, InitAll) -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" 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/nodejs?hl=en?hl=en
