-
Notifications
You must be signed in to change notification settings - Fork 22
How to setup environment
Rodrigo Torres edited this page Apr 17, 2025
·
13 revisions
Optional:
- Install Visual Studio Code here to use it as a difftool/mergetool.
- Install Git here.
- During installation, you will be asked several configuration questions; you can keep all the defaults.
- (Optional) Install GitHub Desktop here.
- Install the Microsoft compiler (MSVC) here and install the "Desktop development with C++" workload.
- This step is not needed if you already have Visual Studio installed.
- wiRedPanda also compiles with GCC/Clang but on Windows the Microsoft compiler (MSVC) is 6x faster.
- Install Qt here.
- For Qt5: Check the "Archive" filter, then select "MSVC 2019 32-bit" under Qt 5.15.2.
- For Qt6: Use the latest version available, select "MSVC 2022 64-bit", and in "Additional Libraries", select "Qt Multimedia".
- Clone the repository to your computer.
-
Note: Do not use the "Download ZIP" button, as it does not include the
.git
folder, preventing you from committing changes. - Using GitHub Desktop: Click the green "<> Code" button on the repository homepage, then click "Open with GitHub Desktop" to clone the repository into your chosen folder.
-
Using Git directly: Run the following command:
git clone https://github.com/GIBIS-UNIFESP/wiRedPanda
-
Note: Do not use the "Download ZIP" button, as it does not include the
- Open Qt Creator and click "Open Project". Navigate to the wiRedPanda folder and select the
WPanda.pro
file. - Click the Play button (bottom left) to compile and run.
- Done! 🎉
- Install Git:
sudo apt-get install git
- Install GCC:
sudo apt-get install build-essential
- Install Qt:
-
For Qt5:
sudo apt-get install qtbase5-dev qtmultimedia5-dev libqt5svg5-dev
-
For Qt6:
sudo apt-get install qt6-base-dev qt6-multimedia-dev qt6-svg-dev
-
For Qt5:
- Clone the repository to your computer:
git clone https://github.com/GIBIS-UNIFESP/wiRedPanda
- Open Qt Creator and click "Open Project". Navigate to the wiRedPanda folder and select the
WPanda.pro
file. - Click the Play button (bottom left) to compile and run.
- Done! 🎉
- Install Git:
brew install git
- Install Xcode Command Line Tools:
xcode-select --install
- Install Qt:
-
For Qt5:
brew install qt@5
-
For Qt6:
brew install qt
-
For Qt5:
- Clone the repository to your computer:
git clone https://github.com/GIBIS-UNIFESP/wiRedPanda
- Open Qt Creator and click "Open Project". Navigate to the wiRedPanda folder and select the
WPanda.pro
file. - Click the Play button (bottom left) to compile and run.
- Done! 🎉
- show how to use the vscode mergetool
- show how to config vscode in github desktop
- show how to use vscode to compile/run wiRedPanda using cmake (need cmake and c++ extensions)
- add ccache step