2
回答
配置winxp+eclispe cdt+WxWidgets 环境时的错误
终于搞明白,存储TCO原来是这样算的>>>   

D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:773: multiple definition of `wxSysErrorMsg(unsigned long)'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.text+0x1f90): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.data+0x0): multiple definition of `wxLog::ms_doLog'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.data+0x9): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x18): multiple definition of `wxLog::ms_bVerbose'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x18): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x20): multiple definition of `wxLog::ms_ulTraceMask'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x10): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x8): multiple definition of `wxLog::ms_prevCounter'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x28): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x4): multiple definition of `wxLog::ms_prevString'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x2c): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0xc): multiple definition of `wxLog::ms_prevTimeStamp'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x24): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x10): multiple definition of `wxLog::ms_prevLevel'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x20): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.data+0x4): multiple definition of `wxLog::ms_logLevel'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.data+0x4): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x0): multiple definition of `wxLog::ms_bRepetCounting'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x30): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.data+0x1): multiple definition of `wxLog::ms_bAutoCreate'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.data+0x8): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x14): multiple definition of `wxLog::ms_pLogger'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x1c): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x24): multiple definition of `wxLog::ms_aTraceMasks'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x0): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.data+0x8): multiple definition of `wxLog::ms_timestamp'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.data+0x0): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function `ZN8wxStringaSEPKw':
D:/wxWidgets-2.8.11/build/msw/../../src/common/log.cpp:(.bss+0x1c): multiple definition of `wxLog::ms_suspendCount'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_log.o):log.cpp:(.bss+0x14): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_msgout.o): In function `ZN20wxMessageOutputDebugD1Ev':
D:/wxWidgets-2.8.11/build/msw/../../src/common/msgout.cpp:(.text+0x0): multiple definition of `wxMessageOutput::Get()'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_msgout.o):msgout.cpp:(.text+0x0): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_msgout.o): In function `ZN15wxMessageOutput3SetEPS_':
D:/wxWidgets-2.8.11/build/msw/../../src/common/msgout.cpp:73: multiple definition of `wxMessageOutput::Set(wxMessageOutput*)'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_msgout.o):msgout.cpp:(.text+0x40): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_msgout.o): In function `ZN19wxMessageOutputBest6PrintfEPKwz':
D:/wxWidgets-2.8.11/build/msw/../../src/common/msgout.cpp:99: multiple definition of `wxMessageOutputBest::Printf(wchar_t const*, ...)'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_msgout.o):msgout.cpp:(.text+0x60): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_msgout.o): In function `ZN21wxMessageOutputStderr6PrintfEPKwz':
D:/wxWidgets-2.8.11/build/msw/../../src/common/msgout.cpp:124: multiple definition of `wxMessageOutputStderr::Printf(wchar_t const*, ...)'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_msgout.o):msgout.cpp:(.text+0x1f0): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_msgout.o): In function `ZN20wxMessageOutputDebug6PrintfEPKwz':
D:/wxWidgets-2.8.11/build/msw/../../src/common/msgout.cpp:140: multiple definition of `wxMessageOutputDebug::Printf(wchar_t const*, ...)'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_msgout.o):msgout.cpp:(.text+0x320): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_msgout.o): In function `ZN18wxMessageOutputLog6PrintfEPKwz':
D:/wxWidgets-2.8.11/build/msw/../../src/common/msgout.cpp:179: multiple definition of `wxMessageOutputLog::Printf(wchar_t const*, ...)'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_msgout.o):msgout.cpp:(.text+0x460): first defined here
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxmsw28ud.a(monolib_msgout.o): In function `ZN20wxMessageOutputDebugD1Ev':
D:/wxWidgets-2.8.11/build/msw/../../src/common/msgout.cpp:(.bss+0x0): multiple definition of `wxMessageOutput::ms_msgOut'
D:\wxWidgets-2.8.11\lib\gcc_lib/libwxbase28u.a(baselib_msgout.o):msgout.cpp:(.bss+0x0): first defined here
collect2: ld returned 1 exit status
Build error occurred, build is stopped
Time consumed: 22262  ms. 

不知道错在那里,那位大侠帮我看看,thx

<无标签>
举报
wolf2999
发帖于7年前 2回/460阅
顶部