Code::Blocks Forums

User forums => Embedded development => Topic started by: weaver4 on February 13, 2015, 02:18:44 pm

Title: undefined symbol: wxEVT_PG_ITEM_EXPANDED
Post by: weaver4 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,
Title: Re: undefined symbol: wxEVT_PG_ITEM_EXPANDED
Post by: oBFusCATed 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.
Title: Re: undefined symbol: wxEVT_PG_ITEM_EXPANDED
Post by: weaver4 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.
Title: Re: undefined symbol: wxEVT_PG_ITEM_EXPANDED
Post by: oBFusCATed 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:)