-
Notifications
You must be signed in to change notification settings - Fork 45
Compilation
Warning: OpMon uses C++17 features. Make sure your compiler is compatible with these. We recommend using GCC version 7 or higher.
- Download SFML here (Take the version matching your compiler. If you don't have one yet, we recommend you to download the build for "GCC 7.3.0 MinGW (DW2) - 32-bit")
- Note: If there is no download for your compiler version, you'll have to build SFML yourself.
- Extract in a folder
- Add
bin
,lib
andinclude
folder of SFML in the Windows path.
If you don't already have a compiler (Instructions for GCC 7.3.0 MinGW (DW2) - 32-bit, if you have downloaded the matching SFML build according to our recommendation)
- Download MinGW here
- Extract
- Add the
bin
folder of MinGW in the Windows path.
- Download and install cmake
- In the cmake installation, don't forget to check "Add CMake to the system PATH"
- You can check by typing "path" in CMD and verifying the cmake path is present. If it's not, add it manually.
Instructions for MinGW, you only have to change the generator if you're using another compiler (see cmake --help
)
- Download OpMon source (Develop branch)
- Extract
- Go to the OpMon folder
- Open CMD or Powershell and use cmake :
-
cmake . -G "MinGW Makefiles"
(Add-DCMAKE_BUILD_TYPE=Debug
if you want to get a debug build) cmake --build .
-
-
Note: You can also use
cmake-gui
. - Copy the
data
folder inbin/Release
- You can now launch the game!
-
Install the dependencies according to your GNU/Linux system, click here to show the dependencies.
-
Download the OpMon repository
-
Extract!
-
Create
bin
folder (in theOpMon-develop
folder) and in thebin
folder, create aRelease
folder -
Open a terminal in the
OpMon-develop
folder and type : -
./build-and-run.sh
If it doesn't work, type :
submodule update --init
mkdir build && cd build
cmake .. #If you want to build in Debug, use -DCMAKE_BUILD_TYPE=Debug
make
sudo make install # install the game into your system
make package # generate both .deb package and .tar.gz package
If there is a problem :
####We answer as soon as we can on this discord
openSUSE users can add games repos and install OpMon like this:
zypper ar -f obs://games games
zypper ref
zypper in opmon
rpms can currently be downloaded here
Here you can see recipe to build the rpm Here (Github) or here (OpenSUSE)
by jubalh
Please fix me ! (suggest us your modifications on the discord)
- Install SFML (click on SFML 2.x.x then on Download in the mac section) and CMake for macOS.
- Install OpMon dependancies (gcc, libstdc++, smpeg librairy)
- Download OpMon here.
- Generate a Makefile to compile with CMake :
cmake
- Compile OpMon :
make
- Copy the
data
folder in whichopmon
executable file is located. - Start OpMon! 👍