Author Topic: wxWidgets always a compiler issue  (Read 6151 times)

Offline mosfet

  • Multiple posting newcomer
  • *
  • Posts: 23
wxWidgets always a compiler issue
« on: December 29, 2005, 09:04:38 pm »
Hi,

I am fighting with CodeBlocks and wxWidgets+wxIFM because everytime I try to compile
a project it fails.
Actually if I use a monolithic build it works fine but if I don't it doesn't compile.
For instance here is my project for wxIFM (just have a look at Release DLL because it's the only one that is well defined) :

<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_project_file>
<CodeBlocks_project_file>
   <FileVersion major="1" minor="1"/>
   <Project>
      <Option title="wxIFM"/>
      <Option makefile="Makefile"/>
      <Option makefile_is_custom="0"/>
      <Option active_target="0"/>
      <Option compiler="0"/>
      <Build>
         <Target title="Release Dll">
            <Option output="lib\gcc_dll\libwxmsw26_ifm.dll"/>
            <Option working_dir="."/>
            <Option object_output=".objs"/>
            <Option deps_output=".deps"/>
            <Option type="3"/>
            <Option compiler="0"/>
            <Option createDefFile="1"/>
            <Option createStaticLib="1"/>
            <Compiler>
               <Add option="-O2"/>
               <Add option="-DWXMAKINGDLL_IFM"/>
               <Add directory="$(WX_DIR)\include"/>
               <Add directory="$(WX_DIR)\lib\gcc_dll$(WX_CFG)\msw"/>
               <Add directory="$(WX_DIR)\contrib\include"/>
               <Add directory=".\include"/>
               <Add directory=".\src\ifm\xpm"/>
            </Compiler>
            <Linker>
               <Add library="wxbase26"/>
               <Add library="wxbase26_xml"/>
               <Add library="wxmsw26_xrc"/>
               <Add library="wxbase26_net"/>
               <Add library="wxmsw26_core"/>
               <Add library="wxmsw26_adv"/>
               <Add library="wxmsw26_html"/>
               <Add library="wxmsw26_media"/>
               <Add library="winspool"/>
               <Add library="winmm"/>
               <Add library="shell32"/>
               <Add library="comctl32"/>
               <Add library="ctl3d32"/>
               <Add library="odbc32"/>
               <Add library="advapi32"/>
               <Add library="wsock32"/>
               <Add library="opengl32"/>
               <Add library="glu32"/>
               <Add library="ole32"/>
               <Add library="oleaut32"/>
               <Add library="uuid"/>
               <Add library="wxjpeg"/>
               <Add library="wxpng"/>
               <Add library="wxtiff"/>
               <Add library="wxzlib"/>
               <Add library="wxexpat"/>
               <Add library="wxregex"/>
               <Add directory="$(WX_DIR)\lib\gcc_dll$(WX_CFG)"/>
            </Linker>
         </Target>
         <Target title="Debug Dll">
            <Option output="lib\gcc_dll\libwxmsw26d_ifm.dll"/>
            <Option working_dir="."/>
            <Option object_output=".objs"/>
            <Option deps_output=".deps"/>
            <Option type="3"/>
            <Option compiler="0"/>
            <Option createDefFile="1"/>
            <Option createStaticLib="1"/>
            <Compiler>
               <Add option="-g"/>
               <Add option="-DWXMAKINGDLL_IFM"/>
            </Compiler>
         </Target>
         <Target title="Release Static">
            <Option output="libwxIFM.a"/>
            <Option working_dir=""/>
            <Option object_output=".objs"/>
            <Option deps_output=".deps"/>
            <Option type="2"/>
            <Option compiler="0"/>
            <Option projectResourceIncludeDirsRelation="2"/>
            <Compiler>
               <Add option="-O2"/>
            </Compiler>
         </Target>
         <Target title="Debug Static">
            <Option output="lib\gcc_lib\libwxmsw26d_ifm.a"/>
            <Option working_dir=""/>
            <Option object_output=".objs"/>
            <Option deps_output=".deps"/>
            <Option type="2"/>
            <Option compiler="0"/>
            <Option createDefFile="1"/>
            <Option projectResourceIncludeDirsRelation="2"/>
            <Compiler>
               <Add option="-g"/>
            </Compiler>
         </Target>
         <Environment>
            <Variable name="WX_DIR" value="D:\Logiciels\wxWidgets-2.6.2"/>
            <Variable name="WX_CFG" value=""/>
         </Environment>
      </Build>
      <Compiler>
         <Add option="-pipe"/>
         <Add option="-mthreads"/>
         <Add option="-frtti"/>
         <Add option="-fexceptions"/>
         <Add option="-D__GNUWIN32__"/>
         <Add option="-D__WXMSW__"/>
         <Add directory="$(WX_DIR)\include"/>
         <Add directory="$(WX_DIR)\lib\gcc_dll$(WX_CFG)\msw"/>
         <Add directory="$(WX_DIR)\contrib\include"/>
         <Add directory=".\include"/>
         <Add directory=".\src\ifm\xpm"/>
      </Compiler>
      <ResourceCompiler>
         <Add directory="$(WX_DIR)\include"/>
      </ResourceCompiler>
      <Linker>
         <Add directory="$(WX_DIR)\lib\gcc_dll$(WX_CFG)"/>
      </Linker>
      <Unit filename="include\wx\ifm\definterface.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="include\wx\ifm\defplugin.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="include\wx\ifm\dragndrop.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="include\wx\ifm\events.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="include\wx\ifm\ifm.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="include\wx\ifm\ifmdefs.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="include\wx\ifm\manager.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="include\wx\ifm\plugin.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="include\wx\ifm\resize.h">
         <Option compilerVar=""/>
         <Option compile="0"/>
         <Option link="0"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="src\ifm\definterface.cpp">
         <Option compilerVar="CPP"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="src\ifm\defplugin.cpp">
         <Option compilerVar="CPP"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="src\ifm\dragndrop.cpp">
         <Option compilerVar="CPP"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="src\ifm\events.cpp">
         <Option compilerVar="CPP"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="src\ifm\manager.cpp">
         <Option compilerVar="CPP"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="src\ifm\plugin.cpp">
         <Option compilerVar="CPP"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
      <Unit filename="src\ifm\resize.cpp">
         <Option compilerVar="CPP"/>
         <Option target="Release Static"/>
         <Option target="Debug Static"/>
         <Option target="Release Dll"/>
         <Option target="Debug Dll"/>
      </Unit>
   </Project>
</CodeBlocks_project_file>


I always get these errors :


mingw32-g++.exe -shared -Wl,--output-def=lib\gcc_dll\libwxmsw26_ifm.def -Wl,--out-implib=lib\gcc_dll\libwxmsw26_ifm.a -Wl,--dll   -LD:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll -LD:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll  -LD:\Logiciels\CodeBlocks\lib .objs\src\ifm\defplugin.o .objs\src\ifm\dragndrop.o .objs\src\ifm\events.o .objs\src\ifm\manager.o .objs\src\ifm\plugin.o .objs\src\ifm\resize.o .objs\src\ifm\definterface.o   -o lib\gcc_dll\libwxmsw26_ifm.dll      -lwxbase26 -lwxbase26_xml -lwxmsw26_xrc -lwxbase26_net -lwxmsw26_core -lwxmsw26_adv -lwxmsw26_html -lwxmsw26_media -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lwsock32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid -lwxjpeg -lwxpng -lwxtiff -lwxzlib -lwxexpat -lwxregex
.objs\src\ifm\defplugin.o:defplugin.cpp:(.text+0x419): variable 'vtable for wxObject' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.

....blabla

.objs\src\ifm\resize.o:resize.cpp:(.text+0x3d39): variable 'vtable for wxWindowDC' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\resize.o:resize.cpp:(.text+0x4037): variable 'vtable for wxWindowDC' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\resize.o:resize.cpp:(.text+0x40a1): variable 'vtable for wxWindowDC' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x671): variable 'vtable for wxListBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x80f): variable 'vtable for wxListBase' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x1449): variable 'wxNullBitmap' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xbb74): variable 'wxNullBitmap' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xbd54): variable 'wxNullBitmap' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xc28d): variable 'wxNullBitmap' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xc44d): variable 'wxNullBitmap' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xc59b): variable 'wxNullBitmap' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xd71b): variable 'wxNullBitmap' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xd8d9): variable 'wxNullBitmap' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x8529): variable 'vtable for wxColour' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x8959): variable 'vtable for wxColour' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xdede): variable 'vtable for wxFont' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xe058): variable 'vtable for wxFont' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xe2e8): variable 'vtable for wxFont' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0xeede): variable 'vtable for wxFont' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
Creating library file: lib\gcc_dll\libwxmsw26_ifm.a
collect2: ld returned 1 exit status
« Last Edit: December 29, 2005, 09:06:12 pm by mosfet »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: wxWidgets always a compiler issue
« Reply #1 on: December 29, 2005, 11:33:07 pm »
Quote
Please read the documentation for ld's --enable-auto-import for details
Did you do what the linker is telling you? It describes how to address the problem. :)

