patriciogonzalezvivo/glslViewer

Missing modules when setting up windows solution with cmake

pajama opened this issue · 5 comments

Following the windows build instructions.
After running cmake it initially could not find ffmpeg and pkgconfig.
I installed both from scoop, and verified they were on my path. Now it finds pkgconfig, but still not ffmpeg.
I have ffmpeg 5.1.2 installed.

Here's my cmake log:

-- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19044.
-- Including Win32 support
-- OPENGL_LIBRARIES: opengl32;glu32
-- OPENGL_opengl_LIBRARY:
CMake Deprecation Warning at deps/vera/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)
-- Checking for modules 'libavdevice;libavfilter;libavformat;libavcodec;libswresample;libswscale;libavutil'
--   No package 'libavdevice' found
--   No package 'libavfilter' found
--   No package 'libavformat' found
--   No package 'libavcodec' found
--   No package 'libswresample' found
--   No package 'libswscale' found
--   No package 'libavutil' found
-- USING GLFW DRIVERS
-- PLATFORM WINDOWS
-- If you are using the static library build, please keep in mind (and inform yourself of the implications) that liblo is licensed with LGPL v2.1+.
-- Windows configuration: Assuming select exists.
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Configuring done
-- Generating done
-- Build files have been written to: *****

Thanks for taking a look!

Screen Shot 2022-10-24 at 11 35 47 AM

Question have you follow and download this step ^^

For compiling from source I think you will need to install ffmpeg dev packages.

Screen Shot 2022-10-24 at 11 35 47 AM

Question have you follow and download this step ^^

This allows the binary to run! Thank you!

For compiling from source I think you will need to install ffmpeg dev packages.

I have ffmpeg-shared installed from scoop. The dlls are in there. Not sure how to get cmake to find them though. Maybe this is just a common enough issue for cmake users.

Mmm... I'm not a windows developer, but scoop should work. Wonder if the version is the problem. Have you tried downgrading to 4.4 to match the .dlls ?