Compiling C++ tutorials with Microsoft Visual Studio 2017
Hello everyone, I am a fresh new user of Gmsh software.
I am trying to study the Gmsh API with C++ tutorials. I followed all the steps described in the README file, but I could not finish the compiling process.
I downloaded the most recent and stable binary Software Development Kit and opened the Developer Command Prompt for VS 2017 in the root directory of the uncompressed SDK. The first step suggested is to rename the file 'gmsh.h_cwrap' to 'gmsh.h' using the command ren include\\gmsh.h_cwrap gmsh.h
. As a 'gmsh.h' file already exists in the same directory, I needed to delete the original 'gmsh.h' file to pass through the first step. After renaming, I tried the second step, which actually starts the compiling process with the command cl /Iinclude share\doc\gmsh\tutorial\c++\t1.cpp lib\gmsh.lib
. The command prompt presented the following list of errors:
I do not know how to solve this problem. Can anyone help me?