I have implemented Digital Signature using PBC and GMP libraries.( I have taken the code from the PBC library as liked above.)My code works correctly when i compile it on Visual Studios 2010.
Now i have to convert it and make it work on my arduino uno. For this i have used Visual Micro plugin. (i am able to run the arduino builtin examples from this) but the pbc code is causing alot of errors. The error log is attached below. I dont know what changes to make in the code to make it run in the arduino.
Error 1 10:23: fatal error: WinSDKVer.h: No such file or directory C:\Users\name\Documents\Arduino\ArduinoClient\targetver.h 10
3 IntelliSense: expected an identifier c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winuser.h 5341 3
35 IntelliSense: identifier "EBADMSG" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 31 16
42 IntelliSense: identifier "ECANCELED" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 78 23
36 IntelliSense: identifier "EIDRM" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 47 23
38 IntelliSense: identifier "ENODATA" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 63 25
37 IntelliSense: identifier "ENOLINK" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 61 12
39 IntelliSense: identifier "ENOSR" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 67 24
40 IntelliSense: identifier "ENOSTR" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 74 17
45 IntelliSense: identifier "ENOTRECOVERABLE" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 91 26
41 IntelliSense: identifier "ENOTSUP" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 77 18
48 IntelliSense: identifier "EOVERFLOW" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 99 20
43 IntelliSense: identifier "EOWNERDEAD" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 83 15
44 IntelliSense: identifier "EPROTO" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 85 19
46 IntelliSense: identifier "ETIME" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 92 19
47 IntelliSense: identifier "ETXTBSY" is undefined c:\program files (x86)\microsoft visual studio 10.0\vc\include\system_error 93 19
49 IntelliSense: identifier "pairing_t" is undefined c:\libs\pbc\include\pbc_test.h 10 42
4 IntelliSense: invalid combination of type specifiers c:\program files (x86)\microsoft visual studio 10.0\vc\include\yvals.h 536 14
2 IntelliSense: invalid redeclaration of member function "HardwareSerial::write(uint8_t)" (declared at line 129) c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino\hardwareserial.h 132 19 ArduinoClient
5 IntelliSense: the global scope has no "acosl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 28 13
6 IntelliSense: the global scope has no "asinl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 28 32
8 IntelliSense: the global scope has no "atan2l" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 29 32
7 IntelliSense: the global scope has no "atanl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 29 13
9 IntelliSense: the global scope has no "ceill" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 29 52
11 IntelliSense: the global scope has no "coshl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 30 31
10 IntelliSense: the global scope has no "cosl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 30 13
12 IntelliSense: the global scope has no "expl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 30 50
13 IntelliSense: the global scope has no "fabsl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 31 13
14 IntelliSense: the global scope has no "floorl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 31 32
15 IntelliSense: the global scope has no "fmodl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 31 52
16 IntelliSense: the global scope has no "frexpl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 32 13
17 IntelliSense: the global scope has no "ldexpl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 32 33
33 IntelliSense: the global scope has no "llabs" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cstdlib 34 13
34 IntelliSense: the global scope has no "lldiv" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cstdlib 34 32
32 IntelliSense: the global scope has no "lldiv_t" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cstdlib 32 13
19 IntelliSense: the global scope has no "log10l" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 33 13
18 IntelliSense: the global scope has no "logl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 32 53
27 IntelliSense: the global scope has no "mblen" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cstdlib 26 13
28 IntelliSense: the global scope has no "mbstowcs" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cstdlib 26 32
29 IntelliSense: the global scope has no "mbtowc" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cstdlib 26 54
20 IntelliSense: the global scope has no "modfl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 33 33
21 IntelliSense: the global scope has no "powl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 33 52
23 IntelliSense: the global scope has no "sinhl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 34 31
22 IntelliSense: the global scope has no "sinl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 34 13
24 IntelliSense: the global scope has no "sqrtl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 34 50
26 IntelliSense: the global scope has no "tanhl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 35 31
25 IntelliSense: the global scope has no "tanl" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cmath 35 13
30 IntelliSense: the global scope has no "wcstombs" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cstdlib 30 13
31 IntelliSense: the global scope has no "wctomb" c:\program files (x86)\microsoft visual studio 10.0\vc\include\cstdlib 30 35