Menu

#1122 two build errors under linux

Undefined
fixed
None
Bug_Report
2021-08-05
2021-08-04
No

Building codeblocks from source under linux (linuxmint, all packages updated), I got two compile errors:
src/plugins/astyle/dlgformattersettings.cpp seems to need an "#include <wx textctrl.h="">" .
In src/sdk/scripting/bindings/sc_wxtypes.cpp the compiler complains about the wxArrayString::GetCount binding (I commented it out for now) </wx>

I configured wxwidgets as
"configure --enable-unicode --with-gtk=2 --with-sdl --enable-log --enable-mediactrl --with-regex --with-libmspack --with-liblzma --enable-shared --enable-monolithic --disable-debug --disable-compat28 --disable-compat30 --disable-webview"

and codeblocks as
"configure --disable-debug --with-contrib-plugins=all"

Discussion

  • Teodor Petrov

    Teodor Petrov - 2021-08-04

    Which revision of codeblocks are you using?
    --disable-compat30 is probably too much at the moment.

     
  • Volker Meyer

    Volker Meyer - 2021-08-04

    codeblocks is svn r12488. I will try without -disable-compat30 (although it worked before)

     
  • Miguel Gimenez

    Miguel Gimenez - 2021-08-04

    The error with dlgformattersettings.cpp is because you are compiling with wxmaster, the include should be added in trunk.

     
  • Volker Meyer

    Volker Meyer - 2021-08-04

    Just checked: the issue with wxArrayString::GetCount() ist resolved when enabling compat30.
    However the header bug remains.

     

    Last edit: Volker Meyer 2021-08-04
  • Teodor Petrov

    Teodor Petrov - 2021-08-04

    I'll fix both of those, but I don't reproduce the wxArrayString::GetCount() error. Can you extract it from the build log and post it here?

     
  • Volker Meyer

    Volker Meyer - 2021-08-05

    I rechecked, the GetCount() error occures when wxwidgets is compiled with --enable-stl

     
  • Teodor Petrov

    Teodor Petrov - 2021-08-05

    This is not supported. Even if this is fixed you'll be unable to compile wxSmith and fixing wxSmith doesn't look to be trivial (requires major changes).

     

    Last edit: Teodor Petrov 2021-08-05
  • Teodor Petrov

    Teodor Petrov - 2021-08-05
    • status: open --> fixed
    • assigned_to: Teodor Petrov
     

Log in to post a comment.