For a recent set of projects I have used Eclipse, using MinGW as the compilation system. I have needed to include two libraries for linear algebra:
TNT and JAMA/C++ Armadillo
JAMA/C++ comes as two directories of header开发者_如何学编程 files. Armadillo requires both a directory of header files and some dll libraries.
I somehow got it working(!), but what is the best way to include these types of libraries within Eclipse?
Create separate source folders for them. That way they will be copied to the bin folder during builds yet can be easily managed.
精彩评论