几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】link errors (http://www.dimcax.com/hust/showthread.php?t=17073)

yang686526 2009-05-06 05:00 PM

【转帖】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.


所有的时间均为北京时间。 现在的时间是 02:52 AM.