in reply to Re^11: Trouble Installing Win32::GuiTest
in thread Trouble Installing Win32::GuiTest
Hi Rob, As you said, I have re-created the libperl514.a using gendef and dlltool taken from strawberry perl but the generated lib file libperl514.a size is 0 byte, so during the installation this file was not recognized and hence same compiling error occured. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: Trouble Installing Win32::GuiTest
by syphilis (Archbishop) on Aug 22, 2012 at 09:54 UTC | |
Yes, it should be a bit bigger than that ;-) My 64-bit strawberry portable (5.16.0.1 #1 Tue May 22 13:24:11 2012 x64) is in C:/_64/Strawberry516, so I 'cd' to that folder and double click on 'portableshell.bat'. That opens up a shell for me and, in that shell, I 'cd' to C:/_64/perl1400/bin - which is where my ActivePerl perl514.dll is located. I then run the commands that I posted earlier and end up with an 859KB libperl514.a. Full transcript follows: If I wanted to use that libperl514.a with EU::FC I would have to move it to C:/_64/perl1400/lib/CORE. Can you see any reason that the same procedure has not worked for you ? (I can't, but I'm a little further away than you are :-) Cheers, Rob | [reply] [d/l] |
by nsharma (Initiate) on Aug 22, 2012 at 10:23 UTC | |
Hey Rob, Thanks to ur instructions this time I have generated the libperl514.a of 860KB size. :) But now during the make test message is prompted that "The program can't start because libgcc_s_sjlj-1.dll is missing from your computer. Try reinstalling the program to fix this problem." Output is here This dll file is available in strawberry516. So, can I copy this dll file from strwaberry perl C:_\strawberry516\c\bin to C:\Perl64\bin and again rerun the installation and check. | [reply] [d/l] |
by syphilis (Archbishop) on Aug 22, 2012 at 10:54 UTC | |
I haven't used any of Ruben's builds of MinGW, but I would have expected that there would be a libgcc_s_sjlj-1.dll in the same ('bin') folder as gcc. Search the entire compiler tree for that file and, if you find it, add that location to your PATH. I think you might find it in both the compiler's mingw\lib and x86_64-w64-mingw32\lib folder - in which case you just add either of those locations to the path. This dll file is available in strawberry516 Best not to copy it across to a different compiler. You could use the compiler that came with Strawberry instead of Ruben's, if you like. Just put the strawberry/c/bin folder first in the path. However, Ruben's should be fine, I think ... once you find libgcc_s_sjlj-1.dll and add it's location to the path. Cheers, Rob | [reply] |
by nsharma (Initiate) on Aug 22, 2012 at 11:10 UTC | |
Hi Rob, Thanks once again for your help. I have copied all dll files present in strawberry perl to c:\perl64\bin and ran the installation. Thankfully, I was able to install Win32::GuiTest module on perl64 successfully. But my problem still not solved reason being, I have a automated framework suite where I have used Win32::GuiTest module to test the GUI functionality of the windows application 32 bit and 64 bit. This module perfectly working fine for 32 bit application but for 64 bit application it fails for APIs like GetPopupHandle, GetListContents etc. Moreover with this I have one more module named "TreeView.pm" (Win32::GuiTest::TreeView) this module basically traverse the systreeview class and provide us the relevant information but this module also not working properly on windows 64 bit application. So, unfortunately again I got stuck and wondering now what to do and also want to know that this module Win32::GuiTest compiled as 64 bit by 64 bit compiler or its simply installed as 32 bit. Thanks. | [reply] |
by syphilis (Archbishop) on Aug 22, 2012 at 12:16 UTC | |
by BrowserUk (Patriarch) on Aug 22, 2012 at 12:25 UTC | |