Introducing Linux based C++ code in VC++
I need some help in properly compiling a library in VC++.
Here is the scenario:
I have a library, called miracl, which is natively windows based and I have compiled it in VC 2005 without any problems. I have the resulting library file which was generated during the build process.
Now, I have another library, called PRL, whose functions I want to use.
This PRL calls miracl headers and functions. The real problem is, that PRL is originally built for Linux, with the make file and gcc etc..
What would be the best way to use the functions from PRL in my own VC++ code?
1. Should I put all the codes from both PRL and miracl in a single project and compile.
2. Or should I make another project for PRL and include the miracl library file.
Actually, I tried both the things but VC++ gives me all types of syntax error..
I feel I am definitely doing it the wrong way.
Apologies for the lenthy and confusing post..