DiscussionsIssue archivePRODUCTS:Coding

Archived issue #0033020

Adding the QMAKE_CFLAGS_ISYSTEM variable to sample profiles

Open CASCADEPRODUCTS:Codingclosed3 public notes

Search issues

Description

The problem is reproduced when compiling product qt samples
Conditions: default
OS: Ubuntu-20.04
Compiler: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0

/usr/include/c++/10/cmath:45:15: fatal error: math.h: No such file or directory
   45 | #include_next <math.h>
      |               ^~~~~~~~
compilation terminated.
In file included from ../../../../OCCT/inc/Standard_ShortReal.hxx:18,
                 from inc/StdAfx.h:31,
                 from src/ImportExportFileDialog.cpp:16:

Steps to reproduce

Not required

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Commenter 2,

please provide complete description on which platform / compiler / conditions described compilation error happens.
02Commenter 2
03Commenter 1
Commenter 2,

It makes no sense to make references to external services in bug description, especially Jenkins jobs, which will be removed in a day or two.
Please provide self-sufficient description within Mantis issue.