ShiftMediaProject / FFVS-Project-Generator

A program that can scan existing FFmpeg/LibAV source files and dynamically generate a Visual Studio project file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cl.exe not finding standard headers

aleksas opened this issue · comments

Execution of ffvs_compile.bat failed.

ENV

  • VS 2017 (x86)
  • Windows 10
  • x64

The contents of ffvs_log.txt:

alldevices.c
avdevice.c
utils.c
file_open.c
dshow_crossbar.c
dshow.c
dshow_enummediatypes.c
dshow_enumpins.c
./ffmpeg/libavutil/avassert.h(30): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory (compiling source file ffmpeg/libavdevice/avdevice.c)
./ffmpeg/libavformat/avformat.h(315): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ffmpeg/libavdevice/utils.c)
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\common.h(33): fatal error C1083: Cannot open include file: 'errno.h': No such file or directory (compiling source file ffmpeg/libavdevice/dshow_crossbar.c)
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\common.h(33): fatal error C1083: Cannot open include file: 'errno.h': No such file or directory (compiling source file ffmpeg/libavdevice/dshow_enumpins.c)
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\common.h(33): fatal error C1083: Cannot open include file: 'errno.h': No such file or directory (compiling source file ffmpeg/libavdevice/dshow.c)
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\common.h(33): fatal error C1083: Cannot open include file: 'errno.h': No such file or directory (compiling source file ffmpeg/libavdevice/dshow_enummediatypes.c)
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\internal.h(38): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory (compiling source file ffmpeg/libavdevice/file_open.c)
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winnt.h(34): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file ffmpeg/libavdevice/alldevices.c)
dshow_filter.c
dshow_pin.c
dshow_common.c
gdigrab.c
lavfi.c
opengl_enc.c
sdl2.c
vfwcap.c
ffmpeg/libavdevice/sdl2.c(26): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
ffmpeg/libavdevice/lavfi.c(28): fatal error C1083: Cannot open include file: 'float.h': No such file or directory
reverse_wrap.c
ffmpeg/libavdevice/opengl_enc.c(25): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\common.h(33): fatal error C1083: Cannot open include file: 'errno.h': No such file or directory (compiling source file ffmpeg/libavdevice/dshow_filter.c)
./ffmpeg/libavutil/internal.h(38): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory (compiling source file ffmpeg/libavdevice/vfwcap.c)
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\common.h(33): fatal error C1083: Cannot open include file: 'errno.h': No such file or directory (compiling source file ffmpeg/libavdevice/dshow_pin.c)
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\common.h(33): fatal error C1083: Cannot open include file: 'errno.h': No such file or directory (compiling source file ffmpeg/libavdevice/dshow_common.c)
c:\work\ffvs-project-generator-master\bin\ffmpeg\libavutil\avstring.h(24): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory (compiling source file ffmpeg/libavdevice/gdigrab.c)

Whats the command line you are using to run FFVS?
One of the errors is about missing SDL which shows that you havnt compiled all the dependencies yet. Make sure you have downloaded and compiled all used dependencies before running ffvs.

smp_project_generate_lgpl3.bat batchfile informed only of necessary OpenGL related actions, so I've copied couple of headers as explained in readme. Dependencies including sdl seam to be in place.

Anyway, I'm closing the issue. Changed the approach to my project, no more need for VS built libraries. Thank you for your time and wonderful project.

Contents of the folder with smp_project_generate_lgpl3.bat and project_generate.exe:

10/17/2019  03:15 PM    <DIR>          .
10/17/2019  03:15 PM    <DIR>          ..
10/17/2019  02:07 PM    <DIR>          bzip2
10/17/2019  02:07 PM    <DIR>          ffmpeg
10/17/2019  03:15 PM    <DIR>          FFVSTemp
10/17/2019  03:16 PM             3,786 ffvs_compile.bat
10/17/2019  03:20 PM             3,221 ffvs_log.txt
10/17/2019  02:07 PM    <DIR>          fontconfig
10/17/2019  02:07 PM    <DIR>          freetype2
10/17/2019  02:08 PM    <DIR>          fribidi
10/17/2019  02:08 PM    <DIR>          game-music-emu
10/17/2019  02:09 PM    <DIR>          gmp
10/17/2019  02:08 PM    <DIR>          gnutls
10/17/2019  02:09 PM    <DIR>          harfbuzz
10/17/2019  02:09 PM    <DIR>          lame
10/17/2019  02:09 PM    <DIR>          libass
10/17/2019  02:09 PM    <DIR>          libbluray
10/17/2019  02:09 PM    <DIR>          libgcrypt
10/17/2019  02:09 PM    <DIR>          libgpg-error
10/17/2019  02:07 PM    <DIR>          libiconv
10/17/2019  02:09 PM    <DIR>          libilbc
10/17/2019  02:07 PM    <DIR>          liblzma
10/17/2019  02:09 PM    <DIR>          libssh
10/17/2019  02:10 PM    <DIR>          libvpx
10/17/2019  02:07 PM    <DIR>          libxml2
10/17/2019  02:10 PM    <DIR>          mfx_dispatch
10/17/2019  02:10 PM    <DIR>          modplug
10/17/2019  02:08 PM    <DIR>          nettle
10/17/2019  02:10 PM    <DIR>          ogg
10/17/2019  02:10 PM    <DIR>          opus
10/17/2019  02:31 PM           929,280 project_generate.exe
10/17/2019  03:06 PM         3,650,048 project_generated.exe
10/17/2019  03:06 PM        11,759,148 project_generated.ilk
10/17/2019  03:06 PM        13,373,440 project_generated.pdb
10/17/2019  02:19 PM             9,726 README.md
10/17/2019  02:10 PM    <DIR>          sdl
10/17/2019  02:19 PM             3,975 smp_project_generate_gpl3.bat
10/17/2019  02:21 PM             3,816 smp_project_generate_lgpl3.bat
10/17/2019  02:19 PM             4,030 smp_project_generate_noredist.bat
10/17/2019  02:19 PM             7,035 smp_project_get_dependencies
10/17/2019  02:10 PM    <DIR>          soxr
10/17/2019  02:10 PM    <DIR>          speex
10/17/2019  02:10 PM    <DIR>          theora
10/17/2019  02:10 PM    <DIR>          vorbis
10/17/2019  02:08 PM    <DIR>          zlib