CodeBlocks and WxWidgets

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

CodeBlocks and WxWidgets

Post by tumanovalex » Tue Apr 28, 2020 4:50 pm

Lubuntu 64 bit, CodeBlocks 16.01 with plugins. I installed WxWidgets (viewtopic.php?f=19&t=47093), made the default Frame WxSmith project, and tried to compile it. Got errors:

Code: Select all

/usr/bin/ld: cannot find -lwx_baseu_unofficial3_xml-3.1
/usr/bin/ld: cannot find -lwx_baseu_unofficial3_net-3.1
/usr/bin/ld: cannot find -lwx_baseu_unofficial3-3.1
Apparently, something else needs to be installed or configured in CodeBlocks. Please help me figure it out.

stahta01
Super wx Problem Solver
Super wx Problem Solver
Posts: 354
Joined: Fri Nov 03, 2006 2:00 pm

Re: CodeBlocks and WxWidgets

Post by stahta01 » Wed Apr 29, 2020 3:24 pm

Post the Code::Blocks build log!

Tim S.

stahta01
Super wx Problem Solver
Super wx Problem Solver
Posts: 354
Joined: Fri Nov 03, 2006 2:00 pm

Re: CodeBlocks and WxWidgets

Post by stahta01 » Wed Apr 29, 2020 7:15 pm

You can post the output of wx-config command.

Code: Select all

wx-config --list
Tim S.

tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

Re: CodeBlocks and WxWidgets

Post by tumanovalex » Wed Apr 29, 2020 7:44 pm

Thank you very much for the answer!
-------------- Build: Debug in cdWxTestLinux (compiler: GNU GCC Compiler)---------------

Code: Select all

g++ -L/usr/lib -o bin/Debug/cdWxTestLinux obj/Debug/cdWxTestLinuxApp.o obj/Debug/cdWxTestLinuxMain.o  -L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk3u_unofficial3_xrc-3.1 -lwx_gtk3u_unofficial3_html-3.1 -lwx_gtk3u_unofficial3_qa-3.1 -lwx_gtk3u_unofficial3_core-3.1 -lwx_baseu_unofficial3_xml-3.1 -lwx_baseu_unofficial3_net-3.1 -lwx_baseu_unofficial3-3.1   
/usr/bin/ld: cannot find -lwx_baseu_unofficial3_xml-3.1
/usr/bin/ld: cannot find -lwx_baseu_unofficial3_net-3.1
/usr/bin/ld: cannot find -lwx_baseu_unofficial3-3.1
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 2 second(s))
4 error(s), 0 warning(s) (0 minute(s), 2 second(s))
wx-config --list

Code: Select all

    Default config is gtk3-unicode-3.1-unofficial3
  Default config will be used for output
  Alternate matches:
    base-unicode-3.1-unofficial
It may be necessary in the parameters CodeBlocks specify any search paths, location WxWidgets, global settings, as in Windows? I did not specify anything additional in the settings.

DavidHart
Site Admin
Site Admin
Posts: 3967
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: CodeBlocks and WxWidgets

Post by DavidHart » Wed Apr 29, 2020 8:03 pm

Hi,

I suggest you look at, and post, the output of doing:
wx-config --libs

and then:
wx-config --libs all

If base, xml and net aren't output, use your filemanager, or terminal, to see if those libs really are missing.

Regards,

David

tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

Re: CodeBlocks and WxWidgets

Post by tumanovalex » Wed Apr 29, 2020 8:16 pm

wx-config --libs

Code: Select all

-L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk3u_unofficial3_xrc-3.1 -lwx_gtk3u_unofficial3_html-3.1 -lwx_gtk3u_unofficial3_qa-3.1 -lwx_gtk3u_unofficial3_core-3.1 -lwx_baseu_unofficial3_xml-3.1 -lwx_baseu_unofficial3_net-3.1 -lwx_baseu_unofficial3-3.1 
wx-config --libs all

Code: Select all

