I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2012-05-18 19:29:58.9169-07 by sisyphus in response to 13721
Re: NMAKE : fatal error U1077: '"cl.EXE"' : return code '0x2'
This is already addressed in the current git version on github.
You can get hold of that version with:
git clone git://github.com/ingydotnet/inline-pm.git Inline

I'll also be releasing Inline-0.50_02 early next week, if you can wait until then.

Basically, you'll be able to make use of the PRE_HEAD option ... something like:

use Inline C => Config => PRE_HEAD => './my_headers_first';
where the file 'my_headers_first' contains the stuff that you want to have appear *before* the Inline::C standard includes.

You can instead specify the *code* in PRE_HEAD (but that can get a bit untidy):

PRE_HEAD => "#define something 1\n#include <h1.h>\n#include <h2.h>"

Seems that you're using c++ code. Would Inline::CPP be better for your purposes ?
Hmmm ... I *think* there are problems with Inline::CPP and cl at the moment. (That being the case, you might be able to help fix them ? :-)

Cheers,
Rob
Direct Responses: 13726 | Write a response