Bug #10909 2007-04-18 13:28
pauliusz
wxSmithContribItems linking fails
When I am compiling wxSmithContribItems I get following linker error:
-------------- Build: wxSmithContribItems in wxSmith - Contrib Items ---------------
Linking dynamic library: ..\..\..\devel\share\CodeBlocks\plugins\wxSmithContribItems.dll
Info: resolving vtable for wxsWidgetby linking to __imp___ZTV9wxsWidget (auto-import)
.objs\wxchart\wxschart.o(.text$_ZN9wxsWidgetD2Ev[wxsWidget::~wxsWidget()]+0xb): In function `ZN8wxStringC1Ev':
C:/wxWidgets-2.6.3/include/wx/object.h: variable 'vtable for wxsWidget' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
I am using MinGW with GCC 3.4.2 and wxWidgets 2.6.3
- Category
- Plugin::wxSmith
- Group
- Status
- Closed
- Close date
- 2007-06-17 05:28
- Assigned to
History
SVN 3883:
-------------- Build: wxSmithContribItems in wxSmith - Contrib Items ---------------
Linking dynamic library: ..\..\..\devel\share\CodeBlocks\plugins\wxSmithContribItems.dll
Info: resolving vtable for wxsWidgetby linking to __imp___ZTV9wxsWidget (auto-import)
Info: resolving vtable for wxsFlagsPropertyby linking to __imp___ZTV16wxsFlagsProperty (auto-import)
.objs\wxchart\wxschart.o(.text$_ZN9wxsWidgetD2Ev[wxsWidget::~wxsWidget()]+0xb): In function `ZN7wxsItem16OnCanAddToParentEP9wxsParentb':
D:/Projektai/CodeBlocks/src/plugins/contrib/wxSmithContribItems/../wxSmith/wxwidgets/wxswidget.h: variable 'vtable for wxsWidget' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\wxchart\wxschart.o(.text$_ZN16wxsFlagsPropertyD1Ev[wxsFlagsProperty::~wxsFlagsProperty()]+0xb):D:/Projektai/CodeBlocks/src/plugins/contrib/wxSmithContribItems/../wxSmith/wxwidgets/wxswidget.h: variable 'vtable for wxsFlagsProperty' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
update your Gcc 3.4.2 to 3.4.5 ,the problem maybe disappear
Does this bug still persist?
After updating GCC this bug is gone, but I can test if it still exists when compiling with GCC 3.4.2