hdf5 icon indicating copy to clipboard operation
hdf5 copied to clipboard

Windows 11 + VS 2022 + Git clone + CMake build fails

Open hyoklee opened this issue 1 year ago • 10 comments

Describe the bug

On a brand new Windows 11 machine, Visual Studio 2022 fails to build from GitHub repository.

  [232/2671] Building C object src\CMakeFiles\H5make_libsettings.dir\H5make_libsettings.c.obj
  FAILED: src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.obj 
  C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe  /nologo -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -D_CONSOLE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\src -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5FDsubfiling -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\out\build\x64-Debug\src /DWIN32 /D_WINDOWS -wd5105 /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /Fosrc\CMakeFiles\H5make_libsettings.dir\H5make_libsettings.c.obj /Fdsrc\CMakeFiles\H5make_libsettings.dir\ /FS -c C:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5make_libsettings.c
C:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5public.h(31): fatal error C1083: Cannot open include file: 'H5version.h': No such file or directory
  [233/2671] Building C object src\CMakeFiles\H5detect.dir\H5detect.c.obj
  FAILED: src/CMakeFiles/H5detect.dir/H5detect.c.obj 
  C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe  /nologo -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -D_CONSOLE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\src -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5FDsubfiling -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\out\build\x64-Debug\src /DWIN32 /D_WINDOWS -wd5105 /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /Fosrc\CMakeFiles\H5detect.dir\H5detect.c.obj /Fdsrc\CMakeFiles\H5detect.dir\ /FS -c C:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5detect.c
C:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5public.h(31): fatal error C1083: Cannot open include file: 'H5version.h': No such file or directory

Expected behavior

It should build.

Platform (please complete the following information)

  • HDF5 version: develop 07c4360b4d4f8459571815d624522eb7e01b02f6
  • OS and version: Windows 11
  • Compiler and version: VS 2022
  • Build system (e.g. CMake, Autotools) and version: CMake provided by VS2022
  • Any configure options you specified: whatever VS 2022 tries automatically.
  • MPI library and version (parallel HDF5): n/a

Additional context This is a typical novice user build experience.

hyoklee avatar Apr 21 '23 13:04 hyoklee

develop does not have the generated header files checked in - option (HDF5_GENERATE_HEADERS "Rebuild Generated Files" ON) requires perl. In configure did you see: message (WARNING "Cannot generate headers - perl not found")

byrnHDF avatar Apr 21 '23 16:04 byrnHDF

No. That's why I'm reporting this issue. There are only two FAILED messages in the Output window at the bottom of VS2022.

The below is the complete output in case you want to examine it.

