高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】link errors
link errors
link errors
i've partly converted code to use the new library, but get the following error and warning when i try to build the debug version. i'm using /mdd among the various build options.
database.lib(plex.obj) : error lnk2005: "public: void __thiscall cplex::freedatachain(void)" (?freedatachain@cplex@@qaexxz) already defined in mfc42d.lib(mfc42d.dll)
link : warning lnk4098: defaultlib "libcmt" conflicts with use of other libs; use /nodefaultlib:library
..\bin\intel\debug/microgds.exe : fatal error lnk1169: one or more multiply defined symbols found
i also get the warning for the release build (/md), and also get it for at least one of the sample programs. i so far have build the release version, but it crashes when i try to use it!
the current 3.01 version incorrectly incorporates a lib that was built using /mt, while the remaining code is built using /md--this may be the source of your problem (or at least part of it). we will be releasing 3.02 next week that fixes this problem, and a debug version of the library will also be available. if you continue to have problems with 3.02, please let me know.
|