Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling error with OpenFOAM 6 #55

Open
croquemadame opened this issue May 21, 2024 · 0 comments
Open

Compiling error with OpenFOAM 6 #55

croquemadame opened this issue May 21, 2024 · 0 comments

Comments

@croquemadame
Copy link

croquemadame commented May 21, 2024

Hello,

I am trying to compile WENOEXT on a docker container where OpenFOAM 6 is installed. I run into the following error.

/home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.C: In function 'Foam::autoPtr<Foam::fvMesh> Foam::reconstructRegionalMesh::reconstruct(const labelList&, const labelList&, const Foam::fvMesh&)':
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.C:102:13: error: no matching function for call to 'Foam::fvMesh::fvMesh(Foam::IOobject, Foam::pointField, Foam::faceList, Foam::labelList, Foam::labelList)'
             )
             ^
In file included from /opt/openfoam6/src/finiteVolume/lnInclude/volMesh.H:42:0,
                 from /opt/openfoam6/src/finiteVolume/lnInclude/volFields.H:38,
                 from /opt/openfoam6/src/dynamicMesh/lnInclude/fvMeshAdderTemplates.C:26,
                 from /opt/openfoam6/src/dynamicMesh/lnInclude/fvMeshAdder.H:168,
                 from /home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.H:43,
                 from /home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.C:30:

Other info

OpenFOAM-6(715) g++ --version
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

OpenFOAM-6(716) cmake --version
cmake version 3.10.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Please see log file attached. Any help is most welcome.

===========================================================================
       ██╗    ██╗███████╗███╗   ██╗ ██████╗     ███████╗██╗  ██╗████████╗  
       ██║    ██║██╔════╝████╗  ██║██╔═══██╗    ██╔════╝╚██╗██╔╝╚══██╔══╝  
       ██║ █╗ ██║█████╗  ██╔██╗ ██║██║   ██║    █████╗   ╚███╔╝    ██║     
       ██║███╗██║██╔══╝  ██║╚██╗██║██║   ██║    ██╔══╝   ██╔██╗    ██║     
       ╚███╔███╔╝███████╗██║ ╚████║╚██████╔╝    ███████╗██╔╝ ██╗   ██║     
        ╚══╝╚══╝ ╚══════╝╚═╝  ╚═══╝ ╚═════╝     ╚══════╝╚═╝  ╚═╝   ╚═╝     
===========================================================================
                                                                           
License                                                                    
   This file is part of WENOExt.                                           
                                                                           
   WENOExt is free software: you can redistribute it and/or modify         
   it under the terms of the GNU General Public License as published by    
   the Free Software Foundation, either version 3 of the License, or       
   (at your option) any later version.                                     
                                                                           
   WENOExt is distributed in the hope that it will be useful, but          
   WITHOUT ANY WARRANTY; without even the implied warranty of              
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                    
   See the GNU General Public License for more details.                    
                                                                           
   You should have received a copy of the GNU General Public License       
   along with  WENOExt.  If not, see <http://www.gnu.org/licenses/>.       
===========================================================================
                                                                           
Build with these options:                                                  
Parallel:        YES                                               
Number of cores: 4                                              
                                                                           
===========================================================================
                        Start CMake Process                                
===========================================================================
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done

-------------------------------------------------------------------
	Generate WENO code rules for OpenFOAM version 6
-------------------------------------------------------------------
OF_VERSION: 6

-------------------------------------------------------------------
	Set blaze cache size
-------------------------------------------------------------------
Cache size is automatically set if not provided by the user with
	cmake ../ -DBLAZE_CACHE_SIZE=<Cache Size>
Automatic Cache Size Configuration
CMake Warning at blaze-3.8/CMakeLists.txt:75 (message):
  Cache size not found automatically.  Using default value as cache size.


Configuring Cache Size : 3145728UL
-------------------------------------------------------------------

-------------------------------------------------------------------
	Build State
-------------------------------------------------------------------
Built state is: unspecified
Building tests
This can be deactivated by using CMAKE_BUILD_TYPE=Release
-------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /home/openfoam/WENOEXT/build
Scanning dependencies of target KDTree
[  1%] Building CXX object tests/src/KDTree/CMakeFiles/KDTree.dir/KDTree.cpp.o
[  2%] Linking CXX static library libKDTree.a
[  2%] Built target KDTree
Scanning dependencies of target vtkWriter
[  3%] Building CXX object tests/src/vtkWriter/CMakeFiles/vtkWriter.dir/vtkWriter.C.o
Scanning dependencies of target Catch2
[  4%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_automake.cpp.o
[  5%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_combined_tu.cpp.o
[  6%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_compact.cpp.o
[  7%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_console.cpp.o
[  8%] Linking CXX static library libvtkWriter.a
[  8%] Built target vtkWriter
[  9%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_cumulative_base.cpp.o
[ 10%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_junit.cpp.o
[ 11%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_multi.cpp.o
[ 12%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_sonarqube.cpp.o
[ 13%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_streaming_base.cpp.o
[ 14%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_tap.cpp.o
[ 15%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_teamcity.cpp.o
[ 16%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_xml.cpp.o
[ 17%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_approx.cpp.o
[ 18%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_assertion_handler.cpp.o
[ 19%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_assertion_result.cpp.o
[ 20%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/matchers/internal/catch_matchers_combined_tu.cpp.o
[ 21%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o
[ 22%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_commandline.cpp.o
[ 23%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_source_line_info.cpp.o
[ 24%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_config.cpp.o
[ 25%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_case_insensitive_comparisons.cpp.o
[ 26%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_console_colour.cpp.o
[ 27%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_context.cpp.o
[ 28%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_debug_console.cpp.o
[ 29%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_debugger.cpp.o
[ 30%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_enforce.cpp.o
[ 31%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_enum_values_registry.cpp.o
[ 32%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_exception_translator_registry.cpp.o
[ 33%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_fatal_condition_handler.cpp.o
[ 34%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_floating_point_helpers.cpp.o
[ 35%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/generators/internal/catch_generators_combined_tu.cpp.o
[ 36%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_combined_tu.cpp.o
[ 37%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter.cpp.o
[ 38%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_list.cpp.o
[ 39%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_floating_point.cpp.o
[ 40%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_string.cpp.o
[ 41%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_templated.cpp.o
[ 42%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_message.cpp.o
[ 43%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_output_redirect.cpp.o
[ 44%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_registry_hub.cpp.o
[ 45%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_combined_tu.cpp.o
[ 46%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_number_generator.cpp.o
[ 47%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_seed_generation.cpp.o
[ 48%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_registry.cpp.o
[ 49%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_result_type.cpp.o
[ 50%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_run_context.cpp.o
[ 51%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_section.cpp.o
[ 52%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_session.cpp.o
[ 53%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_singletons.cpp.o
[ 54%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_stream.cpp.o
[ 55%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_stringref.cpp.o
[ 56%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_string_manip.cpp.o
[ 57%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_tag_alias_registry.cpp.o
[ 58%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_test_case_info.cpp.o
[ 59%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_registry_impl.cpp.o
[ 60%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_tracker.cpp.o
[ 61%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_registry.cpp.o
[ 62%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_textflow.cpp.o
[ 63%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_test_spec.cpp.o
[ 64%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_spec_parser.cpp.o
[ 65%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_timer.cpp.o
[ 66%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_tostring.cpp.o
[ 67%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_totals.cpp.o
[ 68%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/catch_version.cpp.o
[ 69%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_wildcard_pattern.cpp.o
Scanning dependencies of target WENOEXT
[ 70%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_xmlwriter.cpp.o
[ 71%] Building CXX object libWENOEXT/CMakeFiles/WENOEXT.dir/BlazeIO/BlazeIO.C.o
[ 72%] Building CXX object libWENOEXT/CMakeFiles/WENOEXT.dir/WENOBase/geometryWENO/geometryWENO.C.o
[ 73%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/benchmark/internal/catch_benchmark_combined_tu.cpp.o
[ 74%] Building CXX object libWENOEXT/CMakeFiles/WENOEXT.dir/WENOBase/WENOBase.C.o
[ 75%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o
[ 76%] Linking CXX static library libCatch2.a
[ 76%] Built target Catch2
[ 77%] Building CXX object libWENOEXT/CMakeFiles/WENOEXT.dir/WENOBase/globalfvMesh.C.o
Scanning dependencies of target Catch2WithMain
[ 78%] Building CXX object tests/Catch2/src/CMakeFiles/Catch2WithMain.dir/catch2/internal/catch_main.cpp.o
[ 79%] Building CXX object libWENOEXT/CMakeFiles/WENOEXT.dir/WENOBase/matrixDB.C.o
In file included from /home/openfoam/WENOEXT/libWENOEXT/WENOBase/geometryWENO/mathFunctionsWENO.H:40:0,
                 from /home/openfoam/WENOEXT/libWENOEXT/WENOBase/geometryWENO/geometryWENO.C:32:
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/geometryWENO/realEigenValues.H: In member function 'void Foam::mathFunctionsWENO::realEigenValues::hqr()':
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/geometryWENO/realEigenValues.H:338:34: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized]
       if ((s=sign(std::sqrt(p*p+q*q+r*r),p)) != 0.0) 
                                 ~^~
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/geometryWENO/realEigenValues.H:338:38: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
       if ((s=sign(std::sqrt(p*p+q*q+r*r),p)) != 0.0) 
                                     ~^~
[ 80%] Linking CXX static library libCatch2Main.a
[ 80%] Built target Catch2WithMain
[ 81%] Building CXX object libWENOEXT/CMakeFiles/WENOEXT.dir/WENOBase/reconstructRegionalMesh.C.o
[ 82%] Building CXX object libWENOEXT/CMakeFiles/WENOEXT.dir/WENOUpwindFit/makeWENOUpwindFit.C.o
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.C: In function 'Foam::autoPtr<Foam::fvMesh> Foam::reconstructRegionalMesh::reconstruct(const labelList&, const labelList&, const Foam::fvMesh&)':
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.C:102:13: error: no matching function for call to 'Foam::fvMesh::fvMesh(Foam::IOobject, Foam::pointField, Foam::faceList, Foam::labelList, Foam::labelList)'
             )
             ^
In file included from /opt/openfoam6/src/finiteVolume/lnInclude/volMesh.H:42:0,
                 from /opt/openfoam6/src/finiteVolume/lnInclude/volFields.H:38,
                 from /opt/openfoam6/src/dynamicMesh/lnInclude/fvMeshAdderTemplates.C:26,
                 from /opt/openfoam6/src/dynamicMesh/lnInclude/fvMeshAdder.H:168,
                 from /home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.H:43,
                 from /home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.C:30:
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:211:9: note: candidate: Foam::fvMesh::fvMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const Foam::Xfer<Foam::List<Foam::face> >&, const Foam::Xfer<Foam::List<Foam::cell> >&, bool)
         fvMesh
         ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:211:9: note:   no known conversion for argument 2 from 'Foam::pointField {aka Foam::Field<Foam::Vector<double> >}' to 'const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&'
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:199:9: note: candidate: Foam::fvMesh::fvMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const Foam::Xfer<Foam::List<Foam::face> >&, const Foam::Xfer<Foam::List<int> >&, const Foam::Xfer<Foam::List<int> >&, bool)
         fvMesh
         ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:199:9: note:   no known conversion for argument 2 from 'Foam::pointField {aka Foam::Field<Foam::Vector<double> >}' to 'const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&'
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:184:9: note: candidate: Foam::fvMesh::fvMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const cellShapeList&, const faceListList&, const wordList&, const Foam::PtrList<Foam::dictionary>&, const Foam::word&, const Foam::word&, bool)
         fvMesh
         ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:184:9: note:   candidate expects 9 arguments, 5 provided
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:181:18: note: candidate: Foam::fvMesh::fvMesh(const Foam::IOobject&)
         explicit fvMesh(const IOobject& io);
                  ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:181:18: note:   candidate expects 1 argument, 5 provided
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:160:9: note: candidate: Foam::fvMesh::fvMesh(const Foam::fvMesh&)
         fvMesh(const fvMesh&);
         ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:160:9: note:   candidate expects 1 argument, 5 provided
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.C:134:9: error: no matching function for call to 'Foam::fvMesh::fvMesh(Foam::IOobject, std::remove_reference<Foam::Field<Foam::Vector<double> >&>::type, std::remove_reference<Foam::List<Foam::face>&>::type, std::remove_reference<Foam::List<int>&>::type, std::remove_reference<Foam::List<int>&>::type, bool)'
         );
         ^
In file included from /opt/openfoam6/src/finiteVolume/lnInclude/volMesh.H:42:0,
                 from /opt/openfoam6/src/finiteVolume/lnInclude/volFields.H:38,
                 from /opt/openfoam6/src/dynamicMesh/lnInclude/fvMeshAdderTemplates.C:26,
                 from /opt/openfoam6/src/dynamicMesh/lnInclude/fvMeshAdder.H:168,
                 from /home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.H:43,
                 from /home/openfoam/WENOEXT/libWENOEXT/WENOBase/reconstructRegionalMesh.C:30:
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:211:9: note: candidate: Foam::fvMesh::fvMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const Foam::Xfer<Foam::List<Foam::face> >&, const Foam::Xfer<Foam::List<Foam::cell> >&, bool)
         fvMesh
         ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:211:9: note:   candidate expects 5 arguments, 6 provided
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:199:9: note: candidate: Foam::fvMesh::fvMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const Foam::Xfer<Foam::List<Foam::face> >&, const Foam::Xfer<Foam::List<int> >&, const Foam::Xfer<Foam::List<int> >&, bool)
         fvMesh
         ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:199:9: note:   no known conversion for argument 2 from 'std::remove_reference<Foam::Field<Foam::Vector<double> >&>::type {aka Foam::Field<Foam::Vector<double> >}' to 'const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&'
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:184:9: note: candidate: Foam::fvMesh::fvMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const cellShapeList&, const faceListList&, const wordList&, const Foam::PtrList<Foam::dictionary>&, const Foam::word&, const Foam::word&, bool)
         fvMesh
         ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:184:9: note:   candidate expects 9 arguments, 6 provided
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:181:18: note: candidate: Foam::fvMesh::fvMesh(const Foam::IOobject&)
         explicit fvMesh(const IOobject& io);
                  ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:181:18: note:   candidate expects 1 argument, 6 provided
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:160:9: note: candidate: Foam::fvMesh::fvMesh(const Foam::fvMesh&)
         fvMesh(const fvMesh&);
         ^~~~~~
/opt/openfoam6/src/finiteVolume/lnInclude/fvMesh.H:160:9: note:   candidate expects 1 argument, 6 provided
libWENOEXT/CMakeFiles/WENOEXT.dir/build.make:182: recipe for target 'libWENOEXT/CMakeFiles/WENOEXT.dir/WENOBase/reconstructRegionalMesh.C.o' failed
make[2]: *** [libWENOEXT/CMakeFiles/WENOEXT.dir/WENOBase/reconstructRegionalMesh.C.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/matrixDB.C: In member function 'Foam::matrixDB::iterType Foam::matrixDB::similar(const scalarRectangularMatrix&&)':
/home/openfoam/WENOEXT/libWENOEXT/WENOBase/matrixDB.C:120:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (blaze::size(cmpA) == A.size())
             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
CMakeFiles/Makefile2:103: recipe for target 'libWENOEXT/CMakeFiles/WENOEXT.dir/all' failed
make[1]: *** [libWENOEXT/CMakeFiles/WENOEXT.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Edit: pasted contents of log file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant