From: Chris Pine Date: 2001-01-11T23:53:05+09:00 Subject: [ruby-talk:9138] Re: Embedded Ruby in VC++ 6.0 on Windows 2000 ----- Original Message ----- > I *think* the equivilant beast under Windows (compiled using the > cygwin/gcc stuff) is ruby\lib\libcygwin-ruby16.a, or, if > you compile using mswin32 (that's the configure.bat script > under win32) it's ruby\win32\mswin32-ruby16.lib. At least, off > the top of my head that sounds about right. ------------------------------- I compiled with 'ruby\win32\mswin32-ruby16.lib', and it compiled beautifully. However, it couldn't find the 'mswin32-ruby16.dll', which is because I can't get the dll to compile. I feel mighty sheepish asking about compiling problems, but I really don't know where to find these external symbols, so... um... help? When I run 'nmake' (following the mswin32 instructions), I get the following message: cl -nologo -DNT=1 -Zi -MD -O2b2x -G5 -Fm main.obj dmyext.obj libruby.lib mswin32-ruby16.dll.res user32.lib advapi32.lib wsock32.lib -o mswin32-ruby16. dll -link /DLL /DEF:mswin32-ruby16.def Creating library mswin32-ruby16.lib and object mswin32-ruby16.exp mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@0000000000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@3eb0c6f7a0b5ed8d mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@3ef0000000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@3f00000000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@3f50624dd2f1a9fc mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@3faeb851eb851eb8 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@3fe0000000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@3ff0000000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@4010000000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@40efffe000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@40f0000000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@412e848000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@41cfffffff800000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@41dfffffffc00000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@46293e5939a08cea mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@c12e848000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@c1d0000000000000 mswin32-ruby16.exp : error LNK2001: unresolved external symbol _real@c1e0000000000000 mswin32-ruby16.dll : fatal error LNK1120: 18 unresolved externals NMAKE : fatal error U1077: 'cl' : return code '0x2' Any ideas? Many thanks, Chris