Author Topic: fatal error: wx/wxprec.h  (Read 8218 times)

Offline smartes

  • Single posting newcomer
  • *
  • Posts: 7
fatal error: wx/wxprec.h
« 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.

Offline sodev

  • Regular
  • ***
  • Posts: 497
Re: fatal error: wx/wxprec.h
« Reply #1 on: October 12, 2021, 03:56:15 pm »
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?

Offline smartes

  • Single posting newcomer
  • *
  • Posts: 7
Re: fatal error: wx/wxprec.h
« Reply #2 on: October 13, 2021, 10:34:32 am »
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

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: fatal error: wx/wxprec.h
« Reply #3 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.

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.

Offline smartes

  • Single posting newcomer
  • *
  • Posts: 7
Re: fatal error: wx/wxprec.h
« Reply #4 on: October 13, 2021, 11:36:55 am »
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.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: fatal error: wx/wxprec.h
« Reply #5 on: October 14, 2021, 01:49:40 am »