CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   compile error: "...does not name a type "? (https://www.cfd-online.com/Forums/openfoam-programming-development/192028-compile-error-does-not-name-type.html)

klausb August 26, 2017 19:39

compile error: "...does not name a type "?
 
I am trying to compile a PCG solver and get errors about "does not name a type"

clFOAM.H:41:19: error: ‘dictionary’ does not name a type
const dictionary& solverControls,
^
clFOAM.H:57:19: error: ‘dictionary’ does not name a type
const dictionary& solverControls,
^
clPCG.C:39:18: error: ‘solverPerformance’ in ‘class Foam::lduMatrix’ does not name a type
Foam::lduMatrix::solverPerformance Foam::clPCG::solve

What does it mean? The code is from an older OF version so maybe that's causing the problem.

Klaus


All times are GMT -4. The time now is 20:03.