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

ffmpeg error on Windows10 VS2022 #12

Open
moebiussurfing opened this issue Jun 10, 2022 · 1 comment
Open

ffmpeg error on Windows10 VS2022 #12

moebiussurfing opened this issue Jun 10, 2022 · 1 comment

Comments

@moebiussurfing
Copy link

I am having this error when calling cmake ..
I installed ffmpeg using scoop, but still having the error:

PS E:\ada\build> scoop install ffmpeg
Installing '7zip' (21.07) [64bit]
7z2107-x64.msi (1,8 MB) [============================================================================================================================================================] 100%
Checking hash of 7z2107-x64.msi ... ok.
Extracting 7z2107-x64.msi ... done.
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\21.07
Creating shim for '7z'.
Creating shortcut for 7-Zip (7zFM.exe)
Persisting Codecs
Persisting Formats
Running post-install script...
'7zip' (21.07) was installed successfully!
Notes
-----
Add 7-Zip as a context menu option by running: "C:\Users\moebi\scoop\apps\7zip\current\install-context.reg"
Installing 'ffmpeg' (5.0.1) [64bit]
ffmpeg-5.0.1-full_build.7z (42,6 MB) [===============================================================================================================================================] 100%
Checking hash of ffmpeg-5.0.1-full_build.7z ... ok.
Extracting ffmpeg-5.0.1-full_build.7z ... done.
Linking ~\scoop\apps\ffmpeg\current => ~\scoop\apps\ffmpeg\5.0.1
Creating shim for 'ffmpeg'.
Creating shim for 'ffplay'.
Creating shim for 'ffprobe'.
Persisting fonts
'ffmpeg' (5.0.1) was installed successfully!
PS E:\ada\build> dir

    Directory: E:\ada\build

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          09/06/2022    23:40                CMakeFiles
d----          09/06/2022    23:40                deps
d----          09/06/2022    23:40                src
-a---          09/06/2022    23:17          14267 ada.sln
-a---          09/06/2022    23:38          17762 ALL_BUILD.vcxproj
-a---          09/06/2022    23:17            261 ALL_BUILD.vcxproj.filters
-a---          09/06/2022    23:17           1597 cmake_install.cmake
-a---          09/06/2022    23:17          54855 CMakeCache.txt
-a---          09/06/2022    23:17           9978 INSTALL.vcxproj
-a---          09/06/2022    23:17            503 INSTALL.vcxproj.filters
-a---          09/06/2022    23:38          24229 ZERO_CHECK.vcxproj
-a---          09/06/2022    23:17            504 ZERO_CHECK.vcxproj.filters

PS E:\ada\build> cmake ..
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19044.
-- Including Win32 support
-- OPENGL_LIBRARIES: opengl32;glu32
-- OPENGL_opengl_LIBRARY:
CMake Deprecation Warning at deps/glew/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Could NOT find FFMPEG (missing: FFMPEG_LIBRARIES FFMPEG_LIBRARY_DIRS FFMPEG_INCLUDE_DIRS)
-- LIBAV Supported
-- USING GLFW DRIVERS
-- PLATFORM WINDOWS
-- Configuring done
-- Generating done
-- Build files have been written to: E:/ada/build
PS E:\ada\build>
@patriciogonzalezvivo
Copy link
Owner

Hi! there is no error in that message, just a warning. Seams that create the necessary make files but just without ffmpeg support. It could be on how scope is setup. Make sure both (cmake and scope) use the same paths for their libraries. Also ada is currently using ffmpeg 4.X versions.
That could be a problem later on, haven't test 5.X versions yet

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

2 participants