Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Problems with FREE MS VC++ tools

by Corion (Patriarch)
on Nov 22, 2005 at 13:42 UTC ( [id://510774]=note: print w/replies, xml ) Need Help??


in reply to Problems with FREE MS VC++ tools

My guess is that ActiveState built your Perl with MSVC6 and the free MSVC tools are MSVC7. The two are not binary compatible. I recommend using the same C compiler for building Perl and all Perl extensions.

If you want to compile your own extensions you will thus have to compile your own Perl as well, which also means that you can't use any premade PPMs anymore.

Replies are listed 'Best First'.
Re^2: Problems with FREE MS VC++ tools
by PodMaster (Abbot) on Nov 22, 2005 at 14:50 UTC
    Actually, the c runtime should always be compatible. Apparently R6034 means the that perl.exe is missing a perl.exe.manifest file, a new feature of XP (starting with msvcr80). So, all he has to do is add a perl.exe.manifest, something like
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion=" +1.0"> <assemblyIdentity processorArchitecture="x86" version="5.1.0.0" type="win32" name="Controls" /> <description>Super wxPerl Application</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="x86" /> </dependentAssembly> </dependency> </assembly>
    I'm actually suprised this is the first time he's encountered such an error message.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      Thanks ++, I created a perl.exe.manifest and put it in the perl bin directory with the changes for my dll minus the publicKeyToken and now the error I get "Access denied", in fact, I can't even run perl unless I remove my entry for the dll.
      Update: see above, solution found

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found