Hi Stan,
On 09/02/2023 16:55, stan via devel wrote:
I downloaded the wxWidgets code from their site, and compiled it using
their instructions on f37. Compiled easily, with only a warning about
missing midi support. I installed it in /usr/local
When I tried to get tenacity to use it, though, I hit a dead end. Even
though I set the environment variable WX_CONFIG to point to it, cmake
find_program kept finding the system version 3.0.4. I assume it looks
there first, and once it finds it, it stops. I tried the alternative of
building it as a subprogram with the tenacity source (the tenacity
build instructions helpfully pointed to this), but it was compiled as
3.0 compatible, and tenacity complained about too old a version of some
constructs. I then gave up.
Using several wxWidgets version is indeed a bit painful, been there,
done that. One quick fix is to configure alternatives to use the new 3.2
version version of wx-config instead of the default 3.0.
There is no need to actually build, just running "wx-config --version"
reveals the version currently selected by alternatives.
There are other options including hard-wiring wx-config to an absolute
path. However, it's IMHO more complicated and with some traps.
HTH
--alec