User forums > Help

Trouble Complining CB with CB under Linux

<< < (2/3) > >>

tigerbeard:

--- Quote from: omlk on December 09, 2023, 11:46:11 pm ---maybe this is your case? As example on attached screenshot

--- End quote ---
Yes, an image is better than 1000 words. Well done.

tigerbeard:

--- Quote from: stahta01 on December 09, 2023, 11:35:01 pm ---Edit2: likely update30 or update32

--- End quote ---
indeed, I think I missed that.

=>YES. that solved both the nagging dialog and also the last compile error.
THX!


And attached it finally there is: CB running CB

Miguel Gimenez:
If you plan to debug C::B you must define CB_RELEASE_TYPE = "-g" before compiling it, so the debug symbols are preserved.

tigerbeard:

--- Quote from: Miguel Gimenez on December 10, 2023, 04:02:54 pm ---If you plan to debug C::B you must define CB_RELEASE_TYPE = "-g" before compiling it, so the debug symbols are preserved.

--- End quote ---
yeah, thanks I thought thats the right way since there is no All-debug target.

indeed, the inital movitation was to confirm your recent fix. Meanwhile I found I made a mistake above. Although CB did compile with 3.2 and started,  most of the contributes were missing. To get the working I would have to manually change each sub project to 3.2. So I reckon it it really should compile with wx3.0. So currently I am back at the undefined refs (e.g. wxControl::SetFont()) trying to figure out the problem.

tigerbeard:

--- Quote from: tigerbeard on December 11, 2023, 12:45:16 pm ---undefined refs (e.g. wxControl::SetFont()) trying to figure out the problem.

--- End quote ---

I think this is  the problem. The GTK2 lib only has a symbol for
--- Code: ---wxControlBase::SetFont
--- End code ---
.

--- Code: ---// in src/gtk/control.cpp
#ifdef __WXGTK3__
bool wxControl::SetFont(const wxFont& font)
{

--- End code ---

As the repostory wx-confilg resolves to -lwx_gtk2u_core-3.0 it seems that CB is incompatible to wxGKT2 versions. Currently I am compiling on an 18.04LTS system. The current 22.04 LTS repository has the GTK3 version, so hopefully that resolves it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version