Hi Jules, I've just used vcpkg to build ffpmeg libraries. I'm now going to try it out in CMake to make sure that it builds successfully. However, I can't run 2020.4 myself -- thanks to Intel's drivers and OSG not cooperating -- so I can't check that the feature works normally.
- Code: Select all
-- Found FFmpeg: C:/Users/redpa/Documents/FlightGearBuild/windows-3rd-party/msvc140/3rdParty.x64/lib/avcodec.lib;C:/Users/redpa/Documents/FlightGearBuild/windows-3rd-party/msvc140/3rdParty.x64/lib/avformat.lib;C:/Users/redpa/Documents/FlightGearBuild/windows-3rd-party/msvc140/3rdParty.x64/lib/avutil.lib;C:/Users/redpa/Documents/FlightGearBuild/windows-3rd-party/msvc140/3rdParty.x64/lib/swscale.lib found components: AVCODEC AVFORMAT AVUTIL SWSCALE
Looks fine here
Edit - getting a compile error:
- Code: Select all
C:\Users\redpa\Documents\FlightGearBuild\simgear\simgear\screen\video-encoder-internal.hxx(273,1): error C4576: a paren
thesized type followed by an initializer list is a non-standard explicit type conversion syntax (compiling source file
C:\Users\redpa\Documents\FlightGearBuild\simgear\simgear\screen\video-encoder.cxx) [C:\Users\redpa\Documents\FlightGear
Build\simgear-build\simgear\SimGearScene.vcxproj]
C:\Users\redpa\Documents\FlightGearBuild\simgear\simgear\screen\video-encoder.cxx(173,5): error C3861: 'vasprintf': ide
ntifier not found [C:\Users\redpa\Documents\FlightGearBuild\simgear-build\simgear\SimGearScene.vcxproj]
Is this related - if so, what else do I need to do or add?
Edit 2 - see
https://stackoverflow.com/questions/332 ... enterprise, removing the brackets works for me.
vasprintf seems to be Linux-specific consider replacing with some other type of message handler.