You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile the EBML and Matroska libraries using Visual Studio under Windows.
I started by cmake-ing the EBML libary - this successfully creates a static library, but it doesn't create EBMLTargets.cmake. The INSTALL. The INSTALL project generates lots of errors:
Attempting to cmake Matroska doesn't get very far:
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.18362.
-- The C compiler identification is MSVC 19.28.29913.0
-- The CXX compiler identification is MSVC 19.28.29913.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/Community/VC/Tools/MSVC/14.28.29910/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/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at D:/bc/libebml/build/EBMLConfig.cmake:27 (include):
include could not find requested file:
D:/bc/libebml/build/EBMLTargets.cmake
Call Stack (most recent call first):
CMakeLists.txt:13 (find_package)
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Configuring incomplete, errors occurred!
The CMakeError.log file says:
D:\bc\libmatroska\build\CMakeFiles\CMakeTmp\src.cxx(1,16): error C2065: '__deprecated__': undeclared identifier [D:\bc\libmatroska\build\CMakeFiles\CMakeTmp\cmTC_da8f3.vcxproj]
D:\bc\libmatroska\build\CMakeFiles\CMakeTmp\src.cxx(1,31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\bc\libmatroska\build\CMakeFiles\CMakeTmp\cmTC_da8f3.vcxproj]
D:\bc\libmatroska\build\CMakeFiles\CMakeTmp\src.cxx(1,37): error C2448: '__attribute__': function-style initializer appears to be a function definition [D:\bc\libmatroska\build\CMakeFiles\CMakeTmp\cmTC_da8f3.vcxproj]
I've tried it on several computers, with different releases of Visual Studio, with identical results.
I suspect I'm doing something wrong, but I can't get any further.
Any suggestions would be welcome - thanks for reading this.
John --
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to compile the EBML and Matroska libraries using Visual Studio under Windows.
I started by cmake-ing the EBML libary - this successfully creates a static library, but it doesn't create EBMLTargets.cmake. The INSTALL. The INSTALL project generates lots of errors:
Attempting to cmake Matroska doesn't get very far:
The CMakeError.log file says:
I've tried it on several computers, with different releases of Visual Studio, with identical results.
I suspect I'm doing something wrong, but I can't get any further.
Any suggestions would be welcome - thanks for reading this.
John --
The text was updated successfully, but these errors were encountered: