Skip to content

[HDF5Application] HDF5Application compilation in Windows with Master branch #14089

@Rbravo555

Description

@Rbravo555

Description
The compilation of HDF5Application fails when building on Windows 11. The issue appears to be an ambiguous call to DataCommunicator::SumAll and a type conversion error involving std::vector in the HDF5 custom IO files.

Scope

  • Compilation
  • HDF5Application

To Reproduce

  1. First, I succesfully compiled the HDF5 library using the script below. I am using version 1.12.2, (I got the source from https://hdf-wordpress-1.s3.amazonaws.com/wp-content/uploads/manual/HDF5/HDF5_1_12_2/source/hdf5-1.12.2.zip) since it is the one used in for the docker file here https://github.com/KratosMultiphysics/Kratos/blob/master/scripts/docker_files/docker_file_wheelbuilder_windows/Dockerfile#L139-L143
@echo off
SET SOURCE_PATH=D:\hdf5\source\hdf5-1.12.2
SET BUILD_PATH=D:\hdf5\build
SET INSTALL_PATH=D:\hdf5\bin
SET CMAKE_EXE="C:\Program Files\CMake\bin\cmake.exe"

echo Starting HDF5 Configuration...
%CMAKE_EXE% -S %SOURCE_PATH% -B %BUILD_PATH% ^
            -DCMAKE_INSTALL_PREFIX=%INSTALL_PATH% ^
            -DBUILD_TESTING=OFF ^
            -DBUILD_SHARED_LIBS=ON
if %ERRORLEVEL% NEQ 0 (
    echo Configuration failed!
    pause
    exit /b %ERRORLEVEL%
)

echo.
echo Starting HDF5 Build and Install...
%CMAKE_EXE% --build %BUILD_PATH% --target install -- /property:configuration=Release

if %ERRORLEVEL% EQU 0 (
    echo.
    echo ========================================
    echo SUCCESS: HDF5 installed to %INSTALL_PATH%
    echo ========================================
) else (
    echo Build failed!
)

pause
  1. Then, I added the HDF5 path to my Kratos configure script as shown:
@echo off
rem Please do not modify this script

rem For any question please contact with us in:
rem  - https://github.com/KratosMultiphysics/Kratos

rem Optional parameters:
rem You can find a list will all the compiation options in INSTALL.md or here:
rem  - https://github.com/KratosMultiphysics/Kratos/wiki/Compilation-options

rem Set compiler
set CC=cl.exe
set CXX=cl.exe

rem Set variables
if not defined KRATOS_SOURCE set KRATOS_SOURCE=%~dp0..
if not defined KRATOS_BUILD set KRATOS_BUILD=%KRATOS_SOURCE%/build

rem Warning: In windows this option only works if you run through a terminal with admin privileges
rem set KRATOS_INSTALL_PYTHON_USING_LINKS=ON

rem Set basic configuration
if not defined KRATOS_BUILD_TYPE set KRATOS_BUILD_TYPE=Release
if not defined BOOST_ROOT set BOOST_ROOT=D:\Boost
if not defined PYTHON_EXECUTABLE set PYTHON_EXECUTABLE=C:\Program Files\Python310\python.exe



rem Set applications to compile
set KRATOS_APP_DIR=applications
set KRATOS_APPLICATIONS=
CALL :add_app %KRATOS_APP_DIR%\LinearSolversApplication;
CALL :add_app %KRATOS_APP_DIR%\FluidDynamicsApplication;
CALL :add_app %KRATOS_APP_DIR%\RomApplication;
CALL :add_app %KRATOS_APP_DIR%\ConvectionDiffusionApplication;
CALL :add_app %KRATOS_APP_DIR%\HDF5Application;

rem Clean
del /F /Q "%KRATOS_BUILD%\%KRATOS_BUILD_TYPE%\cmake_install.cmake"
del /F /Q "%KRATOS_BUILD%\%KRATOS_BUILD_TYPE%\CMakeCache.txt"
del /F /Q "%KRATOS_BUILD%\%KRATOS_BUILD_TYPE%\CMakeFiles"

rem Enable this if your build is slow and you have a multi-core machine
rem set KRATOS_PARALLEL_BUILD_FLAG=/MP4

rem Configure
@echo on
cmake -G"Visual Studio 16 2019" -H"%KRATOS_SOURCE%" -B"%KRATOS_BUILD%\%KRATOS_BUILD_TYPE%"          ^
-DCMAKE_CXX_FLAGS=" %KRATOS_PARALLEL_BUILD_FLAG% "                                                  ^
-DCMAKE_POLICY_VERSION_MINIMUM=3.5                                                                  ^
-DUSE_EIGEN_MKL=OFF                                                                                 ^
-DHDF5_ROOT="D:\hdf5\bin"                                                                           ^
-DKRATOS_GENERATE_PYTHON_STUBS=ON

rem Build
cmake --build "%KRATOS_BUILD%/%KRATOS_BUILD_TYPE%" --target install -- /property:configuration=%KRATOS_BUILD_TYPE% /p:Platform=x64
goto:eof

rem Function to add apps
:add_app
set KRATOS_APPLICATIONS=%KRATOS_APPLICATIONS%%1;
goto:eof

pause
  1. The build fails during the compilation of KratosHDF5Core with the following log
Windows PowerShell
Copyright (C) Microsoft Corporation. Todos los derechos reservados.

Instale la versión más reciente de PowerShell para obtener nuevas características y mejoras. https://aka.ms/PSWindows

PS D:\Kratos\scripts> .\configure.bat

D:\Kratos\scripts>cmake -G"Visual Studio 16 2019" -H"D:\Kratos\scripts\.." -B"D:\Kratos\scripts\../build\Release"          -DCMAKE_CXX_FLAGS="  "                                                  -DCMAKE_POLICY_VERSION_MINIMUM=3.5                                                                  -DUSE_EIGEN_MKL=OFF                                                                                 -DHDF5_ROOT="D:\hdf5\bin"                                                                           -DKRATOS_GENERATE_PYTHON_STUBS=ON
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.26200.
-- The C compiler identification is MSVC 19.29.30159.0
-- The CXX compiler identification is MSVC 19.29.30159.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No KRATOS_SOURCE_DIR is defined, using: D:/Kratos
-- No KRATOS_BINARY_DIR is defined, using: D:/Kratos/build/Release
-- No KRATOS_INSTALL_PYTHON_USING_LINKS is defined, setting to OFF
-- No CMAKE_INSTALL_MESSAGE is defined. Setting to NEVER
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.52.0.windows.1")
-- CMAKE_SYSTEM_NAME = Windows
-- CMAKE_CXX_COMPILER_ID = MSVC
-- CMAKE_CXX_FLAGS =
-- CMAKE_C_FLAGS = /DWIN32 /D_WINDOWS
-- Detected compiler as MSVC
CMake Deprecation Warning at build/Release/_deps/googletest-src/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Deprecation Warning at build/Release/_deps/googletest-src/googlemock/CMakeLists.txt:39 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Deprecation Warning at build/Release/_deps/googletest-src/googletest/CMakeLists.txt:49 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Found Python: C:/Program Files/Python310/python.exe (found version "3.10.11") found components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
CMake Deprecation Warning at cmake_modules/pybind11Tools.cmake:8 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  CMakeLists.txt:407 (include)


-- Found PythonInterp: C:\Program Files\Python310\python.exe (found suitable version "3.10.11", minimum required is "3.6")
-- Found PythonLibs: C:/Program Files/Python310/libs/python310.lib
-- LTO is Disabled
-- AR VERSION: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/lib.exe
-- Python version used for the interface will be 3.10
-- Standard install dir D:/Kratos/bin/Release
-- "KRATOS_SHARED_MEMORY_PARALLELIZATION" not defined, defaulting to "OpenMP"
-- Found OpenMP_C: -openmp (found version "2.0")
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP: TRUE (found version "2.0")
-- Using OpenMP for shared memory parallelization
-- Found Boost: D:/Boost/lib/cmake/Boost-1.89.0/BoostConfig.cmake (found version "1.89.0")
-- Boost include directory found with find_package
-- Boost library deduced from root directory
-- Boost include directory: D:/Boost/include/boost-1_89
-- Boost library directory: D:\Boost/lib
-- Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
-- Preparing local ZLIB compilation.
CMake Deprecation Warning at external_libraries/zlib/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found

-- CMAKE_BUILD_TYPE ........ Release

-- Found ZLIB by find_package():
-- * Configuring gidpost library
-- Configuring applications (ENV):
        Adding application 'applications\LinearSolversApplication'
**** configuring KratosLinearSolversApplication ****
CMake Deprecation Warning at cmake_modules/pybind11Tools.cmake:8 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  applications/LinearSolversApplication/CMakeLists.txt:28 (include)


        Adding application 'applications\FluidDynamicsApplication'
**** configuring KratosFluidDynamicsApplication ****
        Adding application 'applications\RomApplication'
**** configuring KratosRomApplication ****
CMake Deprecation Warning at cmake_modules/pybind11Tools.cmake:8 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  applications/RomApplication/CMakeLists.txt:6 (include)


        Adding application 'applications\ConvectionDiffusionApplication'
**** configuring KratosConvectionDiffusionApplication ****
        Adding application 'applications\HDF5Application'
**** configuring KratosHDF5Application ****
-- Searching for serial HDF5 libraries.
-- Found HDF5: hdf5-shared (found version "1.12.2") found components: C
-- Using serial HDF5 libraries.

***********************************************************************

        LIST OF APPLICATIONS THAT ARE GOING TO BE COMPILED:

        LinearSolversApplication
        FluidDynamicsApplication
        RomApplication
        ConvectionDiffusionApplication
        HDF5Application

        APPLICATIONS ADDED TO COMPILATION THROUGH DEPENDENCIES:


***********************************************************************


List of upcoming API-breaking and behavior changes:
         Behavior change of Testing. Please ensure you use KRATOS_EXPECT for testing instead of KRATOS_CHECK
         Removal of misused EXTENDED_GAUSS integration rules and unification across geometries: https://github.com/KratosMultiphysics/Kratos/pull/13444
-- clipper : D:/Kratos/external_libraries/clipper
-- tinyexpr : D:/Kratos/external_libraries/tinyexpr/tinyexpr/
-- Configuring done (15.1s)
CMake Error in applications/HDF5Application/CMakeLists.txt:
  IMPORTED_IMPLIB not set for imported target "hdf5-shared" configuration
  "FullDebug".


CMake Error in applications/HDF5Application/CMakeLists.txt:
  IMPORTED_IMPLIB not set for imported target "hdf5-shared" configuration
  "FullDebug".


CMake Error in applications/HDF5Application/CMakeLists.txt:
  IMPORTED_LOCATION or IMPORTED_IMPLIB not set for imported target
  "hdf5-shared" configuration "FullDebug".


CMake Error in applications/HDF5Application/CMakeLists.txt:
  IMPORTED_IMPLIB not set for imported target "hdf5-shared" configuration
  "FullDebug".


-- Generating done (0.5s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

D:\Kratos\scripts>rem Build

D:\Kratos\scripts>cmake --build "D:\Kratos\scripts\../build/Release" --target install -- /property:configuration=Release /p:Platform=x64
Microsoft (R) Build Engine versión 16.11.6+a918ceb31 para .NET Framework
Copyright (C) Microsoft Corporation. Todos los derechos reservados.

  KratosVersion.vcxproj -> D:\Kratos\build\Release\kratos\KratosVersion.dir\Release\KratosVersion.lib
  clipper.vcxproj -> D:\Kratos\build\Release\external_libraries\clipper\Release\clipper.lib
  zlib.vcxproj -> D:\Kratos\build\Release\external_libraries\zlib\Release\zlib.dll
  gidpost.vcxproj -> D:\Kratos\build\Release\external_libraries\gidpost\source\Release\gidpost.lib
  tinyexpr.vcxproj -> D:\Kratos\build\Release\external_libraries\tinyexpr\Release\tinyexpr.lib
  KratosCore.vcxproj -> D:\Kratos\build\Release\kratos\Release\KratosCore.dll
  Kratos.vcxproj -> D:\Kratos\build\Release\kratos\Release\Kratos.cp310-win_amd64.pyd
  KratosConvectionDiffusionCore.vcxproj -> D:\Kratos\build\Release\applications\ConvectionDiffusionApplication\Release\KratosConvectionDiffusionCore.dll
  KratosConvectionDiffusionApplication.vcxproj -> D:\Kratos\build\Release\applications\ConvectionDiffusionApplication\Release\KratosConvectionDiffusionApplication.pyd
  KratosFluidDynamicsCore.vcxproj -> D:\Kratos\build\Release\applications\FluidDynamicsApplication\Release\KratosFluidDynamicsCore.dll
  KratosFluidDynamicsApplication.vcxproj -> D:\Kratos\build\Release\applications\FluidDynamicsApplication\Release\KratosFluidDynamicsApplication.pyd
  hdf5_connectivities_data.cpp
D:\Kratos\applications\HDF5Application\custom_io\hdf5_connectivities_data.cpp(112,1): error C2668: 'Kratos::DataCommunicator::SumAll': llamada ambigua a una función sobrecargada [D:\Kratos\build\Release\appli
cations\HDF5Application\KratosHDF5Core.vcxproj]
D:\Kratos\kratos\includes/data_communicator.h(394,5): message : puede ser 'double Kratos::DataCommunicator::SumAll(const double &) const' [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.v
cxproj]
D:\Kratos\kratos\includes/data_communicator.h(393,5): message : o       'unsigned long Kratos::DataCommunicator::SumAll(const unsigned long &) const' [D:\Kratos\build\Release\applications\HDF5Application\Krat
osHDF5Core.vcxproj]
D:\Kratos\kratos\includes/data_communicator.h(392,5): message : o       'unsigned int Kratos::DataCommunicator::SumAll(const unsigned int &) const' [D:\Kratos\build\Release\applications\HDF5Application\Kratos
HDF5Core.vcxproj]
D:\Kratos\kratos\includes/data_communicator.h(391,5): message : o       'int Kratos::DataCommunicator::SumAll(const int &) const' [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj]
D:\Kratos\kratos\includes/data_communicator.h(390,5): message : o       'char Kratos::DataCommunicator::SumAll(const char &) const' [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj
]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_connectivities_data.cpp(112,1): message : al hacer coincidir la lista de argumentos '(unsigned __int64)' [D:\Kratos\build\Release\applications\HDF5Applica
tion\KratosHDF5Core.vcxproj]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_connectivities_data.cpp(109): message : al compilar la función del miembro clase plantilla "void Kratos::HDF5::Internals::ConnectivitiesData<Kratos::Model
Part::ConditionsContainerType>::Write(const TContainerType &,const bool)" [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj]
          with
          [
              TContainerType=Kratos::ModelPart::ConditionsContainerType
          ]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_connectivities_data.cpp(210): message : Vea la referencia a la creación de una instancia de clase plantilla "Kratos::HDF5::Internals::ConnectivitiesData<K
ratos::ModelPart::ConditionsContainerType>" que se está compilando [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj]
  hdf5_container_component_io.cpp
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(267,88): error C2664: 'char Kratos::DataCommunicator::SumAll(const char &) const': el argumento 1 no puede convertirse de 'std:
:vector<Kratos::VariablesList::IndexType,std::allocator<T>>' a 'const char &' [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj]
          with
          [
              T=size_t
          ]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(235,1): message : Razón: no se puede realizar la conversión de 'std::vector<Kratos::VariablesList::IndexType,std::allocator<T>>
' a 'const char' [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj]
          with
          [
              T=size_t
          ]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(267,118): message : No hay disponible ningún operador de conversión definido por el usuario que pueda realizar esta conversión,
 o bien no se puede llamar al operador [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj]
D:\Kratos\kratos\includes/data_communicator.h(390,5): message : vea la declaración de 'Kratos::DataCommunicator::SumAll' [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(194): message : Vea la referencia a la creación de una instancia de la función plantilla "bool Kratos::HDF5::ContainerComponent
IO<Kratos::ModelPart::PropertiesContainerType,Kratos::HDF5::Internals::NonHistoricalIO,Kratos::Variable<int>,Kratos::Variable<double>,Kratos::Variable<Kratos::array_1d<double,3>>,Kratos::Variable<Kratos::arra
y_1d<double,4>>,Kratos::Variable<Kratos::array_1d<double,6>>,Kratos::Variable<Kratos::array_1d<double,9>>,Kratos::Variable<Kratos::Vector>,Kratos::Variable<Kratos::Matrix>>::WriteComponents<Kratos::Variable<i
nt>>(const std::string &,const TContainerDataIO &,const TContainerType &,Kratos::Parameters,Kratos::HDF5::WriteInfo &)" que se está compilando [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5C
ore.vcxproj]
          with
          [
              TContainerDataIO=Kratos::HDF5::Internals::NonHistoricalIO,
              TContainerType=Kratos::ModelPart::PropertiesContainerType
          ]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(184): message : Vea la referencia a la creación de una instancia de la función plantilla "bool Kratos::HDF5::ContainerComponent
IO<Kratos::ModelPart::PropertiesContainerType,Kratos::HDF5::Internals::NonHistoricalIO,Kratos::Variable<int>,Kratos::Variable<double>,Kratos::Variable<Kratos::array_1d<double,3>>,Kratos::Variable<Kratos::arra
y_1d<double,4>>,Kratos::Variable<Kratos::array_1d<double,6>>,Kratos::Variable<Kratos::array_1d<double,9>>,Kratos::Variable<Kratos::Vector>,Kratos::Variable<Kratos::Matrix>>::WriteComponents<Kratos::Variable<i
nt>>(const std::string &,const TContainerDataIO &,const TContainerType &,Kratos::Parameters,Kratos::HDF5::WriteInfo &)" que se está compilando [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5C
ore.vcxproj]
          with
          [
              TContainerDataIO=Kratos::HDF5::Internals::NonHistoricalIO,
              TContainerType=Kratos::ModelPart::PropertiesContainerType
          ]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(173): message : al compilar la función del miembro clase plantilla "void Kratos::HDF5::ContainerComponentIO<Kratos::ModelPart::
PropertiesContainerType,Kratos::HDF5::Internals::NonHistoricalIO,Kratos::Variable<int>,Kratos::Variable<double>,Kratos::Variable<Kratos::array_1d<double,3>>,Kratos::Variable<Kratos::array_1d<double,4>>,Kratos
::Variable<Kratos::array_1d<double,6>>,Kratos::Variable<Kratos::array_1d<double,9>>,Kratos::Variable<Kratos::Vector>,Kratos::Variable<Kratos::Matrix>>::Write(const TContainerType &,const TContainerIO &,const
Kratos::Parameters)" [D:\Kratos\build\Release\applications\HDF5Application\KratosHDF5Core.vcxproj]
          with
          [
              TContainerType=Kratos::ModelPart::PropertiesContainerType,
              TContainerIO=Kratos::HDF5::Internals::NonHistoricalIO
          ]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(487): message : Vea la referencia a la creación de una instancia de clase plantilla "Kratos::HDF5::ContainerComponentIO<Kratos:
:ModelPart::PropertiesContainerType,Kratos::HDF5::Internals::NonHistoricalIO,Kratos::Variable<int>,Kratos::Variable<double>,Kratos::Variable<Kratos::array_1d<double,3>>,Kratos::Variable<Kratos::array_1d<doubl
e,4>>,Kratos::Variable<Kratos::array_1d<double,6>>,Kratos::Variable<Kratos::array_1d<double,9>>,Kratos::Variable<Kratos::Vector>,Kratos::Variable<Kratos::Matrix>>" que se está compilando [D:\Kratos\build\Rele
ase\applications\HDF5Application\KratosHDF5Core.vcxproj]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(267,57): error C2530: 'availability_global_counts_pair': se deben inicializar las referencias [D:\Kratos\build\Release\applicat
ions\HDF5Application\KratosHDF5Core.vcxproj]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(235,1): error C3536: 'availability_global_counts_pair': no se puede usar antes de inicializarse [D:\Kratos\build\Release\applic
ations\HDF5Application\KratosHDF5Core.vcxproj]
D:\Kratos\applications\HDF5Application\custom_io\hdf5_container_component_io.cpp(235,1): error C2109: el subíndice requiere una matriz o tipo de puntero [D:\Kratos\build\Release\applications\HDF5Application\K
ratosHDF5Core.vcxproj]
  Generando código...
  KratosLinearSolversCore.vcxproj -> D:\Kratos\build\Release\applications\LinearSolversApplication\Release\KratosLinearSolversCore.pyd
  KratosLinearSolversApplication.vcxproj -> D:\Kratos\build\Release\applications\LinearSolversApplication\Release\KratosLinearSolversApplication.pyd
  KratosRomCore.vcxproj -> D:\Kratos\build\Release\applications\RomApplication\Release\KratosRomCore.dll
  KratosRomApplication.vcxproj -> D:\Kratos\build\Release\applications\RomApplication\Release\KratosRomApplication.pyd

D:\Kratos\scripts>goto:eof

Environment

  • HDF5 Version: 1.12.2
  • Branch: master
  • Python 3.10.11
  • OS: Windows 11 Pro (10.0.26200) 64-bit
  • CPU: AMD Ryzen 9 8945HS
  • Visual Studio 2019

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions