in reply to Compiling perl on windows with visual studio

From a web search:

0xc00007b error "the application was unable to start correctly"

there may be multiple reasons as to why you might receive 0xc00007b error when trying to run an application on a windows machine. 0xc000007b error usually comes from mixing up 32bit environment with 64bit one. For example 32bit application loads a 64bit dll causing 0xc000007b error.

Looks like you are mixing 32-bit built binaries with a 64-bit build, or vice versa.

Post the console log from the build.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
  • Comment on Re: Compiling perl on windows with visual studio

Replies are listed 'Best First'.
Re^2: Compiling perl on windows with visual studio
by DrMoisha (Novice) on Mar 25, 2015 at 06:50 UTC

    Yes, I've googled something like this. I uncommented WIN64 = undef so it means that I have 32bit perl, yes? Also perl-v shows MSWin32-x86.

    Build log is really long, which part should I post?

      I uncommented WIN64 = undef so it means that I have 32bit perl, yes?

      You should uncomment that only if your Windows OS is 64-bit && your compiler is 32-bit.
      Maybe run "nmake distclean" and then try re-building with that line commented out .... see if that improves things ....

      Cheers,
      Rob
        if your Windows OS is 64-bit && your compiler is 32-bit I honestly think that it is my case)

        Good news: it's worked with native x64 bit nmake! Though I'm confused because it seems to be called amd64 and I have Intel.

        Bad news: it fails completely with native x86 bit nmake. Error message: "module type (x86) does not match with target machine type (x64)". So it seems that compiler is 64-bit