>------ Build All started: Project: hdf5, Configuration: x64-Debug ------
  [1/2426] Generating testfiles/tgrpnullspace.ls
  [2/2426] Generating testfiles/thlink-1.ls
  [3/2426] Generating testfiles/thlink.h5
  [4/2426] Generating testfiles/thlinks-nodangle-1.ls
  [5/2426] Generating testfiles/tloop-1.ls
  [6/2426] Generating testfiles/tloop.h5
  [7/2426] Generating testfiles/tmultifile.ls
  [8/2426] Generating testfiles/tnestcomp-1.ls
  [9/2426] Generating testfiles/tnestcomp-2.ls
  [10/2426] Generating testfiles/tnestcomp-3.ls
  [11/2426] Generating testfiles/tnestcomp-4.ls
  [12/2426] Generating testfiles/tnestedcomp.h5
  [13/2426] Generating testfiles/tsaf.h5
  [14/2426] Generating testfiles/tsaf.ls
  [15/2426] Generating testfiles/tslink-1.ls
  [16/2426] Generating testfiles/tslink.h5
  [17/2426] Generating testfiles/tsoftlinks-1.ls
  [18/2426] Generating testfiles/tsoftlinks-2.ls
  [19/2426] Generating testfiles/tsoftlinks-3.ls
  [20/2426] Generating testfiles/tsoftlinks-4.ls
  [21/2426] Generating testfiles/tsoftlinks-5.ls
  [22/2426] Generating testfiles/tsoftlinks-nodangle-1.ls
  [23/2426] Generating testfiles/tsoftlinks.h5
  [24/2426] Generating testfiles/tstr-1.ls
  [25/2426] Generating testfiles/tstr.h5
  [26/2426] Generating testfiles/tudfilter.h5
  [27/2426] Generating testfiles/tudfilter.ls
  [28/2426] Generating testfiles/tudlink-1.ls
  [29/2426] Generating testfiles/tudlink.h5
  [30/2426] Generating testfiles/tvldtypes1.h5
  [31/2426] Generating testfiles/tvldtypes1.ls
  [32/2426] Generating testfiles/tvldtypes2be.ls
  [33/2426] Generating testfiles/tvldtypes2le.ls
  [34/2426] Generating testfiles/vds/1_a.h5
  [35/2426] Generating testfiles/vds/1_b.h5
  [36/2426] Generating testfiles/vds/1_c.h5
  [37/2426] Generating testfiles/vds/1_d.h5
  [38/2426] Generating testfiles/vds/1_e.h5
  [39/2426] Generating testfiles/vds/1_f.h5
  [40/2426] Generating testfiles/vds/1_vds.h5
  [41/2426] Generating testfiles/vds/2_a.h5
  [42/2426] Generating testfiles/vds/2_b.h5
  [43/2426] Generating testfiles/vds/2_c.h5
  [44/2426] Generating testfiles/vds/2_d.h5
  [45/2426] Generating testfiles/vds/2_e.h5
  [46/2426] Generating testfiles/vds/2_vds.h5
  [47/2426] Generating testfiles/vds/3_1_vds.h5
  [48/2426] Generating testfiles/vds/3_2_vds.h5
  [49/2426] Generating testfiles/vds/4_0.h5
  [50/2426] Generating testfiles/vds/4_1.h5
  [51/2426] Generating testfiles/vds/4_2.h5
  [52/2426] Generating testfiles/vds/4_vds.h5
  [53/2426] Generating testfiles/vds/5_a.h5
  [54/2426] Generating testfiles/vds/5_b.h5
  [55/2426] Generating testfiles/vds/5_c.h5
  [56/2426] Generating testfiles/vds/5_vds.h5
  [57/2426] Generating testfiles/vds/prefix/1_a.h5
  [58/2426] Generating testfiles/vds/prefix/1_b.h5
  [59/2426] Generating testfiles/vds/prefix/1_c.h5
  [60/2426] Generating testfiles/vds/prefix/1_d.h5
  [61/2426] Generating testfiles/vds/prefix/1_e.h5
  [62/2426] Generating testfiles/vds/prefix/1_f.h5
  [63/2426] Generating testfiles/vds/prefix/1_vds.h5
  [64/2426] Generating testfiles/vds/prefix/2_a.h5
  [65/2426] Generating testfiles/vds/prefix/2_b.h5
  [66/2426] Generating testfiles/vds/prefix/2_c.h5
  [67/2426] Generating testfiles/vds/prefix/2_d.h5
  [68/2426] Generating testfiles/vds/prefix/2_e.h5
  [69/2426] Generating testfiles/vds/prefix/2_vds.h5
  [70/2426] Generating testfiles/vds/prefix/3_1_vds.h5
  [71/2426] Generating testfiles/vds/prefix/3_2_vds.h5
  [72/2426] Generating testfiles/vds/prefix/4_0.h5
  [73/2426] Generating testfiles/vds/prefix/4_1.h5
  [74/2426] Generating testfiles/vds/prefix/4_2.h5
  [75/2426] Generating testfiles/vds/prefix/4_vds.h5
  [76/2426] Generating testfiles/vds/prefix/5_a.h5
  [77/2426] Generating testfiles/vds/prefix/5_b.h5
  [78/2426] Generating testfiles/vds/prefix/5_c.h5
  [79/2426] Generating testfiles/vds/prefix/5_vds.h5
  [80/2426] Generating testfiles/vds/prefix/tvds-1.ls
  [81/2426] Generating testfiles/vds/prefix/tvds-2.ls
  [82/2426] Generating testfiles/vds/prefix/tvds-3_1.ls
  [83/2426] Generating testfiles/vds/prefix/tvds-3_2.ls
  [84/2426] Generating testfiles/vds/prefix/tvds-4.ls
  [85/2426] Generating testfiles/vds/prefix/tvds-5.ls
  [86/2426] Generating testfiles/vds/tvds-1.ls
  [87/2426] Generating testfiles/vds/tvds-2.ls
  [88/2426] Generating testfiles/vds/tvds-3_1.ls
  [89/2426] Generating testfiles/vds/tvds-3_2.ls
  [90/2426] Generating testfiles/vds/tvds-4.ls
  [91/2426] Generating testfiles/vds/tvds-5.ls
  [92/2426] Generating family_file00000.h5
  [93/2426] Generating family_file00001.h5
  [94/2426] Generating family_file00002.h5
  [95/2426] Generating family_file00003.h5
  [96/2426] Generating family_file00004.h5
  [97/2426] Generating family_file00005.h5
  [98/2426] Generating family_file00006.h5
  [99/2426] Generating family_file00007.h5
  [100/2426] Generating family_file00008.h5
  [101/2426] Generating family_file00009.h5
  [102/2426] Generating family_file00010.h5
  [103/2426] Generating family_file00011.h5
  [104/2426] Generating family_file00012.h5
  [105/2426] Generating family_file00013.h5
  [106/2426] Generating family_file00014.h5
  [107/2426] Generating family_file00015.h5
  [108/2426] Generating family_file00016.h5
  [109/2426] Generating family_file00017.h5
  [110/2426] Generating testfiles/h5clear_equal_after_size.ddl
  [111/2426] Generating testfiles/h5clear_equal_before_size.ddl
  [112/2426] Generating testfiles/h5clear_fsm_persist_equal.h5
  [113/2426] Generating testfiles/h5clear_fsm_persist_greater.h5
  [114/2426] Generating testfiles/h5clear_fsm_persist_less.h5
  [115/2426] Generating testfiles/h5clear_fsm_persist_noclose.h5
  [116/2426] Generating testfiles/h5clear_fsm_persist_user_equal.h5
  [117/2426] Generating testfiles/h5clear_fsm_persist_user_greater.h5
  [118/2426] Generating testfiles/h5clear_fsm_persist_user_less.h5
  [119/2426] Generating testfiles/h5clear_greater_after_size.ddl
  [120/2426] Generating testfiles/h5clear_greater_before_size.ddl
  [121/2426] Generating testfiles/h5clear_less_after_size.ddl
  [122/2426] Generating testfiles/h5clear_less_before_size.ddl
  [123/2426] Generating testfiles/h5clear_log_v3.h5
  [124/2426] Generating testfiles/h5clear_mdc_image.h5
  [125/2426] Generating testfiles/h5clear_missing_file.ddl
  [126/2426] Generating testfiles/h5clear_no_mdc_image.err
  [127/2426] Generating testfiles/h5clear_noclose_after_size.ddl
  [128/2426] Generating testfiles/h5clear_noclose_before_size.ddl
  [129/2426] Generating testfiles/h5clear_open_fail.err
  [130/2426] Generating testfiles/h5clear_sec2_v0.h5
  [131/2426] Generating testfiles/h5clear_sec2_v2.h5
  [132/2426] Generating testfiles/h5clear_sec2_v3.h5
  [133/2426] Generating testfiles/h5clear_status_noclose.h5
  [134/2426] Generating testfiles/h5clear_status_noclose_after_size.ddl
  [135/2426] Generating testfiles/h5clear_usage.ddl
  [136/2426] Generating testfiles/h5clear_user_equal_after_size.ddl
  [137/2426] Generating testfiles/h5clear_user_equal_before_size.ddl
  [138/2426] Generating testfiles/h5clear_user_greater_after_size.ddl
  [139/2426] Generating testfiles/h5clear_user_greater_before_size.ddl
  [140/2426] Generating testfiles/h5clear_user_less_after_size.ddl
  [141/2426] Generating testfiles/h5clear_user_less_before_size.ddl
  [142/2426] Generating testfiles/latest_h5clear_log_v3.h5
  [143/2426] Generating testfiles/latest_h5clear_sec2_v3.h5
  [144/2426] Generating testfiles/mod_h5clear_mdc_image.h5
  [145/2426] Generating testfiles/mod_h5clear_mdc_image2.h5
  [146/2426] Generating testfiles/orig_h5clear_sec2_v0.h5
  [147/2426] Generating testfiles/orig_h5clear_sec2_v2.h5
  [148/2426] Generating testfiles/orig_h5clear_sec2_v3.h5
  [149/2426] Generating testfiles/h5mkgrp_help.txt
  [150/2426] Generating testfiles/h5mkgrp_nested_lp.ls
  [151/2426] Generating testfiles/h5mkgrp_nested_mult_lp.ls
  [152/2426] Generating testfiles/h5mkgrp_nested_mult_p.ls
  [153/2426] Generating testfiles/h5mkgrp_nested_p.ls
  [154/2426] Generating testfiles/h5mkgrp_several.ls
  [155/2426] Generating testfiles/h5mkgrp_several_l.ls
  [156/2426] Generating testfiles/h5mkgrp_several_p.ls
  [157/2426] Generating testfiles/h5mkgrp_several_v.ls
  [158/2426] Generating testfiles/h5mkgrp_single.ls
  [159/2426] Generating testfiles/h5mkgrp_single_l.ls
  [160/2426] Generating testfiles/h5mkgrp_single_p.ls
  [161/2426] Generating testfiles/h5mkgrp_single_v.ls
  [162/2426] Generating testfiles/binfp64.h5
  [163/2426] Generating testfiles/binin16.h5
  [164/2426] Generating testfiles/binin32.h5
  [165/2426] Generating testfiles/binin8.h5
  [166/2426] Generating testfiles/binin8w.h5
  [167/2426] Generating testfiles/binuin16.h5
  [168/2426] Generating testfiles/binuin32.h5
  [169/2426] Generating testfiles/dbinfp64.h5.txt
  [170/2426] Generating testfiles/dbinin16.h5.txt
  [171/2426] Generating testfiles/dbinin32.h5.txt
  [172/2426] Generating testfiles/dbinin8.h5.txt
  [173/2426] Generating testfiles/dbinin8w.h5.txt
  [174/2426] Generating testfiles/dbinuin16.h5.txt
  [175/2426] Generating testfiles/dbinuin32.h5.txt
  [176/2426] Generating testfiles/dtxtstr.h5.txt
  [177/2426] Generating testfiles/tall.h5
  [178/2426] Generating testfiles/tall_fp32.ddl
  [179/2426] Generating testfiles/tall_i32.ddl
  [180/2426] Generating testfiles/textpfe.conf
  [181/2426] Generating testfiles/textpfe.h5
  [182/2426] Generating testfiles/textpfe64.txt
  [183/2426] Generating testfiles/tintsattrs.h5
  [184/2426] Generating testfiles/tintsattrs_u32.ddl
  [185/2426] Generating testfiles/txtfp32.conf
  [186/2426] Generating testfiles/txtfp32.h5
  [187/2426] Generating testfiles/txtfp32.txt
  [188/2426] Generating testfiles/txtfp64.conf
  [189/2426] Generating testfiles/txtfp64.h5
  [190/2426] Generating testfiles/txtfp64.txt
  [191/2426] Generating testfiles/txtin16.conf
  [192/2426] Generating testfiles/txtin16.h5
  [193/2426] Generating testfiles/txtin16.txt
  [194/2426] Generating testfiles/txtin32.conf
  [195/2426] Generating testfiles/txtin32.h5
  [196/2426] Generating testfiles/txtin32.txt
  [197/2426] Generating testfiles/txtin8.conf
  [198/2426] Generating testfiles/txtin8.h5
  [199/2426] Generating testfiles/txtin8.txt
  [200/2426] Generating testfiles/txtstr.conf
  [201/2426] Generating testfiles/txtstr.h5
  [202/2426] Generating testfiles/txtstr.txt
  [203/2426] Generating testfiles/txtuin16.conf
  [204/2426] Generating testfiles/txtuin16.h5
  [205/2426] Generating testfiles/txtuin16.txt
  [206/2426] Generating testfiles/txtuin32.conf
  [207/2426] Generating testfiles/txtuin32.h5
  [208/2426] Generating testfiles/txtuin32.txt
  [209/2426] Generating testfiles/1_a.h5
  [210/2426] Generating testfiles/1_b.h5
  [211/2426] Generating testfiles/1_c.h5
  [212/2426] Generating testfiles/1_d.h5
  [213/2426] Generating testfiles/1_e.h5
  [214/2426] Generating testfiles/1_f.h5
  [215/2426] Generating testfiles/1_vds.h5
  [216/2426] Generating testfiles/1_vds.h5-vds_dset_chunk20x10x5-v.ddl
  [217/2426] Generating testfiles/2_a.h5
  [218/2426] Generating testfiles/2_b.h5
  [219/2426] Generating testfiles/2_c.h5
  [220/2426] Generating testfiles/2_d.h5
  [221/2426] Generating testfiles/2_e.h5
  [222/2426] Generating testfiles/2_vds.h5
  [223/2426] Generating testfiles/2_vds.h5-vds_chunk3x6x9-v.ddl
  [224/2426] Generating testfiles/3_1_vds.h5
  [225/2426] Generating testfiles/3_1_vds.h5-vds_chunk2x5x8-v.ddl
  [226/2426] Generating testfiles/3_2_vds.h5
  [227/2426] Generating testfiles/4_0.h5
  [228/2426] Generating testfiles/4_1.h5
  [229/2426] Generating testfiles/4_2.h5
  [230/2426] Generating testfiles/4_vds.h5
  [231/2426] Generating testfiles/4_vds.h5-vds_compa-v.ddl
  [232/2426] Generating testfiles/4_vds.h5-vds_conti-v.ddl
  [233/2426] Generating testfiles/5_a.h5
  [234/2426] Generating testfiles/5_b.h5
  [235/2426] Generating testfiles/5_c.h5
  [236/2426] Generating testfiles/5_vds.h5
  [237/2426] Generating testfiles/GS.h5repack_paged_nopersist.h5.ddl
  [238/2426] Generating testfiles/S.h5repack_fsm_aggr_persist.h5.ddl
  [239/2426] Generating testfiles/SP.h5repack_fsm_aggr_nopersist.h5.ddl
  [240/2426] Generating testfiles/SP.h5repack_paged_persist.h5.ddl
  [241/2426] Generating testfiles/SPT.h5repack_aggr.h5.ddl
  [242/2426] Generating testfiles/STG.h5repack_none.h5.ddl
  [243/2426] Generating testfiles/attrregion.tattrreg.h5.ddl
  [244/2426] Generating testfiles/bounds_latest_latest.h5
  [245/2426] Generating testfiles/crtorder.tordergr.h5.ddl
  [246/2426] Generating testfiles/dataregion.tdatareg.h5.ddl
  [247/2426] Generating testfiles/deflate_limit.h5repack_layout.h5.ddl
  [248/2426] Generating testfiles/h5copy_extlinks_src-base.h5copy_extlinks_src.h5.ddl
  [249/2426] Generating testfiles/h5copy_extlinks_src-merge.h5copy_extlinks_src.h5.tst
  [250/2426] Generating testfiles/h5copy_extlinks_src-mergeprune.h5copy_extlinks_src.h5.ddl
  [251/2426] Generating testfiles/h5copy_extlinks_src-prune.h5copy_extlinks_src.h5.ddl
  [252/2426] Generating testfiles/h5copy_extlinks_src.h5
  [253/2426] Generating testfiles/h5copy_extlinks_trg.h5
  [254/2426] Generating testfiles/h5diff_attr1.h5
  [255/2426] Generating testfiles/h5repack-help.txt
  [256/2426] Generating testfiles/h5repack.info
  [257/2426] Generating testfiles/h5repack_CVE-2018-14460.h5
  [258/2426] Generating testfiles/h5repack_CVE-2018-17432.h5
  [259/2426] Generating testfiles/h5repack_aggr.h5
  [260/2426] Generating testfiles/h5repack_attr.h5
  [261/2426] Generating testfiles/h5repack_attr_refs.h5
  [262/2426] Generating testfiles/h5repack_deflate.h5
  [263/2426] Generating testfiles/h5repack_early.h5
  [264/2426] Generating testfiles/h5repack_ext.bin
  [265/2426] Generating testfiles/h5repack_ext.h5
  [266/2426] Generating testfiles/h5repack_f32le.h5
  [267/2426] Generating testfiles/h5repack_f32le_ex-0.dat
  [268/2426] Generating testfiles/h5repack_f32le_ex.h5
  [269/2426] Generating testfiles/h5repack_fill.h5
  [270/2426] Generating testfiles/h5repack_filters.h5
  [271/2426] Generating testfiles/h5repack_filters.h5-gzip_verbose_filters.tst
  [272/2426] Generating testfiles/h5repack_fletcher.h5
  [273/2426] Generating testfiles/h5repack_fsm_aggr_nopersist.h5
  [274/2426] Generating testfiles/h5repack_fsm_aggr_persist.h5
  [275/2426] Building C object src\CMakeFiles\H5detect.dir\H5detect.c.obj
  FAILED: src/CMakeFiles/H5detect.dir/H5detect.c.obj 
  C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe  /nologo -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -D_CONSOLE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\src -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5FDsubfiling -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\out\build\x64-Debug\src /DWIN32 /D_WINDOWS -wd5105 /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /Fosrc\CMakeFiles\H5detect.dir\H5detect.c.obj /Fdsrc\CMakeFiles\H5detect.dir\ /FS -c C:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5detect.c
C:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5public.h(31): fatal error C1083: Cannot open include file: 'H5version.h': No such file or directory
  [276/2426] Building C object src\CMakeFiles\H5make_libsettings.dir\H5make_libsettings.c.obj
  FAILED: src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.obj 
  C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe  /nologo -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -D_CONSOLE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\src -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5FDsubfiling -IC:\Users\JoeLee\source\repos\hdf5.HDFGroup\out\build\x64-Debug\src /DWIN32 /D_WINDOWS -wd5105 /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /Fosrc\CMakeFiles\H5make_libsettings.dir\H5make_libsettings.c.obj /Fdsrc\CMakeFiles\H5make_libsettings.dir\ /FS -c C:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5make_libsettings.c
C:\Users\JoeLee\source\repos\hdf5.HDFGroup\src\H5public.h(31): fatal error C1083: Cannot open include file: 'H5version.h': No such file or directory
  [277/2426] Generating testfiles/h5repack_hlink.h5
  [278/2426] Generating testfiles/h5repack_int32le_1d.h5
  [279/2426] Generating testfiles/h5repack_int32le_1d_ex-0.dat
  [280/2426] Generating testfiles/h5repack_int32le_1d_ex-1.dat
  [281/2426] Generating testfiles/h5repack_int32le_1d_ex.h5
  [282/2426] Generating testfiles/h5repack_int32le_2d.h5
  [283/2426] Generating testfiles/h5repack_int32le_2d_ex-0.dat
  [284/2426] Generating testfiles/h5repack_int32le_2d_ex.h5
  [285/2426] Generating testfiles/h5repack_int32le_3d.h5
  [286/2426] Generating testfiles/h5repack_int32le_3d_ex-0.dat
  [287/2426] Generating testfiles/h5repack_int32le_3d_ex.h5
  [288/2426] Generating testfiles/h5repack_layout.UD.h5
  [289/2426] Generating testfiles/h5repack_layout.UD.h5-plugin_none.ddl
  [290/2426] Generating testfiles/h5repack_layout.h5
  [291/2426] Generating testfiles/h5repack_layout.h5-dset2_chunk_20x10-errstk.tst
  [292/2426] Generating testfiles/h5repack_layout.h5-plugin_test.ddl
  [293/2426] Generating testfiles/h5repack_layout.h5-plugin_version_test.ddl
  [294/2426] Generating testfiles/h5repack_layout.h5-plugin_zero.ddl
  [295/2426] Generating testfiles/h5repack_layout2.h5
  [296/2426] Generating testfiles/h5repack_layout.h5.ddl
  ninja: build stopped: subcommand failed.