-L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk3u_unofficial3_xrc-3.1 -lwx_gtk3u_unofficial3_webview-3.1 -lwx_gtk3u_unofficial3_stc-3.1 -lwx_gtk3u_unofficial3_richtext-3.1 -lwx_gtk3u_unofficial3_ribbon-3.1 -lwx_gtk3u_unofficial3_propgrid-3.1 -lwx_gtk3u_unofficial3_aui-3.1 -lwx_gtk3u_unofficial3_gl-3.1 -lwx_gtk3u_unofficial3_media-3.1 -lwx_gtk3u_unofficial3_html-3.1 -lwx_gtk3u_unofficial3_qa-3.1 -lwx_gtk3u_unofficial3_core-3.1 -lwx_baseu_unofficial3_xml-3.1 -lwx_baseu_unofficial3_net-3.1 -lwx_baseu_unofficial3-3.1 
xml and net present on both lists.

stahta01
Super wx Problem Solver
Super wx Problem Solver
Posts: 354
Joined: Fri Nov 03, 2006 2:00 pm

Re: CodeBlocks and WxWidgets

Post by stahta01 » Wed Apr 29, 2020 11:02 pm

Looks like poor packaging.

These files likely should not have the trailing ".3" on them.

Code: Select all

libwx_baseu_unofficial3_net-3.1.so.3
libwx_baseu_unofficial3_xml-3.1.so.3
libwx_baseu_unofficial3-3.1.so.3
Edit: Since these are Codelite packages you might ask on their website.

Tim S.

DavidHart
Site Admin
Site Admin
Posts: 3967
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: CodeBlocks and WxWidgets

Post by DavidHart » Thu Apr 30, 2020 6:55 am

These files likely should not have the trailing ".3" on them.
Er, why not? It's a standard thing to do. To quote from https://dwheeler.com/program-library/Pr ... O/x36.html
Every shared library has a special name called the ``soname''. The soname has the prefix ``lib'', the name of the library, the phrase ``.so'', followed by a period and a version number that is incremented whenever the interface changes
Or, if you meant the '3' in 'unofficial3', that's to distinguish gtk+3 packages from gtk+2.

DavidHart
Site Admin
Site Admin
Posts: 3967
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: CodeBlocks and WxWidgets

Post by DavidHart » Thu Apr 30, 2020 7:16 am

tumanovalex wrote:
Wed Apr 29, 2020 8:16 pm
wx-config --libs

Code: Select all

-L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk3u_unofficial3_xrc-3.1 -lwx_gtk3u_unofficial3_html-3.1 -lwx_gtk3u_unofficial3_qa-3.1 -lwx_gtk3u_unofficial3_core-3.1 -lwx_baseu_unofficial3_xml-3.1 -lwx_baseu_unofficial3_net-3.1 -lwx_baseu_unofficial3-3.1 
wx-config --libs all

Code: Select all

-L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk3u_unofficial3_xrc-3.1 -lwx_gtk3u_unofficial3_webview-3.1 -lwx_gtk3u_unofficial3_stc-3.1 -lwx_gtk3u_unofficial3_richtext-3.1 -lwx_gtk3u_unofficial3_ribbon-3.1 -lwx_gtk3u_unofficial3_propgrid-3.1 -lwx_gtk3u_unofficial3_aui-3.1 -lwx_gtk3u_unofficial3_gl-3.1 -lwx_gtk3u_unofficial3_media-3.1 -lwx_gtk3u_unofficial3_html-3.1 -lwx_gtk3u_unofficial3_qa-3.1 -lwx_gtk3u_unofficial3_core-3.1 -lwx_baseu_unofficial3_xml-3.1 -lwx_baseu_unofficial3_net-3.1 -lwx_baseu_unofficial3-3.1 
xml and net present on both lists.
Good, all present-and-correct, and visible in a terminal. So it's just a matter of getting C::B to look for them.
That means invoking wx-config in both ProjectSettings > Compilation and ProjectSettings > Linking fields (I don't use C::B, so I'm guessing at the names).

In CodeLite that would mean doing something like:
-g;-O0;-Wall;$(shell wx-config --cxxflags)
and
$(shell wx-config --libs)
(or 'wx-config --libs all' or...)

Other IDEs use different syntax e.g. $(wx-config...) without the 'shell' word. I expect the C::B site will have more specific information.

tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

Re: CodeBlocks and WxWidgets

Post by tumanovalex » Thu Apr 30, 2020 10:23 am

