Robert McGovern
2003-Aug-28 08:09 UTC
[Wxruby-users] Problem Running Samples (Mingw, Ruby 1.8.0)
I believe I have followed Gour''s instructions to the letter for compiling wxwindows, ruby and wxruby. Indeed all of the compilation stages have worked flawlessly, however when I try to ruby any of the samples I get an error dialog "This application has failed to start because wxmsw241d.dll was not found ...." Looking in the c:/mingw/lib directory robertm@PC126 /mingw/lib $ ls -la *wx* -rwxr-xr-x 3 robertm Administ 39230756 Aug 28 12:06 libwx_mswd-2.4.dll -rwxr-xr-x 3 robertm Administ 39230756 Aug 28 12:06 libwx_mswd-2.4.dll.0 -rwxr-xr-x 3 robertm Administ 39230756 Aug 28 12:06 wxmsw241d.dll -rw-r--r-- 1 robertm Administ 10448410 Aug 28 12:06 wxmsw241d.dll.a Anyone any thoughts? TIA Rob
Robert McGovern
2003-Aug-28 10:59 UTC
[Wxruby-users] Problem Running Samples (Mingw, Ruby 1.8.0)
Thanks Gerard that worked a treat. It was indeed the library path problem, hopefully in the future there won''t be a need to edit the PATH variable to point to the lib dir (as it isn''t needed when working with FXRuby (I compiled fox, fxscintilla and fxruby just after doing wxwindows and wxruby)). Good work guys though :) Now I wish I hadn''t compiled the non debug version, got a few seq faults running the toolbar demo. *sigh* Rob>>> "Gerard A.W. Vreeswijk" <gv@cs.uu.nl> 08/28/03 02:47pm >>>At 12:50 28-8-2003 +0100, you wrote:>I believe I have followed Gour''s instructions to the letter for >compiling wxwindows, ruby and wxruby. > >Indeed all of the compilation stages have worked flawlessly, however >when I try to ruby any of the samples I get an error dialog > >"This application has failed to start because wxmsw241d.dll was not >found ...." > >Looking in the c:/mingw/lib directory > >robertm@PC126 /mingw/lib >$ ls -la *wx* > >-rwxr-xr-x 3 robertm Administ 39230756 Aug 28 12:06 >libwx_mswd-2.4.dll >-rwxr-xr-x 3 robertm Administ 39230756 Aug 28 12:06 >libwx_mswd-2.4.dll.0 >-rwxr-xr-x 3 robertm Administ 39230756 Aug 28 12:06 wxmsw241d.dll >-rw-r--r-- 1 robertm Administ 10448410 Aug 28 12:06 >wxmsw241d.dll.a > >Anyone any thoughts?Hi Robert, Yes, very simple, I got the same problem following Gours instructions, it''s a library path problem. Put the path to the *.dll in your PATH variable. When I ran xWindows with wxmsw241d.dll, I got too many errors while running wxRuby. I think it is better to compile the d-less version of wxmsw241d.dll, i.e., wxmsw241.dll I am sure then everything runs fine.
Robert McGovern (robertm@spellmanhv.co.uk) wrote: Hi!> Yes, very simple, I got the same problem following Gours instructions, > > it''s a library path problem. Put the path to the *.dll in your PATH > variable.I''m sorry for forgetting to incoude this piece of info in README file :-( On my system everything works since \MinGW\bin & \MinGW\lib are in PATH. Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493
Seemingly Similar Threads
- README.mingw32
- [LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
- [LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
- [LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'
- MinGW build (static linking) problem