Help! Link Question

I used a extension ibrary(CJ60Lib from codeguru) in my project.
There's no problem when I dynamically link my application to CJ60Lib.
However,The following errors error when I link it statically.
libc.lib(crt0dat.obj) : error LNK2005: __cinit already defined in libcmt.lib(crt0dat.obj)
libc.lib(crt0dat.obj) : error LNK2005: _exit already defined in libcmt.lib(crt0dat.obj)
libc.lib(crt0dat.obj) : error LNK2005: __exit already defined in libcmt.lib(crt0dat.obj)
...
How can I do?
LiteAsked:
Who is Participating?
 
ViRoyConnect With a Mentor Commented:
those files are not needed in the include process.
in your file, whatever.h they will be defined, you can take them out.
0
 
KangaRooCommented:
Duplicate question!
0
All Courses

From novice to tech pro — start learning today.