"msvcrt-ruby.ruby1818.dll not found" on wxruby-2.0.1 mingw32

Hi all,

Just upgraded to wxruby-2.0.1-x86-mingw32 (from 2.0.0), got an error
when starting my app.

“The application has failed to start because msvcrt-ruby1818.dll was
not found. Re-installing the application may fix this problem.”

Uninstalled v2.0.1, the application started OK.

My env:
ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] on Windows XP
(from http://rubyforge.org/frs/?group_id=167&release_id=38052)

Cheers,
Zhimin

Hi,

2009/9/10 Zhimin Z. [email protected]:

Just upgraded to wxruby-2.0.1-x86-mingw32 (from 2.0.0), got an error
when starting my app.

“The application has failed to start because msvcrt-ruby1818.dll was
not found. Re-installing the application may fix this problem.”

Strange. The dll should be in the ruby-1.8 installation (in the bin
folder).
I’ll take a look at the ruby distribution you indicated.

The (Windows) environment used to build wxRuby MinGW gems is the
following :

  • MSYS-1.0.11
  • Latest stable MinGW headers, libs, … with gcc-3.4.5 and g+±3.4.5
  • ruby-1.8 and ruby-1.9 builds with only the --prefix option.
    (e.g. ./configure --prefix=C:/opt/ruby-1.8)

You can also take a look at the wxruby all in one ruby-1.9 installer.

Cheers.
Chauk-Mean.

Hi (again) Zhimian,

2009/9/10 Zhimin Z. [email protected]:

Just upgraded to wxruby-2.0.1-x86-mingw32 (from 2.0.0), got an error
when starting my app.

“The application has failed to start because msvcrt-ruby1818.dll was
not found. Re-installing the application may fix this problem.”

I’ve found the problem.
For ruby-1.8, I’ve used the program-suffix option (./configure
–prefix=C:/opt/ruby-1.8 --program-suffix=18) in order to have
ruby-1.9 and ruby-1.8 usable at the same time respectively through
ruby and ruby18 executables.
The consequence is that the 18 suffix is also applied to the ruby-1.8
dll.

I’m rebuilding right now the wxRuby-2.0.1 gem for ruby-1.8 and I will
upload it.
Sorry for the inconvenience.

Cheers.
Chauk-Mean.

Chauk-Mean,

It works now, thanks!

Regards,
Zhimin

Chauk-Mean P. wrote:

2009/9/10 Chauk-Mean P. [email protected]:

I’m rebuilding right now the wxRuby-2.0.1 gem for ruby-1.8 and I will upload it.

Done.

Chauk-Mean.

2009/9/10 Chauk-Mean P. [email protected]:

I’m rebuilding right now the wxRuby-2.0.1 gem for ruby-1.8 and I will upload it.

Done.

Chauk-Mean.

Zhimin Z. wrote:

Hi all,

Just upgraded to wxruby-2.0.1-x86-mingw32 (from 2.0.0), got an error
when starting my app.

“The application has failed to start because msvcrt-ruby1818.dll was
not found. Re-installing the application may fix this problem.”

Uninstalled v2.0.1, the application started OK.

My env:
ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] on Windows XP
(from http://rubyforge.org/frs/?group_id=167&release_id=38052)

Cheers,
Zhimin

Hi! What I did, was:
gem uninstall wxruby
gem install wxruby-ruby19

Now the ruby started to use the *-ruby191.dll. I first installed the
wxruby only. As a newbie I just followed the tutorials I found. But
reading the INSTALL document from wxruby gem, pointed me to this
direction… And now at least samples will run.