linux codeblocks static library

转自:http://mingarlic.blog.163.com/blog/static/3114891120107635639340/

/usr/bin/ld: cannot find -lStaticDll
project/build option/linker settings/other linker options 里,加上.a文件的绝对路径

codeblocks library using c++
set the main.c as main.cpp and add main.cpp to the workspace

你可能感兴趣的:(linux codeblocks static library)