Simple GTKmm Terminal for experimentation.
-
Multi-Language Command Execution:
- Execute Bash scripts/commands.
- Execute Python scripts/commands.
- Execute Lua scripts/commands.
-
Interactive GTKmm 4.0 Interface:
- Dedicated input and output areas.
- File Operations.
To build and run this project, you need the following:
- CMake (version 3.25 or higher)
- C++ Compiler (supporting C++23 standard, e.g., GCC, Clang)
- GTKmm 4.0 Development Libraries:
- On Debian/Ubuntu:
sudo apt install libgtkmm-4.0-dev
- On Debian/Ubuntu:
- Python 3 Development Libraries:
- On Debian/Ubuntu:
sudo apt install python3-dev
- On Debian/Ubuntu:
- Lua Development Libraries:
- On Debian/Ubuntu:
sudo apt install liblua5.3-dev
(orliblua5.4-dev
depending on your system's Lua version)
- On Debian/Ubuntu:
-
Clone the repository:
git clone <url_of_this_repository> cd Terminal_GTKmm # Where is CMakeLists.txt
-
Create a build directory and navigate into it:
mkdir build cd build
-
Run CMake to configure the project:
cmake ..
If all prerequisites are met, CMake will find the necessary libraries and generate the build files. You should see output similar to:
-- GTKmm found: -- Directory: ... -- Libraries: ... -- Python3 found: -- Directory: ... -- Libraries: ... -- Lua found: -- Directory: ... -- Libraries: ...
If any library is not found, CMake will report a fatal error. Ensure you have all required development packages installed.
-
Build the application:
cmake --build .
This will compile the source code and create the executable.
After a successful build, you can run the executable from the build
directory:
./TerminalApp # Program name in CMakeLists.txt
GTKmm : C++ Interfaces for GTK+ and GNOME.
Python : Embedding Python in Another Application.
Lua : Lua Documentation.