Custom C++ Static Library Not Linking (Code::Blocks)
问题 I've spent the past two hours researching this online, to no avail - I've followed all the instructions several times. I'm using C++11, GCC, Ubuntu 15.04, and Code::Blocks 13.12. I am creating a custom static library. At the moment, it contains only two files: iochannel.hpp and iochannel.cpp . I compile, and all is well. A single libpawlib.a file is produced in pawlib/bin/Debug Next, in the project that I want to use the static library in, I go into Project > Build Options... . I add the path