minerd is pooler's cpu miner . As you've found, compiling on windows can be a long-winded and frustrating job.
Quote
* Make sure you have mstcpip.h in MinGW\include
If you've installed MinGW you need to find the folder where windows has installed it to (possibly C:\MinGW\ )
Then navigate in windows explorer to the include directory (in our example it would be C:\MinGW\include ) and ensure that you can see a file there called mstcpip.h
Actualy, before I go any further and start scratching my own head remembering how to do this, there's a bit more of a detailled guide at
https://bitcointalk.org/index.php?topic=280114.msg3081964#msg3081964 which gives step by step instructions and will hopefully help.
If you prefer, there are precompiled windows binaries available which pooler links to in his thread at
https://bitcointalk.org/index.php?topic=55038.0 However, Firefox is throwing up a dangerous warning (apparently it's a false alarm but it's up to you to decide whether to use the binaries at your own risk)
For example with pooler's cpu miner (source code available from https://github.com/pooler/cpuminer), use:
minerd -o http://treasurequarry.com:9844 -u YOURINFINITECOINADDRESSHERE -p x
What this means is if you're using windows, use your command prompt to navigate to the folder where you've downloaded or compiled minerd, then in your command prompt window type the minerd -o
http://treasurequarry.com:9844 -u YOURINFINITECOINADDRESSHERE -p x
To expand on this a bit...
To start your command prompt on Windows 7 for example, click your start menu, then All Programs --> Accessories --> Command prompt
If you've downloaded or compiled minerd to a folder on your desktop for example called cpuminer then in the command prompt window type
cd c:\Users\YOURWINDOWSUSERNAME\Desktop\cpuminer
Hit enter
then type
minerd -o
http://treasurequarry.com:9844 -u YOURINFINITECOINADDRESSHERE -p x
(replace YOURINFINITECOINADDRESSHERE with a unique Infinitecoin address from your own wallet. There's no "signing up" with p2pool. Your IFC address effectively acts as your username for the purposes of the miner program, and is where your mined coins will be sent directly to your wallet with p2pool. You don't need a particular password ... just x will do )
Hit enter