在DEV C++ HELP中有这样的描述:==============================================================A little history : Library filenames under the GNU system are in the form libNAME.a (with NAME the name of the library, like wsock32). Thus if for example you want to use the wsock32 (winsock) library, the filename will be libwsock32.a The GCC parameter for linking a library is 杔NAME, so for linking with the wsock32 library we would give GCC the 杔wsock32 parameter.====================================================================
在里面加上需要添加的库的名字就可以了。
开发包中提供了TestEngine.h,TestEngine.dll和TestEngine.lib.调用其中一个function:initTestEngine(1, "com1", 115200, 0);
出现上面提示.我是这样做的:
1):在project中把TestEngine.lib加进去.
2):在project-->project options --> parameters -->linker 选择TestEngine.lib.
3):在project-->project options --> parameters --> directories 选择TestEngine.lib文件夹.不知道哪儿不妥.
在你的工程中用到的地方包涵.h就可以了吧
把.dll放在和exe一个目录下
因为它的c complier是GCC!
不知哪位大侠有这方面的经验???
Library filenames under the GNU system are in the form libNAME.a (with NAME the name of the library, like wsock32).
Thus if for example you want to use the wsock32 (winsock) library, the filename will be libwsock32.a
The GCC parameter for linking a library is 杔NAME, so for linking with the wsock32 library we would give GCC the 杔wsock32 parameter.====================================================================