EDIT: The easiest solution - since you're building a dll anyway - would probably be to just statically link, then you don't need auto-import at all, and you have one less dll to distribute...
« Last Edit: December 29, 2005, 11:35:54 pm by thomas »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."


Offline mosfet

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: wxWidgets always a compiler issue
« Reply #3 on: December 30, 2005, 12:02:08 pm »
Finally I found one of my problem with static libs.
It was just the link order.
Here is the right order(the one used by wxWIdgets samples) :

wxmsw26_xrc
wxmsw26_html
wxmsw26_adv
wxmsw26_core
wxbase26_xml
wxbase26
wxtiff
wxjpeg
wxpng
wxzlib
wxregex
wxexpat
wxbase26_net
wxmsw26_media
winspool
winmm
shell32
comctl32
ctl3d32
odbc32
advapi32
wsock32
opengl32
glu32
ole32
oleaut32


However for dynamic libs still have this :

Switching to target: Release Dll
mingw32-g++.exe   -pipe -mthreads -frtti -fexceptions -D__GNUWIN32__ -D__WXMSW__ -O2 -enable-auto-import -DWXMAKINGDLL_IFM -DWXUSINGDLL    -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll\msw -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm  -ID:\Logiciels\CodeBlocks\include -c src\ifm\defplugin.cpp -o .objs\src\ifm\defplugin.o
mingw32-g++.exe   -pipe -mthreads -frtti -fexceptions -D__GNUWIN32__ -D__WXMSW__ -O2 -enable-auto-import -DWXMAKINGDLL_IFM -DWXUSINGDLL    -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll\msw -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm  -ID:\Logiciels\CodeBlocks\include -c src\ifm\dragndrop.cpp -o .objs\src\ifm\dragndrop.o
mingw32-g++.exe   -pipe -mthreads -frtti -fexceptions -D__GNUWIN32__ -D__WXMSW__ -O2 -enable-auto-import -DWXMAKINGDLL_IFM -DWXUSINGDLL    -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll\msw -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm  -ID:\Logiciels\CodeBlocks\include -c src\ifm\events.cpp -o .objs\src\ifm\events.o
mingw32-g++.exe   -pipe -mthreads -frtti -fexceptions -D__GNUWIN32__ -D__WXMSW__ -O2 -enable-auto-import -DWXMAKINGDLL_IFM -DWXUSINGDLL    -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll\msw -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm  -ID:\Logiciels\CodeBlocks\include -c src\ifm\manager.cpp -o .objs\src\ifm\manager.o
src\ifm\manager.cpp:34: warning: function 'void wxRectArray::DoEmpty()' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp:34: warning: 'void wxRectArray::DoEmpty()' defined locally after being referenced with dllimport linkage
src\ifm\manager.cpp:34: warning: function 'void wxRectArray::Add(const _wxObjArraywxRectArray&, size_t)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp:34: warning: 'void wxRectArray::Add(const _wxObjArraywxRectArray&, size_t)' defined locally after being referenced with dllimport linkage
src\ifm\manager.cpp:35: warning: function 'void wxSizeArray::DoEmpty()' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp:35: warning: 'void wxSizeArray::DoEmpty()' defined locally after being referenced with dllimport linkage
src\ifm\manager.cpp:35: warning: function 'void wxSizeArray::Add(const _wxObjArraywxSizeArray&, size_t)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp:35: warning: 'void wxSizeArray::Add(const _wxObjArraywxSizeArray&, size_t)' defined locally after being referenced with dllimport linkage
src\ifm\manager.cpp: In destructor `wxRectArray::~wxRectArray()':
src\ifm\manager.cpp:34: warning: function 'wxRectArray::~wxRectArray()' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In destructor `wxRectArray::~wxRectArray()':
src\ifm\manager.cpp:34: warning: function 'wxRectArray::~wxRectArray()' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `void wxRectArray::DoCopy(const wxRectArray&)':
src\ifm\manager.cpp:34: warning: function 'void wxRectArray::DoCopy(const wxRectArray&)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `wxRectArray& wxRectArray::operator=(const wxRectArray&)':
src\ifm\manager.cpp:34: warning: function 'wxRectArray& wxRectArray::operator=(const wxRectArray&)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In copy constructor `wxRectArray::wxRectArray(const wxRectArray&)':
src\ifm\manager.cpp:34: warning: function 'wxRectArray::wxRectArray(const wxRectArray&)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In copy constructor `wxRectArray::wxRectArray(const wxRectArray&)':
src\ifm\manager.cpp:34: warning: function 'wxRectArray::wxRectArray(const wxRectArray&)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `void wxRectArray::RemoveAt(size_t, size_t)':
src\ifm\manager.cpp:34: warning: function 'void wxRectArray::RemoveAt(size_t, size_t)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `void wxRectArray::Insert(const _wxObjArraywxRectArray&, size_t, size_t)':
src\ifm\manager.cpp:34: warning: function 'void wxRectArray::Insert(const _wxObjArraywxRectArray&, size_t, size_t)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `int wxRectArray::Index(const _wxObjArraywxRectArray&, bool) const':
src\ifm\manager.cpp:34: warning: function 'int wxRectArray::Index(const _wxObjArraywxRectArray&, bool) const' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In destructor `wxSizeArray::~wxSizeArray()':
src\ifm\manager.cpp:35: warning: function 'wxSizeArray::~wxSizeArray()' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In destructor `wxSizeArray::~wxSizeArray()':
src\ifm\manager.cpp:35: warning: function 'wxSizeArray::~wxSizeArray()' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `void wxSizeArray::DoCopy(const wxSizeArray&)':
src\ifm\manager.cpp:35: warning: function 'void wxSizeArray::DoCopy(const wxSizeArray&)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `wxSizeArray& wxSizeArray::operator=(const wxSizeArray&)':
src\ifm\manager.cpp:35: warning: function 'wxSizeArray& wxSizeArray::operator=(const wxSizeArray&)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In copy constructor `wxSizeArray::wxSizeArray(const wxSizeArray&)':
src\ifm\manager.cpp:35: warning: function 'wxSizeArray::wxSizeArray(const wxSizeArray&)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In copy constructor `wxSizeArray::wxSizeArray(const wxSizeArray&)':
src\ifm\manager.cpp:35: warning: function 'wxSizeArray::wxSizeArray(const wxSizeArray&)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `void wxSizeArray::RemoveAt(size_t, size_t)':
src\ifm\manager.cpp:35: warning: function 'void wxSizeArray::RemoveAt(size_t, size_t)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `void wxSizeArray::Insert(const _wxObjArraywxSizeArray&, size_t, size_t)':
src\ifm\manager.cpp:35: warning: function 'void wxSizeArray::Insert(const _wxObjArraywxSizeArray&, size_t, size_t)' is defined after prior declaration as dllimport: attribute ignored
src\ifm\manager.cpp: In member function `int wxSizeArray::Index(const _wxObjArraywxSizeArray&, bool) const':
src\ifm\manager.cpp:35: warning: function 'int wxSizeArray::Index(const _wxObjArraywxSizeArray&, bool) const' is defined after prior declaration as dllimport: attribute ignored
mingw32-g++.exe   -pipe -mthreads -frtti -fexceptions -D__GNUWIN32__ -D__WXMSW__ -O2 -enable-auto-import -DWXMAKINGDLL_IFM -DWXUSINGDLL    -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll\msw -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm  -ID:\Logiciels\CodeBlocks\include -c src\ifm\plugin.cpp -o .objs\src\ifm\plugin.o
mingw32-g++.exe   -pipe -mthreads -frtti -fexceptions -D__GNUWIN32__ -D__WXMSW__ -O2 -enable-auto-import -DWXMAKINGDLL_IFM -DWXUSINGDLL    -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll\msw -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm  -ID:\Logiciels\CodeBlocks\include -c src\ifm\resize.cpp -o .objs\src\ifm\resize.o
mingw32-g++.exe   -pipe -mthreads -frtti -fexceptions -D__GNUWIN32__ -D__WXMSW__ -O2 -enable-auto-import -DWXMAKINGDLL_IFM -DWXUSINGDLL    -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm -ID:\Logiciels\wxWidgets-2.6.2\include -ID:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll\msw -ID:\Logiciels\wxWidgets-2.6.2\contrib\include -I.\include -I.\src\ifm\xpm  -ID:\Logiciels\CodeBlocks\include -c src\ifm\definterface.cpp -o .objs\src\ifm\definterface.o
mingw32-g++.exe -shared -Wl,--output-def=lib\gcc_dll\libwxmsw26_ifm.def -Wl,--out-implib=lib\gcc_dll\libwxmsw26_ifm.a -Wl,--dll   -LD:\Logiciels\wxWidgets-2.6.2\lib\gcc_dll  -LD:\Logiciels\CodeBlocks\lib .objs\src\ifm\defplugin.o .objs\src\ifm\dragndrop.o .objs\src\ifm\events.o .objs\src\ifm\manager.o .objs\src\ifm\plugin.o .objs\src\ifm\resize.o .objs\src\ifm\definterface.o   -o lib\gcc_dll\libwxmsw26_ifm.dll      -lwxmsw26_xrc -lwxmsw26_html -lwxmsw26_adv -lwxmsw26_core -lwxbase26_xml -lwxbase26 -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregex -lwxexpat -lwxbase26_net -lwxmsw26_media
Creating library file: lib\gcc_dll\libwxmsw26_ifm.a
.objs\src\ifm\defplugin.o:defplugin.cpp:(.text+0x57db): undefined reference to `_imp___ZN11wxRectArrayC1ERKS_'
.objs\src\ifm\defplugin.o:defplugin.cpp:(.text+0x5a7a): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\defplugin.o:defplugin.cpp:(.text+0x5aaa): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text+0x9ae): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text+0x9c8): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text+0x9e2): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text+0xc6e): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text+0xc88): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text+0xca2): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text+0xd54): undefined reference to `_imp___ZN11wxRectArray3AddERK6wxRectj'
.objs\src\ifm\events.o:events.cpp:(.text+0xd87): undefined reference to `_imp___ZN11wxSizeArray3AddERK6wxSizej'
.objs\src\ifm\events.o:events.cpp:(.text+0xdae): undefined reference to `_imp___ZN11wxSizeArray3AddERK6wxSizej'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD1Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x66): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD1Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x7d): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD1Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x94): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD1Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x151): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD1Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x168): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD1Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x17f): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD0Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x66): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD0Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x7d): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD0Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x94): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD0Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x155): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD0Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x16c): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\events.o:events.cpp:(.text$_ZN19wxIFMCalcRectsEventD0Ev[wxIFMCalcRectsEvent::~wxIFMCalcRectsEvent()]+0x183): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x34d8): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x34f3): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x350e): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x3588): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x35a3): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x35be): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x3692): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x36b0): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x36ce): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x37b8): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x37d6): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\resize.o:resize.cpp:(.text+0x37f4): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x4499): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x44b7): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x44d5): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x4594): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x45af): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x45ca): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x46a8): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x46c3): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x46de): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x488e): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x48ac): undefined reference to `_imp___ZN11wxSizeArrayD1Ev'
.objs\src\ifm\definterface.o:definterface.cpp:(.text+0x48ca): undefined reference to `_imp___ZN11wxRectArrayD1Ev'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 25 seconds)
0 errors, 26 warnings
« Last Edit: December 30, 2005, 03:33:19 pm by mosfet »