From: Ron Coutts Date: 2003-12-02T13:23:16+09:00 Subject: Re: Embedding Ruby in C > Here is what i get: > > Compiling... > out.c > Linking... > out.obj : error LNK2001: unresolved external symbol _ruby_init > out.obj : error LNK2001: unresolved external symbol _ruby_finalize > out.obj : error LNK2001: unresolved external symbol _rb_eval_string > Debug/out.exe : fatal error LNK1120: 3 unresolved externals > Error executing link.exe. > > out.exe - 4 error(s), 0 warning(s) > > Any ideas? Thanks, Isn't this just a C linker error? I've never embedded ruby myself, but it seems there's a missing lib file containing the object code for functions ruby_init, ruby_finalize and rb_eval_string. Ron