问题
I'm having a lot of trouble figuring out how to do this. I need an arbitrary precision library for math in C. I'm good with either CLN or PARI/GP, both of which I've installed. I'm using Windows, so I had to do this via Cygwin, and ran the ./Configure files, followed by make install.
Everything's built, but I cannot figure out how to link it all and use it. I'm using Code::Blocks, and anytime I try to include the necessary header files, there are loads of errors. I also link the .a file with the library, but no help either. The header files create far too many errors.
Could anyone give me a run through on how I can make this work?
来源:https://stackoverflow.com/questions/4180571/compiling-with-a-multi-precision-math-library-in-c-using-codeblocks-on-windows