I will get the source up asap.
The dll is for Multiple Precision Integers and Rationals (mpir). This is a library that is used to give a performance boost for computing the primes (from what I understand of the code).
Instructions for compiling from
https://github.com/hg5fm/jhPrimeminerNeeded tools:
- Visual Studio 2012 Express or above
- The compiled version I just posted was compiled using Visual Studio 2013 Professional, but I have also compiled it using VS2012 Express)
- You may be able to compile it using a lower version of Visual Studio such as 2010.
1) Download the source code to your machine
2) Open up the primecoinMiner.sln
3) Add transaction.h to the "Header files" in the project by right clicking on "Header files" -> Add -> Existing item -> transaction.h (located in the same folder as the project)
4) Add transaction.cpp to "Source files" the same way you did transaction.h
5) Open main.cpp and look at the top of the file for "bool useGetBlockTemplate = true;" change it to "bool useGetBlockTemplate = false;"
6) At the top of the VS window change the drop down that says "Debug" to "Release-AVX"
7) Make sure Platform is set to x64
Right click on "jhPrimeminer" project in Visual Studio -> Properties
9) In the right panel of "Solution 'primecoinMiner' Property Pages click "General" under "Configuration Properties". Make sure platform toolset is set to the correct version. (For example, I am using VS 2013, so I use toolset "Visual Studio 2013 (v120)"
10) Under C/C++ -> Optimization I have Optimization: Maximize Speed, Inline function expansion: Any Suitable, Enable intrinsic functions: Yes, Favor Size or Speed: Favor fast code, Omit frame pointers: No, Enable fiber-safe optimizations: No, Whole program optimization: Yes (/GL)
11) Under C/C++ -> Code Generation Change Enabled Enchanced Instruction Set to AVX or SSE2 depending on your CPU's architecture.
12) Under C/C++ -> General I also enable Multi-processor compiliation to speed up the compile time because I am impatient.
Everything should compile and then you are good to go!