<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi everyone,</p>
<p>I have posted a question already in the Dune support channel, but
maybe here in the mailing list are more python experts:</p>
<p><span class="mx_EventTile_body markdown-body translate">
<p>I am currently trying to run a simple Python example in the
dune-vtk module, i.e. <code>dune/python/test/testvtk.py</code>.
I have built everything without a user specified venv, using
the default that is created in the build directory. To run the
code, I use the script <code>build/run-in-dune-venv.py</code>
in my build directory <code>build/</code>. The problem I have
is: The JIT compilation step uses an incomplete list of
include directories. In particular, the include dirs from
dune-vtk are not there. This can be seen in the <code>compile_commands.json</code>
file, which is located in the dune-py directory in the
dune-common build directory <code>build/dune-venv/.cache/dune-py</code>.</p>
<p>The error I get is "fatal error: dune/python/vtk/writer.hh:
file or directory not found".</p>
<p>Can anyone tell me how this <code>compile_commands.json</code>
file is generated? I am trying to figure out why it does not
include all the include directories of the modules involved.</p>
<p>Best, Simon<br>
</p>
</span></p>
</body>
</html>