Code::Blocks Forums
User forums => Help => Topic started by: smartes on October 12, 2021, 03:30:31 pm
-
Hi!
For some reasons I cannot compile the C::B from source.
I downloaded C::B20.03, next I /configure --prefix=/usr --with-contrib-plugins=all. And after make I got fatal error: wx/wxprec.h no such file. which package it needs.
OS Ubuntu 21.
-
First, VERY BAD IDEA to use the prefix /usr, use at least /usr/local. Second, do you have wxWidgets dev packages installed? What does wx-config --list output?
-
OK. I agree /usr not the best location.
However wx-config --list gives
wx-config --list
Default config is gtk3-unicode-3.1-unofficial
Default config will be used for output
Alternate matches:
base-unicode-3.1-unofficial
-
I suggest you start with the WIKI and read the pages about building C::B from source on Linux.
I also suggest NOT using CodeLite unofficial wxwidget library releases as a starting point. Later after you have built C::B a few times from source then give it a go.
-
I suggest you start with the WIKI and read the pages about building C::B from source on Linux.
Usually, it works. But Wiki now shows 502 Bad Gateway.
-
Try the following archvie.org C::B snapshot from last year:
https://web.archive.org/web/20200205131212/http://wiki.codeblocks.org/index.php/Main_Page