I just built MPIR and speed.exe on my Win-XP SP3 box using MSVC 2010. Only problem was AFAICS now is with win_timing.c
(BTW. why are there 3 of the same of this?)

Somewhere in the Solution or a header (?), _WIN32_WINNT is set to
Win-Vista which defines this function as:

 #define GetPerformanceInfo          K32GetPerformanceInfo

Thus speed.exe refuses to run since K32GetPerformanceInfo isn't in my
kernel32.dll.

An easy fix for me was this:

@@ -1,5 +1,7 @@
#define WIN32_LEAN_AND_MEAN
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x501

#include <windows.h>
#include <time.h>

--------------

Or I could have done "-DPSAPI_VERSION=1" as per the comment in MS's
PSapi.h.
--gv

--
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to