Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gmsh gmsh
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 340
    • Issues 340
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gmshgmsh
  • gmshgmsh
  • Issues
  • #1285
Closed
Open
Issue created Mar 26, 2021 by Francisco Dias@fcdiass

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:

Captura_de_tela_2021-03-25_234948

I do not know how to solve this problem. Can anyone help me?

Assignee
Assign to
Time tracking