Build All failed.

hyoklee avatar Apr 21 '23 16:04 hyoklee

But what about the configure output?

byrnHDF avatar Apr 21 '23 16:04 byrnHDF

Exactly what commands have you used?

byrnHDF avatar Apr 21 '23 16:04 byrnHDF

There is no such configure output thing. See the attached screnshot. VS2022 ran cmake autoamtically as soon as cloned repo is opened. I just clicked Build->Build All.

vs2022_hdf5

hyoklee avatar Apr 21 '23 16:04 hyoklee

Did you not run CMake to build the files? We don't check in generated files, so unless you run CMake, you will not have all the source code you need to build HDF5.

derobins avatar Apr 21 '23 16:04 derobins

That is not a supported process yet. Configure must run first in develop.

byrnHDF avatar Apr 21 '23 16:04 byrnHDF

VS2022 ran CMake automatically. If Perl is not found, I think it should stop there.

hyoklee avatar Apr 21 '23 16:04 hyoklee

The problem with that idea is that if it made its way into a release branch, people would be prevented from building the library unless they installed Perl. I'm disinclined to make that change without a programmatic way to flip the setting from an error to a warning.

derobins avatar Apr 21 '23 17:04 derobins

Please resolve #1648 .

hyoklee avatar Apr 21 '23 20:04 hyoklee