MediaArea / MediaInfoLib

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://mediaarea.net/MediaInfo
BSD 2-Clause "Simplified" License
636 stars 175 forks source link

Build fails with VS2022 #1902

Closed paulhiggs closed 1 year ago

paulhiggs commented 1 year ago

Opening MediaInfoLib\Project\MSVC2022\MediaInfoLib.sln and making a Build on MediaInfoLib or MediaInfoDLL projects fails with the following error messages..

1>MediaInfo_File.cpp
1>E:\work\code\MediaArea\MediaInfoLib\Source\MediaInfo\Audio\File_Usac.cpp(1675,9): error C2039: 'Resize': is not a member of 'ZenLib::BitStream_Fast'
1>E:\work\code\MediaArea\ZenLib\Source\ZenLib\BitStream_Fast.h(30,7): message : see declaration of 'ZenLib::BitStream_Fast'
1>E:\work\code\MediaArea\MediaInfoLib\Source\MediaInfo\Audio\File_Usac.cpp(1735,9): error C2039: 'Resize': is not a member of 'ZenLib::BitStream_Fast'
1>E:\work\code\MediaArea\ZenLib\Source\ZenLib\BitStream_Fast.h(30,7): message : see declaration of 'ZenLib::BitStream_Fast'
1>E:\work\code\MediaArea\MediaInfoLib\Source\MediaInfo\MediaInfo_File.cpp(815,14): fatal  error C1061: compiler limit: blocks nested too deeply

Definition of class BitStream_Fast in Bitstream_Fash.h does not define a Resize() method.

JeromeMartinez commented 1 year ago

It is and AFAIK this version of ZenLib (0.4.41) is published, which ZenLib do you try?

paulhiggs commented 1 year ago

My bad, did not update MediaArea\ZenLib