Author Topic: Compilation error: XML branch  (Read 35451 times)

Offline gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
Compilation error: XML branch
« on: September 06, 2012, 09:04:18 am »
\src\sdk\compiler.cpp|810|error: 'class wxXmlNode' has no member named 'GetAttribute'|

which version of wxwidget can compiler it?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Compilation error: XML branch
« Reply #1 on: September 06, 2012, 09:26:50 am »
which version of wxwidget can compiler it?
v2.8.12 should do.
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 gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
Compilation error: XML branch
« Reply #2 on: September 06, 2012, 09:36:34 am »
Ok! I try it
=================================================
When I use wxwidget 2.9.4
display
\include\wx\platform.h|154|fatal error: wx/setup.h: No such file or directory|

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Compilation error: XML branch
« Reply #3 on: September 06, 2012, 10:26:41 am »
\include\wx\platform.h|154|fatal error: wx/setup.h: No such file or directory|
Because its not enough to extract the sources, you also need to compile wxWidgets or install the dev packages (depending on your platform).

That's why we provide nightly builds, btw, to save you from this hassle.
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 gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
Compilation error: XML branch
« Reply #4 on: September 06, 2012, 11:56:26 am »
I use CodeBlocks_EP couldn't build it.

Could you tell me where I can download the WxWidget 2.8.10(Build by Mingw32 4.6.1 or other version) which can build the project.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: Compilation error: XML branch
« Reply #5 on: September 06, 2012, 12:02:42 pm »
I use CodeBlocks_EP couldn't build it.
We don't provide support for C::B forks. Ask the maintainer of this fork.
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