Author Topic: rev 4649 doesn't build on linux  (Read 29110 times)

Offline pauliusz

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: rev 4649 doesn't build on linux
« Reply #30 on: November 26, 2007, 10:15:29 am »
rev 4673 introduced linker errors when compiling under windows:
Code
Linking dynamic library: devel\codeblocks.dll
Creating library file: devel\libcodeblocks.a
.objs\base\tinyxml\tinywxuni.o: In function `ZN10NullLogger5ClearEv':
D:/Projektai/CodeBlocks/src/include/logger.h:(.text$_ZN11TiXmlString4quitEv[TiXmlString::quit()]+0xb): undefined reference to `TiXmlString::nullrep_'
D:/Projektai/CodeBlocks/src/include/logger.h:(.text$_ZN11TiXmlStringaSEPKc[TiXmlString::operator=(char const*)]+0x23): undefined reference to `TiXmlString::assign(char const*, unsigned int)'
D:/Projektai/CodeBlocks/src/include/logger.h:(.text$_ZN11TiXmlString4initEjj[TiXmlString::init(unsigned int, unsigned int)]+0x5b): undefined reference to `TiXmlString::nullrep_'
D:/Projektai/CodeBlocks/src/include/logger.h:(.text$_ZN11TiXmlStringC1Ev[TiXmlString::TiXmlString()]+0x8): undefined reference to `TiXmlString::nullrep_'
collect2: ld returned 1 exit status
Process terminated with status 1 (4 minutes, 28 seconds)
4 errors, 0 warnings

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: rev 4649 doesn't build on linux
« Reply #31 on: November 26, 2007, 10:45:21 am »
rev 4673 introduced linker errors when compiling under windows:
Can't reproduce. Are you sure you are using up-to-date project files and tried to re-build the tinyxml target? Because there were some modifications recently that could cause the error.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline pauliusz

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: rev 4649 doesn't build on linux
« Reply #32 on: November 26, 2007, 12:42:18 pm »
rev 4673 introduced linker errors when compiling under windows:
Can't reproduce. Are you sure you are using up-to-date project files and tried to re-build the tinyxml target? Because there were some modifications recently that could cause the error.

Project Rebuild fixed this problem... Looks like some changes were not noticed by C::B..?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: rev 4649 doesn't build on linux
« Reply #33 on: November 26, 2007, 12:56:32 pm »
Project Rebuild fixed this problem... Looks like some changes were not noticed by C::B..?
Yes and no. We have removed the TIXML #define from the builds. This is not recognised on purpose by C::B. You need to do a re-build therefore.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