Author Topic: undefined symbol: wxEVT_PG_ITEM_EXPANDED  (Read 3000 times)

Offline weaver4

  • Single posting newcomer
  • *
  • Posts: 9
undefined symbol: wxEVT_PG_ITEM_EXPANDED
« on: February 13, 2015, 02:18:44 pm »
Downloaded version 13.12 to the  Hummingboard (arm iMX6) running Debian with XFCE.

Did the ./configure; make; sudo make install and all went well.

But when I run codeblocks from the command line I get this error:
codeblocks: symbol lookup error: codeblocks: undefined symbol: wxEVT_PG_ITEM_EXPANDED

Any ideas on what is wrong?  Some package I neet to install?

Thanks,

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12005
    • Travis build status
Re: undefined symbol: wxEVT_PG_ITEM_EXPANDED
« Reply #1 on: February 13, 2015, 02:35:09 pm »
Probably you're trying to compile C::B against wxGTK-3.xx and this is known to not work.
If this is the case try with the latest code from svn or try to install older wxGTK package (probably you'll have to self compile it, too).

But keep in mind that C::B is not considered stable when using wx>=3.xx at the moment.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline weaver4

  • Single posting newcomer
  • *
  • Posts: 9
Re: undefined symbol: wxEVT_PG_ITEM_EXPANDED
« Reply #2 on: February 13, 2015, 03:30:15 pm »
For anyone else that has this problem:

I did a search and found that wxEVT_PG_ITEM_EXPANDED is used in some python libraries.

So I installed libpython2.7 and (which I needed for gdb anyway) and C::B then ran correctly.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12005
    • Travis build status
Re: undefined symbol: wxEVT_PG_ITEM_EXPANDED
« Reply #3 on: February 13, 2015, 08:20:38 pm »
wxEVT_PG_ITEM_EXPANDED is part of wxPropertyGrid library. This library has been integrated in wx3.0, like you can see here http://docs.wxwidgets.org/3.0/classwx_property_grid.html

I don't know what was the real problem, but it is not related to python:)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]