User forums > Help

fatal error: wx/wxprec.h

(1/2) > >>

smartes:
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.

sodev:
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?

smartes:
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

AndrewCot:
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.

smartes:

--- Quote from: AndrewCot on October 13, 2021, 11:13:13 am ---I suggest you start with the WIKI and read the pages about building C::B from source on Linux.

--- End quote ---

Usually, it works. But Wiki now shows 502 Bad Gateway.

Navigation

[0] Message Index

[#] Next page

Go to full version