Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^6: wxbase28u_gcc_custom.dll Error

by bedohave9 (Acolyte)
on Aug 24, 2012 at 23:07 UTC ( [id://989656]=note: print w/replies, xml ) Need Help??


in reply to Re^5: wxbase28u_gcc_custom.dll Error
in thread wxbase28u_gcc_custom.dll Error

I do not know how to get it. Please let me know.

Replies are listed 'Best First'.
Re^7: wxbase28u_gcc_custom.dll Error
by bulk88 (Priest) on Aug 25, 2012 at 00:44 UTC
    Ummmmm. How did you install it? If you compiled Perl Wx or Wx yourself, you saw the console log. Perl Wx requires a module called Alien::WxWidgets, you must install that, that provides the actual WxWidget C++ libraries for Wx:: to load.

    Is wxbase28u_gcc_custom.dll anywhere on your hard drive? I looked at my Wx:: install which I compiled using MS VC, I dont have that file. I have a file called wxbase28_vc_custom.dll . Did you really compile Perl Wx or Wx yourself or are you using binary zips/rars? Sounds like you are mixing a Mingw Wx:: with no Wx C++ dlls, or you are mixing a Mingw Wx:: with Visual C Wx C++ dlls. What Perl are you using, ActivePerl or Strawberry Perl?

      Sorry for the delay. I am using the Strawberry Perl. Actually, I have used CPAN to install Wx. I have ran the Mingw before too. Here is the error when I run the program :

      C:\Users\xyz\Desktop\Perl>simpleapp.pl Can't load 'C:\Users\xyz~1\perl5\lib\perl5\MSWin32-x64-multi-thread/au +to/Wx/Wx.dll' for module Wx: load_file:The specified module could not + be foun d at C:/strawberry/perl/lib/DynaLoader.pm line 190. at C:\Users\xyz\Desktop\Perl\simpleapp.pl line 5 Compilation failed in require at C:\Users\xyz\Desktop\Perl\simpleapp.p +l line 5. BEGIN failed--compilation aborted at C:\Users\xyz\Desktop\Perl\simplea +pp.pl line 5.
        You need to find that dll and place it next to your other wxbase28*********.dll files. Is wxbase28u_gcc_custom.dll anywhere on your hard drive? I suggest you use http://www.dependencywalker.com/ and do a profile-start profiling. It will show you in the bottom 3rd log window exactly how Wx.dll loaded and what dependency failed. Here is a cut version of the loading log from my Wx.
        LoadLibraryExA("c:\perl512\site\lib\auto\Wx\Wx.dll", 0x00000000, LOAD_ +WITH_ALTERED_SEARCH_PATH) called from "c:\perl512\bin\PERL512.DLL" at + address 0x281E56E1. Loaded "c:\perl512\site\lib\auto\wx\WX.DLL" at address 0x00B20000. Su +ccessfully hooked module. Loaded "c:\perl512\site\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXMS +W28_CORE_VC_CUSTOM.DLL" at address 0x00EC0000. Successfully hooked m +odule. Loaded "c:\windows\system32\COMDLG32.DLL" at address 0x763B0000. Succ +essfully hooked module. Loaded "c:\windows\system32\SHELL32.DLL" at address 0x7C9C0000. Succe +ssfully hooked module. Loaded "c:\windows\system32\WINSPOOL.DRV" at address 0x73000000. Succ +essfully hooked module. Loaded "c:\windows\system32\OLE32.DLL" at address 0x774E0000. Success +fully hooked module. Loaded "c:\windows\system32\OLEAUT32.DLL" at address 0x77120000. Succ +essfully hooked module. Loaded "c:\perl512\site\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXBA +SE28_VC_CUSTOM.DLL" at address 0x01180000. Successfully hooked modul +e. Loaded "c:\windows\system32\MSVCP71.DLL" at address 0x7C3C0000. Succe +ssfully hooked module. Loaded "c:\perl512\site\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXMS +W28_ADV_VC_CUSTOM.DLL" at address 0x012A0000. Successfully hooked mo +dule. Loaded "c:\windows\system32\WINMM.DLL" at address 0x76B40000. Success +fully hooked module. DllMain(0x7C9C0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\SHELL32.DLL" called. GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "CreateA +ctCtxW") called from "c:\windows\system32\SHELL32.DLL" at address 0x7 +C9FABDE and returned 0x7C8154FC. GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "Activat +eActCtx") called from "c:\windows\system32\SHELL32.DLL" at address 0x +7C9E7689 and returned 0x7C80A6E4. LoadLibraryW("comctl32.dll") called from "c:\windows\system32\SHELL32. +DLL" at address 0x7C9FA814. LoadLibraryW("comctl32.dll") returned 0x773D0000. GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "Deactiv +ateActCtx") called from "c:\windows\system32\SHELL32.DLL" at address +0x7C9E76F4 and returned 0x7C80A715. LoadLibraryW("comctl32.dll") called from "c:\windows\system32\SHELL32. +DLL" at address 0x7C9FA946. LoadLibraryW("comctl32.dll") returned 0x773D0000. GetProcAddress(0x773D0000 [c:\windows\winsxs\x86_microsoft.windows.com +mon-controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.DL +L], "InitCommonControlsEx") called from "c:\windows\system32\SHELL32. +DLL" at address 0x7C9FA956 and returned 0x773D4088. DllMain(0x7C9C0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\SHELL32.DLL" returned 1 (0x1). DllMain(0x763B0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\COMDLG32.DLL" called. DllMain(0x763B0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\COMDLG32.DLL" returned 1 (0x1). DllMain(0x73000000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\WINSPOOL.DRV" called. DllMain(0x73000000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\WINSPOOL.DRV" returned 1 (0x1). DllMain(0x774E0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\OLE32.DLL" called. DllMain(0x774E0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\OLE32.DLL" returned 1 (0x1). DllMain(0x77120000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\OLEAUT32.DLL" called. DllMain(0x77120000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\OLEAUT32.DLL" returned 1 (0x1). DllMain(0x7C3C0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\MSVCP71.DLL" called. DllMain(0x7C3C0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\MSVCP71.DLL" returned 1 (0x1). DllMain(0x01180000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\perl512\sit +e\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXBASE28_VC_CUSTOM.DLL" c +alled. DllMain(0x01180000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\perl512\sit +e\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXBASE28_VC_CUSTOM.DLL" r +eturned 1 (0x1). DllMain(0x00EC0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\perl512\sit +e\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXMSW28_CORE_VC_CUSTOM.DL +L" called. DllMain(0x00EC0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\perl512\sit +e\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXMSW28_CORE_VC_CUSTOM.DL +L" returned 1 (0x1). DllMain(0x76B40000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\WINMM.DLL" called. DllMain(0x76B40000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\sys +tem32\WINMM.DLL" returned 1 (0x1). DllMain(0x012A0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\perl512\sit +e\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXMSW28_ADV_VC_CUSTOM.DLL +" called. DllMain(0x012A0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\perl512\sit +e\lib\alien\wxwidgets\msw_2_8_12_cl_7_1\lib\WXMSW28_ADV_VC_CUSTOM.DLL +" returned 1 (0x1). DllMain(0x00B20000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\perl512\sit +e\lib\auto\wx\WX.DLL" called. DllMain(0x00B20000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\perl512\sit +e\lib\auto\wx\WX.DLL" returned 1 (0x1). LoadLibraryExA("c:\perl512\site\lib\auto\Wx\Wx.dll", 0x00000000, LOAD_ +WITH_ALTERED_SEARCH_PATH) returned 0x00B20000. GetProcAddress(0x00B20000 [c:\perl512\site\lib\auto\wx\WX.DLL], "boot_ +Wx") called from "c:\perl512\bin\PERL512.DLL" at address 0x281EC26F a +nd returned 0x00B238FA.
        Can't load 'C:\Users\xyz~1\perl5\lib\perl5\MSWin32-x64-multi-thread/au +to/Wx/Wx.dll' for module Wx: load_file:The specified module could not + be foun d at C:/strawberry/perl/lib/DynaLoader.pm line 190.
        I also see you have a non-standard installation location. Does the file C:\Users\xyz~1\perl5\lib\perl5\MSWin32-x64-multi-thread/auto/Wx/Wx.dll exist? I suggest you also open that particular Wx.dll file using Dependency Walker and look at what perl5**.dll it wants, and make that exact dll by name is in your C:/strawberry/perl/bin folder. I dont know what happens on VC Perl or Strawberry Perl if you install Wx:: into a non-standard location. Have you tried adding the folder with wxbase*.dll files to your PATH? I am looking at this line https://metacpan.org/source/MDOOTSON/Wx-0.9911/Wx.pm#L94 and this https://metacpan.org/source/MDOOTSON/Wx-0.9911/lib/Wx/Mini.pm#L44.

        Here is the error when I did the wx::install.

        cpan> wx::install Catching error: "Can't locate object method \"install\" via package \" +wx\" (perhaps you forgot to load \"wx\"?) at C:/Perl64/lib/CPAN.pm li +ne 375, <IN > line 3.\cJ" at C:/Perl64/lib/CPAN.pm line 391 CPAN::shell() called at C:/Perl64/lib/App/Cpan.pm line 295 App::Cpan::_process_options('App::Cpan') called at C:/Perl64/l +ib/App/Cpan.pm line 364 App::Cpan::run('App::Cpan') called at C:\Perl64\bin/cpan.bat l +ine 24

      I have installed the Alien::WxWidgets and Wx:: to load, but the console still throwing the same error.

        I have installed the Alien::WxWidgets and Wx:: to load, but the console still throwing the same error.

        But did you install Alien::WxWidgets and Wx successfully ?

        Try

        cpanp -i Alien::WxWidgets Wx --allow_build_interactivity=0 --skiptest=0 --verbose --write_install_log --prereqs=1 >blah.log 2>&1

        Then check blah.log or grep blah.log for name of .log file to check

        Tail the file to see what got installed, it should be a list of files

        Installing ... Installing ... Installing ...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://989656]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-24 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found