-
Notifications
You must be signed in to change notification settings - Fork 5
Building CRHMcode GUI for development with Microsoft Visual Studio
jhs507 edited this page May 11, 2022
·
3 revisions
- Clone the git repository.
- Initialize git submodules.
- Download and configure Visual Studio.
- Open the project with Visual Studio.
- Install TeeChart.
- Install Boost.
- Select configuration and build.
- Create a local directory in your desired location.
- Navigate to the directory in your choice of terminal.
- Execute the command "git clone https://github.com/srlabUsask/crhmcode
- Enter your github credentials.
- Wait for the clone to complete.
- Navigate to the directory with the git repository with a command line git tool.
- Run the command "git submodule init"
- Run the command "git submodule update"
- Confirm that the crhmcode/src/libs/spdlog folder has been populated.
- Download Visual Studio Installer from Microsoft https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16
- Run the downloaded installer.
- Launch Visual Studio installer.
- Under the installed tab click "More" and select "Import configuration".
- Select the file "crhmcode/CRHM_Visual_Studio_Config.vsconfig" from the git repository.
- Import the configuration.
- Launch Visual Studio.
- Select "Open a project or solution."
- Select the file "crhmcode/vcc/CRHM_GUI.sln"
- Download TeeChart from https://www.steema.com/downloads/ax
- Run the installer provided placing the files in a location that you remember.
- Launch Command Prompt.
- Navigate to the TeeChart instalation folder.
- Run the command "regsvr32.exe [PATH TO]\teechart2020.ocx" replacing [PATH TO] with the location you installed TeeChart
- Follow the tutorial here to integrate VCPKG with Visual Studio. https://vcpkg.io/en/getting-started.html
- Launch Command Prompt
- Navigate to the location of vcpkg
- Run the command ".\vcpkg install boost"
- Run the command ".\vcpkg install spdlog"
- Run the command ".\vcpkg integrate install"
- In the toolbar set configuration to Debug|x86
- In the menu select build->build solution
- In the toolbar set configuration to Release|x86
- In the menu select build->build solution