-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Built pcm using visual studio #73
Comments
these libraries are not provided with PCM. as described in PCM Windows HOWTO please download them separately. |
Looks like there WINDOWS_HOWTO.rtf in which says build msr.sys using winddk. Building using nmake included in VS resulted in following: c:\dw\pcm\WinMSRDriver\Win7>mymake.bat Thanks., |
ok. this needs to be debugged. Does the winring driver option work for you? |
I am not sure what winring driver option is so I dont know what to do in that case. Please note that I completely clueless and unfamiliar with this this tool and only depending on HOW TO docs. Can you give precise directions? |
Ok I found winring mentioned on Windows how to, will try out. thx. |
Downloaded one of the mentioned tool and copied all 4 mentioned drivers to c:\windows\system32. Still did not work, so I rebooted and ran it with administrator access however it complained about not finding the winring driver. However, I managed to build on linux first try so it appears to be working. Windows build is then less important but may still be nice to have it work in case. |
Copying to c:\windows\system32 is not enough. As described in the how to please |
Building the driver should work using the project file: MSR.vcxproj |
please let me know if the issue is still there (e.g. when you use MSR.vcproj) |
please reopen if the issue still exists |
I Built pcm using visual studio 15 running on ws2012. The build was successful and executable generated on x64/debug folder however when executing, dll error message:
Starting MSR service failed with error 2 The system cannot find the file specified.
Trying to load winring0.dll/winring0.sys driver...
Failed to load winring0.dll/winring0.sys driver.
Cannot access CPU counters
You must have signed msr.sys driver in your current directory and have administrator rights to run this program
Access to Processor Counter Monitor has denied (no MSR or PCI CFG space access).
The text was updated successfully, but these errors were encountered: