Author Topic: SVN 4291 does not compile  (Read 5905 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2875
SVN 4291 does not compile
« on: July 22, 2007, 04:48:10 pm »
Code
-------------- Build: Projects-workspaces importer in Code::Blocks ---------------
Compiling: plugins\projectsimporter\msvc7loader.cpp
Compiling: plugins\projectsimporter\msvc7workspaceloader.cpp
Compiling: plugins\projectsimporter\msvcloader.cpp
Compiling: plugins\projectsimporter\msvcworkspacebase.cpp
Compiling: plugins\projectsimporter\msvcworkspaceloader.cpp
Compiling: plugins\projectsimporter\projectsimporter.cpp
Compiling: plugins\projectsimporter\devcpploader.cpp
Linking dynamic library: devel\share\CodeBlocks\plugins\projectsimporter.dll
Info: resolving vtable for TiXmlDocumentby linking to __imp___ZTV13TiXmlDocument (auto-import)
.objs\plugins\projectsimporter\msvc7loader.o: In function `ZNSt6vectorIPN14BlockAllocatorI21CodeBlocksLayoutEventLj75ELb0EE11LinkedBlockIS1_EESaIS5_EEixEj':
C:/Usr/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/bits/stl_vector.h:(.text$_ZN13TiXmlDocumentD1Ev[TiXmlDocument::~TiXmlDocument()]+0x3a): variable 'vtable for TiXmlDocument' 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 (7 minutes, 12 seconds)
0 errors, 0 warnings
 


After updating to svn 4291 I get the above linker failure.
Xp Sp2 g++ (GCC) 3.4.4 (mingw special)
« Last Edit: July 22, 2007, 04:51:04 pm by Pecan »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7786
    • My Best Post
Re: SVN 4291 does not compile
« Reply #1 on: July 23, 2007, 10:20:51 pm »
Wild guess here, delete all the .gch files and the codeblocks.a file.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2875
Re: SVN 4291 does not compile
« Reply #2 on: July 23, 2007, 11:10:58 pm »
Nope, still the same error after doing a "del *.gch /s" from the /trunk/src dir.

And I don't have a codeblocks.a file.


Code
Linking dynamic library: devel\share\CodeBlocks\plugins\projectsimporter.dll
Info: resolving vtable for TiXmlDocumentby linking to __imp___ZTV13TiXmlDocument (auto-import)
.objs\plugins\projectsimporter\msvc7loader.o: In function `ZNSt6vectorIPN14BlockAllocatorI21CodeBlocksLayoutEventLj75ELb0EE11LinkedBlockIS1_EESaIS5_EEixEj':
C:/Usr/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/bits/stl_vector.h:(.text$_ZN13TiXmlDocumentD1Ev[TiXmlDocument::~TiXmlDocument()]+0x3a): variable 'vtable for TiXmlDocument' 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 (7 minutes, 15 seconds)
0 errors, 0 warnings
 


Offline pauliusz

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: SVN 4291 does not compile
« Reply #3 on: July 23, 2007, 11:17:11 pm »
Once I had similar problem... I solved it by updating GCC to 3.4.5. You can accomplish this by using candidate version of MinGW.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2875
Re: SVN 4291 does not compile
« Reply #4 on: July 23, 2007, 11:23:31 pm »
What version of mingw is CB supposed to be compiled with?

The wiki says to use the RC2 installer. Which is what I did many months ago.
« Last Edit: July 23, 2007, 11:25:21 pm by Pecan »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2875
Re: SVN 4291 does not compile
« Reply #5 on: July 24, 2007, 12:04:25 am »
Once I had similar problem... I solved it by updating GCC to 3.4.5. You can accomplish this by using candidate version of MinGW.

Upgrading to MinGW 3.4.5 did the trick! Thanks.

Code
Compiling: plugins\projectsimporter\msvc7loader.cpp
Compiling: plugins\projectsimporter\msvc7workspaceloader.cpp
Compiling: plugins\projectsimporter\msvcloader.cpp
Compiling: plugins\projectsimporter\msvcworkspacebase.cpp
Compiling: plugins\projectsimporter\msvcworkspaceloader.cpp
Compiling: plugins\projectsimporter\projectsimporter.cpp
Compiling: plugins\projectsimporter\devcpploader.cpp
Linking dynamic library: devel\share\CodeBlocks\plugins\projectsimporter.dll
Info: resolving vtable for TiXmlDocumentby linking to __imp___ZTV13TiXmlDocument (auto-import)
Process terminated with status 0 (6 minutes, 13 seconds)
0 errors, 0 warnings