Build Instructions for XMachOViewer
January 23, 2025 ยท View on GitHub
Prerequisites
Before you start building XMachOViewer, ensure you have the following tools installed:
- CMake: Version 3.10 or higher
- Qt: Qt5 or higher
- Compiler: GCC, Clang, or MSVC
Building on Linux
-
Install dependencies:
sudo apt-get update sudo apt-get install cmake qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools build-essential -
Clone the repository:
git clone https://github.com/horsicq/XMachOViewer.git cd XMachOViewer -
Create a build directory:
mkdir build cd build -
Generate Makefiles using CMake:
cmake .. -
Build the project:
make
Building on Windows
-
Install dependencies:
-
Clone the repository:
git clone https://github.com/horsicq/XMachOViewer.git cd XMachOViewer -
Create a build directory:
mkdir build cd build -
Generate Visual Studio project files using CMake:
cmake .. -G "Visual Studio 16 2019" -
Build the project: Open the generated
.slnfile in Visual Studio and build the solution.
Building on macOS
-
Install dependencies:
brew install cmake qt -
Clone the repository:
git clone https://github.com/horsicq/XMachOViewer.git cd XMachOViewer -
Create a build directory:
mkdir build cd build -
Generate Makefiles using CMake:
cmake .. -
Build the project:
make
Additional Notes
- Ensure that the Qt installation path is correctly set in your environment variables.
- For any issues encountered during the build process, refer to the GitHub Issues page for troubleshooting and support.