I have two libraries. one is based targeted on linux platform and uses another library which is windows based by default.
By following the instructions, I was able to build the windows based library in VS 2005 ( VC++) and have the resulting object file library. But, how do I build the other library here, which is linux based.
Any ideas?
the linux based code wont run unless it has the functions and headers from this windows based library.
The main library, whose functions want to use, is PRL. It is targeted for linux, but it's authors say that with some modifications, it can be compiled in windows too.
Now, the library, which PRL itself uses, is called miracl. It is basically an arbitrary-precision arithmetic software package used for number theory. It is windows based by default, and I was able to build it on VC++
I also tried adding the PRL source file in the same project where the miracl is built in VC++. But it's not working at all. It is not able to find the miracl's header files, which are already included in the project.
I'm going to see what I can do with this one, but while I'm at it, see if Crypto++ has the algorithm you need. It's available for many platforms.
EDIT: Okay, I don't know if it's that PRL depends on an older version of miracl or what, but I can't get this to compile no matter what. Some classes used by PRL can't be found anywhere in miracl.
In another documentation, authors of PRL mentioned that they have used version 4.83 of miracl.
The following link lists all old versions..
ftp://ftp.compapp.dcu.ie/pub/crypto/
There is one names, miracl43.. which i assume should be the one the PRL works on..
I check it.. it does contain elliptic.h, which is not present in other later versions..
For windows, it has instructions for the older version of VS. Not for VS 2005. I'll still try to built it in VS 2005.. lets see wht it says..
Everything is purely windows now.
When I opened the project file of this library in VC and built it, it gave me a same error in almost all the source files...
fatal error C1083: Cannot open include file: 'gmp.h': No such file or directory
even after I added the gmp.h in the header section by using Add Existing items, it still gives the same error..
am I doing something wrong??
Am i dealing with the library in a wrong way??