Page 1 - Demo
P. 1
Interface to C/C++%uf09f %uf09f RCP Consult 2023-2025 Page 1Interface to C/C++To use the C/C++ interface, you need a 64-bit version of a free programming environment containing the corresponding compiler, either GNU C/C++ or Microsoft Visual Studio C/C++, installed on your PC. Additionally, you need to prepare the runtime environment in order to couple STRUREL with C/C++ tools.1. Microsoft Visual 2015, 2017, 2019 and 2022 Redistributable Package (x64)First, make sure that the Microsoft Visual 2015, 2017, 2019 and 2022 Redistributable Package (x64) is installed on your system. If not, you can download it from: https://docs.microsoft.com/en-GB/cpp/windows/latest-supported-vc-redist?view=msvc-1702. Installation of C/C++ compiler(s)To operate with the C/C++ interface you need to install one compiler from two free distributions supported by STRUREL.GNU C/C++ Compilers (c++ and g++) is a mature free and open source compiler, part of the GNU Compiler Collection. The main information can be found in C and C++ support in GCC.Several sources provide quick and easy way to install c++ and g++ compilers on Windows. We recommend to use 64-bit binary packages from Equation Solution or from WinLibs. Both packages provide an installation of so called Standalone MinGW-w64+GCC build for Windows. Usually, after installation the complete suite has a predefined root folder named mingw64. This name must be registered in the system Path variable.%u2022 Windows 10/11: Open the Start Search, type in %u201cenv%u201d, and choose %u201cEdit the system environment variables%u201d: