Dear Kaiyi,

it looks like you are trying to compile the test from within the source folder. Please follow the installation instructions given on http://www.dumux.org/installation.php

The important point is to run

./dune-common/bin/dunecontrol --opts=dumux/optim.opts all

from your root directory (the folder, where all dune modules including dumux lie).

This creates a folder called build-cmake in your dumux folder. There you will find the tests and you can just
compile your test using

make test_box2p

Best regards
Kilian


On Fri, 3 Nov 2017 13:02:25 +0800
 Kaiyi Zhang <[email protected]> wrote:
To anyone can help

I cant compile the test file 'test_box2p.cc'.
The error information is 'fatal error: config.h: no such file or directory'
How can I fix this?
The attachment is the screenshot.

Thank you very much!

Kaiyi, Zhang

M.S in Geoenergy Engineering
Department of Mining and Minerals Engineering
Virginia Tech
Blacksburg, VA 24061

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to