Requirements for Debian 11 (MX Linux 21) and Kubuntu 22.04
Apt
- cmake
- libgsl-dev
- libwxgtk3.0-gtk3-dev
Deb
- wxFormBuilder
Get .deb
file from this location (update version and Ubuntu version as required):
https://github.com/wxFormBuilder/wxFormBuilder/releases/download/v4.1.0/wxformbuilder_4.1.0_ubuntu-22.04_amd64.deb ) and install it with the package manager. (The path for future versions may need to be verified.)
Download and compile source code
git clone https://github.com/agalasso/phdlogview.git
cd phdlogview
mkdir tmp
cd tmp
cmake ..
cmake --build .
sudo make install
Compilation errors
Not experienced with Kubuntu 22.04
If you get this error at the cmake --build .
stage…
$ cmake --build .
[ 14%] Generating LogViewFrameBase.cpp, LogViewFrameBase.h
18:14:22: Error: This project file is out of date. Update your .fbp before using --generate
18:14:22: Error: Unable to load project: /PATH_TO_BUILD_DIR/phdlogview/phdlogview.fbp
gmake[2]: *** [CMakeFiles/phdlogview.dir/build.make:81: LogViewFrameBase.cpp] Error 6
gmake[1]: *** [CMakeFiles/Makefile2:94: CMakeFiles/phdlogview.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2
…navigate with the file manager to the directory containing phdlogview.fbp
and open it with the native application wxFormBuilder
and accept the prompts to update it, then save it. The cmake --build .
command will then work.