In CodeLite I got the same result

Code: Select all

/bin/sh -c '/usr/bin/make -j4 -e -f  Makefile'
----------Building project:[ clTestWxLinux - Debug ]----------
make[1]: Entering directory '/media/alex/DataIworks/MyProgramming/CodeLite/CodeLite/clTestWxLinux'
/usr/bin/g++-9  -c  "/media/alex/DataIworks/MyProgramming/CodeLite/CodeLite/clTestWxLinux/wxcrafter_bitmaps.cpp" -g -O0 -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.1-unofficial3 -I/usr/include/wx-3.1-unofficial -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread   -o ../build-Debug/clTestWxLinux/wxcrafter_bitmaps.cpp.o -I. -I.
/usr/bin/g++-9  -c  "/media/alex/DataIworks/MyProgramming/CodeLite/CodeLite/clTestWxLinux/wxcrafter.cpp" -g -O0 -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.1-unofficial3 -I/usr/include/wx-3.1-unofficial -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread   -o ../build-Debug/clTestWxLinux/wxcrafter.cpp.o -I. -I.
/usr/bin/g++-9  -c  "/media/alex/DataIworks/MyProgramming/CodeLite/CodeLite/clTestWxLinux/MainFrame.cpp" -g -O0 -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.1-unofficial3 -I/usr/include/wx-3.1-unofficial -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread   -o ../build-Debug/clTestWxLinux/MainFrame.cpp.o -I. -I.
/usr/bin/g++-9  -c  "/media/alex/DataIworks/MyProgramming/CodeLite/CodeLite/clTestWxLinux/main.cpp" -g -O0 -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.1-unofficial3 -I/usr/include/wx-3.1-unofficial -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread   -o ../build-Debug/clTestWxLinux/main.cpp.o -I. -I.
/usr/bin/g++-9 -o ../build-Debug/bin/clTestWxLinux @../build-Debug/clTestWxLinux/ObjectsList.txt -L.   -L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk3u_unofficial3_xrc-3.1 -lwx_gtk3u_unofficial3_html-3.1 -lwx_gtk3u_unofficial3_qa-3.1 -lwx_gtk3u_unofficial3_core-3.1 -lwx_baseu_unofficial3_xml-3.1 -lwx_baseu_unofficial3_net-3.1 -lwx_baseu_unofficial3-3.1
/usr/bin/ld: cannot find -lwx_baseu_unofficial3_xml-3.1
/usr/bin/ld: cannot find -lwx_baseu_unofficial3_net-3.1
/usr/bin/ld: cannot find -lwx_baseu_unofficial3-3.1
collect2: error: ld returned 1 exit status
make[1]: *** [clTestWxLinux.mk:79: ../build-Debug/bin/clTestWxLinux] Error 1
make[1]: Leaving directory '/media/alex/DataIworks/MyProgramming/CodeLite/CodeLite/clTestWxLinux'
make: *** [Makefile:5: All] Error 2
Sorry, I don't know this IDE. What needs to be specified in the settings for the program to work? The project has attached.
clTestWxLinux.zip
(10.11 KiB) Downloaded 9 times

tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

Re: CodeBlocks and WxWidgets

Post by tumanovalex » Thu Apr 30, 2020 10:40 am

But still I would like to deal with CodeBlock. I tried CodeLite, I liked this IDE too, but I did not understand the designer how to move elements. In addition, the created program with a frame without controls was compiled, but I do not see it on the screen. Some image skips and the program ends.

DavidHart
Site Admin
Site Admin
Posts: 3967
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: CodeBlocks and WxWidgets

Post by DavidHart » Thu Apr 30, 2020 11:56 am

Hmm. I tested your CodeLite project in an existing workspace. After altering the g++ version, it built, linked and ran normally. The relevant part of my linking output was:

Code: Select all

 -L.   -L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk3u_unofficial3_xrc-3.1 -lwx_gtk3u_unofficial3_html-3.1 -lwx_gtk3u_unofficial3_qa-3.1 -lwx_gtk3u_unofficial3_core-3.1 -lwx_baseu_unofficial3_xml-3.1 -lwx_baseu_unofficial3_net-3.1 -lwx_baseu_unofficial3-3.1
