Installation Guide for Running the Ise View Application
Notes
- Ensure
set.txt
and app.ise
are placed in the same directory as the executable.
- For Android, include
set.txt
and app.ise
as assets in the project.
- Adjust paths in the code as necessary for your platform.
- All files in
asset
folder except app.c
.
1. Linux
Prerequisites
Ensure the following dependencies are installed:
- GTK 3+
- WebKit2GTK
- A C compiler like
gcc
Installation Steps
- Install the required dependencies:
- On Debian/Ubuntu-based systems:
sudo apt update
sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev build-essential
- On Arch-based systems:
sudo pacman -Syu gtk3 webkit2gtk base-devel
Or
sudo pamac install gtk3 webkit2gtk base-devel
- On Fedora:
sudo dnf install gtk3-devel webkit2gtk3-devel gcc
- Compile the application:
gcc app.c -o app $(pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0)
- Run the application:
2. Windows
Prerequisites
- Install MSYS2 for a Linux-like development environment.
- GTK and WebKit2GTK libraries for Windows.
Installation Steps
- Install MSYS2 and update the package database:
- Install GTK and WebKit2GTK:
pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-webkit2gtk
- Compile the application:
gcc app.c -o app $(pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0)
- Run the application:
3. Android
Prerequisites
- Android NDK
- GTK for Android (Cross-compilation)
Installation Steps
- Install the Android NDK from Android Developers.
- Cross-compile GTK and WebKit2GTK for Android.
-
Modify the Android.mk
and Application.mk
to include the application and dependencies.
- Build the application:
- Install the APK on an Android device:
adb install path/to/your.apk
- Run the app from the Android launcher.