From: ruby talk Date: 2006-01-22T05:35:58+09:00 Subject: Re: c-extension problem ------=_Part_16181_27889948.1137875734957 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, How did you compile the example in 2003? I am tring to do it with the makefile not a compiler. When I create a blank c++ console project for the code it gives me linking errors. Thank you for any help Becker On 1/21/06, Jon Egil Strand wrote: > > > Dear list. > > After reading through this walkthrough (1) of compiling c-extensions on > Windows I was finally able to build the pickaxe example on two different > PC's. One with Visual Studio 2003, the other with Visual C++ express 2005= . > Both compiled, only one worked. This raises some issues. > > I) Should I try to fix this? I mean, will working with C-extensions bring > me down the road of never-ending versioning/library/compiler/... > problems. > > II) If yes, how to fix the technical issues at hand today? > > Any suggestions would be very welcome. > > Anyway, here's what happened. > > > Building on VS 2003 gave a working result at first try. C++ express 2005 > however gave two distinct errors when running > > > > irb: require 'Test' > > GUI warning-box: > ruby.exe - Unable to Locate Component > This application has failed to start because MSVCR80.dll was not found= . > Re-installing the application may fix this problem. > > irb: Load error 126 ... > > > > After searching from mscvr80.dll, finding it here(2) and copying it to > c:\windows\system32 the following error appeared: > > irb: require 'Test' > > GUI warning-box > Microsoft Visual C++ Runtime Library > Rumtime Error! > Program: c:\progra~1\ruby\bin\ruby.exe > R6034 > An application has made an attempt to load the C runtime library > incorrectly > Please contact the application's support team for more information. > > irb: Load error 1114... > > > All the best > Jon Egil Strand > > > (1) http://www.koontzfamily.org/david/blog/?p=3D230 > Note that I had to install Microsofts Platform SDK from MSDN seperately. > > (2) > > C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-= ww_0de06acd > > > ------=_Part_16181_27889948.1137875734957--