i.e. just the same as yours.

What is the output of doing, in a terminal:
ls -l /usr/lib/x86_64-linux-gnu/*unofficial3*
I get:

Code: Select all

lrwxrwxrwx 1 root root      32 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3-3.1.so -> libwx_baseu_unofficial3-3.1.so.3
lrwxrwxrwx 1 root root      36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3-3.1.so.3 -> libwx_baseu_unofficial3-3.1.so.3.0.0
-rw-r--r-- 1 root root 2733016 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3-3.1.so.3.0.0
lrwxrwxrwx 1 root root      36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_net-3.1.so -> libwx_baseu_unofficial3_net-3.1.so.3
lrwxrwxrwx 1 root root      40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_net-3.1.so.3 -> libwx_baseu_unofficial3_net-3.1.so.3.0.0
-rw-r--r-- 1 root root  299632 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_net-3.1.so.3.0.0
lrwxrwxrwx 1 root root      36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_xml-3.1.so -> libwx_baseu_unofficial3_xml-3.1.so.3
lrwxrwxrwx 1 root root      40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_xml-3.1.so.3 -> libwx_baseu_unofficial3_xml-3.1.so.3.0.0
-rw-r--r-- 1 root root  297880 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_xml-3.1.so.3.0.0
lrwxrwxrwx 1 root root      36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_adv-3.1.so -> libwx_gtk3u_unofficial3_adv-3.1.so.3
lrwxrwxrwx 1 root root      40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_adv-3.1.so.3 -> libwx_gtk3u_unofficial3_adv-3.1.so.3.0.0
-rw-r--r-- 1 root root  235712 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_adv-3.1.so.3.0.0
lrwxrwxrwx 1 root root      36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_aui-3.1.so -> libwx_gtk3u_unofficial3_aui-3.1.so.3
lrwxrwxrwx 1 root root      40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_aui-3.1.so.3 -> libwx_gtk3u_unofficial3_aui-3.1.so.3.0.0
-rw-r--r-- 1 root root  874352 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_aui-3.1.so.3.0.0
lrwxrwxrwx 1 root root      37 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_core-3.1.so -> libwx_gtk3u_unofficial3_core-3.1.so.3
lrwxrwxrwx 1 root root      41 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_core-3.1.so.3 -> libwx_gtk3u_unofficial3_core-3.1.so.3.0.0
-rw-r--r-- 1 root root 9827624 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_core-3.1.so.3.0.0
lrwxrwxrwx 1 root root      35 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_gl-3.1.so -> libwx_gtk3u_unofficial3_gl-3.1.so.3
lrwxrwxrwx 1 root root      39 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_gl-3.1.so.3 -> libwx_gtk3u_unofficial3_gl-3.1.so.3.0.0
-rw-r--r-- 1 root root  331240 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_gl-3.1.so.3.0.0
lrwxrwxrwx 1 root root      37 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_html-3.1.so -> libwx_gtk3u_unofficial3_html-3.1.so.3
lrwxrwxrwx 1 root root      41 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_html-3.1.so.3 -> libwx_gtk3u_unofficial3_html-3.1.so.3.0.0
-rw-r--r-- 1 root root 1088792 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_html-3.1.so.3.0.0
lrwxrwxrwx 1 root root      38 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_media-3.1.so -> libwx_gtk3u_unofficial3_media-3.1.so.3
lrwxrwxrwx 1 root root      42 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_media-3.1.so.3 -> libwx_gtk3u_unofficial3_media-3.1.so.3.0.0
-rw-r--r-- 1 root root  364056 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_media-3.1.so.3.0.0
lrwxrwxrwx 1 root root      41 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_propgrid-3.1.so -> libwx_gtk3u_unofficial3_propgrid-3.1.so.3
lrwxrwxrwx 1 root root      45 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_propgrid-3.1.so.3 -> libwx_gtk3u_unofficial3_propgrid-3.1.so.3.0.0
-rw-r--r-- 1 root root 1266712 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_propgrid-3.1.so.3.0.0
lrwxrwxrwx 1 root root      35 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_qa-3.1.so -> libwx_gtk3u_unofficial3_qa-3.1.so.3
lrwxrwxrwx 1 root root      39 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_qa-3.1.so.3 -> libwx_gtk3u_unofficial3_qa-3.1.so.3.0.0
-rw-r--r-- 1 root root  425680 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_qa-3.1.so.3.0.0
lrwxrwxrwx 1 root root      39 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_ribbon-3.1.so -> libwx_gtk3u_unofficial3_ribbon-3.1.so.3
lrwxrwxrwx 1 root root      43 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_ribbon-3.1.so.3 -> libwx_gtk3u_unofficial3_ribbon-3.1.so.3.0.0
-rw-r--r-- 1 root root  790912 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_ribbon-3.1.so.3.0.0
lrwxrwxrwx 1 root root      41 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_richtext-3.1.so -> libwx_gtk3u_unofficial3_richtext-3.1.so.3
lrwxrwxrwx 1 root root      45 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_richtext-3.1.so.3 -> libwx_gtk3u_unofficial3_richtext-3.1.so.3.0.0
-rw-r--r-- 1 root root 2173928 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_richtext-3.1.so.3.0.0
lrwxrwxrwx 1 root root      36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_stc-3.1.so -> libwx_gtk3u_unofficial3_stc-3.1.so.3
lrwxrwxrwx 1 root root      40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_stc-3.1.so.3 -> libwx_gtk3u_unofficial3_stc-3.1.so.3.0.0
-rw-r--r-- 1 root root 3073256 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_stc-3.1.so.3.0.0
lrwxrwxrwx 1 root root      36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_xrc-3.1.so -> libwx_gtk3u_unofficial3_xrc-3.1.so.3
lrwxrwxrwx 1 root root      40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_xrc-3.1.so.3 -> libwx_gtk3u_unofficial3_xrc-3.1.so.3.0.0
-rw-r--r-- 1 root root 1718976 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_xrc-3.1.so.3.0.0
Do you get the same. In particular, are all three libwx_baseu_unofficial3_net-3.1* files present?

tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

Re: CodeBlocks and WxWidgets

Post by tumanovalex » Thu Apr 30, 2020 9:21 pm

I have the following results:

Code: Select all

lrwxrwxrwx 1 root root       36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3-3.1.so.3 -> libwx_baseu_unofficial3-3.1.so.3.0.0
-rw-r--r-- 1 root root  2946192 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3-3.1.so.3.0.0
lrwxrwxrwx 1 root root       40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_net-3.1.so.3 -> libwx_baseu_unofficial3_net-3.1.so.3.0.0
-rw-r--r-- 1 root root   316192 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_net-3.1.so.3.0.0
lrwxrwxrwx 1 root root       40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_xml-3.1.so.3 -> libwx_baseu_unofficial3_xml-3.1.so.3.0.0
-rw-r--r-- 1 root root   240696 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial3_xml-3.1.so.3.0.0
lrwxrwxrwx 1 root root       36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_adv-3.1.so -> libwx_gtk3u_unofficial3_adv-3.1.so.3
lrwxrwxrwx 1 root root       40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_adv-3.1.so.3 -> libwx_gtk3u_unofficial3_adv-3.1.so.3.0.0
-rw-r--r-- 1 root root    14208 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_adv-3.1.so.3.0.0
lrwxrwxrwx 1 root root       36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_aui-3.1.so -> libwx_gtk3u_unofficial3_aui-3.1.so.3
lrwxrwxrwx 1 root root       40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_aui-3.1.so.3 -> libwx_gtk3u_unofficial3_aui-3.1.so.3.0.0
-rw-r--r-- 1 root root   694208 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_aui-3.1.so.3.0.0
lrwxrwxrwx 1 root root       37 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_core-3.1.so -> libwx_gtk3u_unofficial3_core-3.1.so.3
lrwxrwxrwx 1 root root       41 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_core-3.1.so.3 -> libwx_gtk3u_unofficial3_core-3.1.so.3.0.0
-rw-r--r-- 1 root root 10266048 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_core-3.1.so.3.0.0
lrwxrwxrwx 1 root root       35 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_gl-3.1.so -> libwx_gtk3u_unofficial3_gl-3.1.so.3
lrwxrwxrwx 1 root root       39 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_gl-3.1.so.3 -> libwx_gtk3u_unofficial3_gl-3.1.so.3.0.0
-rw-r--r-- 1 root root   110136 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_gl-3.1.so.3.0.0
lrwxrwxrwx 1 root root       37 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_html-3.1.so -> libwx_gtk3u_unofficial3_html-3.1.so.3
lrwxrwxrwx 1 root root       41 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_html-3.1.so.3 -> libwx_gtk3u_unofficial3_html-3.1.so.3.0.0
-rw-r--r-- 1 root root   920944 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_html-3.1.so.3.0.0
lrwxrwxrwx 1 root root       38 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_media-3.1.so -> libwx_gtk3u_unofficial3_media-3.1.so.3
lrwxrwxrwx 1 root root       42 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_media-3.1.so.3 -> libwx_gtk3u_unofficial3_media-3.1.so.3.0.0
-rw-r--r-- 1 root root   155224 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_media-3.1.so.3.0.0
lrwxrwxrwx 1 root root       41 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_propgrid-3.1.so -> libwx_gtk3u_unofficial3_propgrid-3.1.so.3
lrwxrwxrwx 1 root root       45 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_propgrid-3.1.so.3 -> libwx_gtk3u_unofficial3_propgrid-3.1.so.3.0.0
-rw-r--r-- 1 root root  1131632 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_propgrid-3.1.so.3.0.0
lrwxrwxrwx 1 root root       35 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_qa-3.1.so -> libwx_gtk3u_unofficial3_qa-3.1.so.3
lrwxrwxrwx 1 root root       39 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_qa-3.1.so.3 -> libwx_gtk3u_unofficial3_qa-3.1.so.3.0.0
-rw-r--r-- 1 root root   212752 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_qa-3.1.so.3.0.0
lrwxrwxrwx 1 root root       39 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_ribbon-3.1.so -> libwx_gtk3u_unofficial3_ribbon-3.1.so.3
lrwxrwxrwx 1 root root       43 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_ribbon-3.1.so.3 -> libwx_gtk3u_unofficial3_ribbon-3.1.so.3.0.0
-rw-r--r-- 1 root root   606680 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_ribbon-3.1.so.3.0.0
lrwxrwxrwx 1 root root       41 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_richtext-3.1.so -> libwx_gtk3u_unofficial3_richtext-3.1.so.3
lrwxrwxrwx 1 root root       45 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_richtext-3.1.so.3 -> libwx_gtk3u_unofficial3_richtext-3.1.so.3.0.0
-rw-r--r-- 1 root root  2214976 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_richtext-3.1.so.3.0.0
lrwxrwxrwx 1 root root       36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_stc-3.1.so -> libwx_gtk3u_unofficial3_stc-3.1.so.3
lrwxrwxrwx 1 root root       40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_stc-3.1.so.3 -> libwx_gtk3u_unofficial3_stc-3.1.so.3.0.0
-rw-r--r-- 1 root root  2876784 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_stc-3.1.so.3.0.0
lrwxrwxrwx 1 root root       36 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_xrc-3.1.so -> libwx_gtk3u_unofficial3_xrc-3.1.so.3                                            
lrwxrwxrwx 1 root root       40 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_xrc-3.1.so.3 -> libwx_gtk3u_unofficial3_xrc-3.1.so.3.0.0                                      
-rw-r--r-- 1 root root  1530656 Oct 29  2019 /usr/lib/x86_64-linux-gnu/libwx_gtk3u_unofficial3_xrc-3.1.so.3.0.0   
You have 44 lines in the list, I have 41 lines, and there are not all net and xml that you have.

DavidHart
Site Admin
Site Admin
Posts: 3967
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: CodeBlocks and WxWidgets

Post by DavidHart » Thu Apr 30, 2020 9:44 pm

That would explain it. I suggest you try reinstalling the packages. Second best would be to create the necessary symlinks by hand.

tumanovalex
In need of some credit
In need of some credit
Posts: 9
Joined: Mon Apr 27, 2020 7:03 am

Re: CodeBlocks and WxWidgets

Post by tumanovalex » Sat May 02, 2020 5:44 pm

I did apt full-update, reinstalled WxWidgets, it worked. Thank you very much for your help.

Post Reply