error building with updated ffmpg vs2012‏ #37986

Closed
opened 2013-12-29 19:44:55 +01:00 by Yousef Harfoush · 10 comments

System Information
windows 8.1 x64

Blender Version
x64, scons, vs2012, default profile, hash 3f39af9c

Worked: before updating vc11 lib to 61261

Short description of error
this is what i get:
.
.
.
scons: done reading SConscript files.
scons: Building targets ...
scons: H:\blender\build\win64-vc11\lib\bf_avi.lib' is up to date. scons: H:\blender\build\win64-vc11\lib\bf_bmesh.lib' is up to date.
Compiling ==> 'writeffmpeg.c'
Using tempfile c:\users****\appdata\local\temp\tmpwfu9c2.lnk for command line:
cl.exe /FoH:\blender\build\win64-vc11\source\blender\blenkernel\intern\writeffmpeg.obj /c source\blender\blenkernel\intern\writeffmpeg.c /nologo /J /W1 /Gd /we4013 /wd4018 /wd4244 /wd4305 /wd4800 /wd4065 /wd4267 /openmp -O2 /Ob2 -DNDEBUG /MT -DWIN32 -D_CONSOLE -D_LIB -D_CRT_SECURE_NO_DEPRECATE -DOPJ_STATIC -DWIN64 -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -D__LITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI -DWITH_OPENNL -DWITH_BOOL_COMPAT -D_ALLOW_KEYWORD_MACROS /DGLEW_STATIC /DWITH_SMOKE /DWITH_FRAMESERVER /DWITH_PYTHON /DWITH_SDL /DWITH_OPENIMAGEIO /DWITH_OPENEXR /DWITH_TIFF /DWITH_OPENJPEG /DWITH_DDS /DWITH_CINEON /DWITH_HDR /DWITH_FFMPEG /DWITH_BULLET /DWITH_MOD_FLUID /DWITH_OCEANSIM /DWITH_LZO /DWITH_LZMA /DWITH_GAMEENGINE /DWITH_LIBMV /DFFTW3=1 /DWITH_INTERNATIONAL /DWITH_FREESTYLE /IH:\blender\build\win64-vc11\source\blender\blenkernel /Isource\blender\blenkernel /Iextern\libmv /Iintern\ffmpeg /Iintern\guardedalloc /Iintern\memutil /Iintern\mikktspace /Iintern\raskter /Iintern\rigidbody /Iextern\bullet2\src /Iextern\glew\include /Iintern\audaspace\intern /Iintern\bsp\extern /Iintern\elbeem\extern /Iintern\iksolver\extern /Iintern\smoke\extern /Iintern\atomic /IH:\blender\build\win64-vc11\source\blender\avi /Isource\blender\avi /IH:\blender\build\win64-vc11\source\blender\blenfont /Isource\blender\blenfont /IH:\blender\build\win64-vc11\source\blender\blenlib /Isource\blender\blenlib /IH:\blender\build\win64-vc11\source\blender\blenloader /Isource\blender\blenloader /IH:\blender\build\win64-vc11\source\blender\bmesh /Isource\blender\bmesh /IH:\blender\build\win64-vc11\source\blender\gpu /Isource\blender\gpu /IH:\blender\build\win64-vc11\source\blender\ikplugin /Isource\blender\ikplugin /IH:\blender\build\win64-vc11\source\blender\imbuf /Isource\blender\imbuf /IH:\blender\build\win64-vc11\source\blender\makesdna /Isource\blender\makesdna /IH:\blender\build\win64-vc11\source\blender\makesrna /Isource\blender\makesrna /IH:\blender\build\win64-vc11\source\blender\modifiers /Isource\blender\modifiers /IH:\blender\build\win64-vc11\source\blender\nodes /Isource\blender\nodes /IH:\blender\build\win64-vc11\source\blender\render\extern\include /Isource\blender\render\extern\include /IH:\blender\build\win64-vc11\source\blender\windowmanager /Isource\blender\windowmanager /IH:\include /IH:\blender\lib\win64_vc11\zlib\include /IH:\blender\build\win64-vc11\source\blender\python /Isource\blender\python /IH:\blender\lib\win64_vc11\sdl\include /IH:\blender\lib\win64_vc11\ffmpeg\include /IH:\blender\lib\win64_vc11\ffmpeg\include\msvc /Iextern\lzo\minilzo /Iextern\lzma /Iextern\recastnavigation /IH:\blender\lib\win64_vc11\fftw3\include /IH:\blender\lib\win64_vc11\pthreads\include
writeffmpeg.c
H:\blender\lib\win64_vc11\ffmpeg\include\libavcodec/avcodec.h(34) : fatal error C1083: Cannot open include file: 'libavutil/buffer.h': No such file or directory
scons: building terminated because of errors.

**System Information** windows 8.1 x64 **Blender Version** x64, scons, vs2012, default profile, hash 3f39af9c Worked: before updating vc11 lib to 61261 **Short description of error** this is what i get: . . . scons: done reading SConscript files. scons: Building targets ... scons: `H:\blender\build\win64-vc11\lib\bf_avi.lib' is up to date. scons: `H:\blender\build\win64-vc11\lib\bf_bmesh.lib' is up to date. Compiling ==> 'writeffmpeg.c' Using tempfile c:\users\****\appdata\local\temp\tmpwfu9c2.lnk for command line: cl.exe /FoH:\blender\build\win64-vc11\source\blender\blenkernel\intern\writeffmpeg.obj /c source\blender\blenkernel\intern\writeffmpeg.c /nologo /J /W1 /Gd /we4013 /wd4018 /wd4244 /wd4305 /wd4800 /wd4065 /wd4267 /openmp -O2 /Ob2 -DNDEBUG /MT -DWIN32 -D_CONSOLE -D_LIB -D_CRT_SECURE_NO_DEPRECATE -DOPJ_STATIC -DWIN64 -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -D__LITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI -DWITH_OPENNL -DWITH_BOOL_COMPAT -D_ALLOW_KEYWORD_MACROS /DGLEW_STATIC /DWITH_SMOKE /DWITH_FRAMESERVER /DWITH_PYTHON /DWITH_SDL /DWITH_OPENIMAGEIO /DWITH_OPENEXR /DWITH_TIFF /DWITH_OPENJPEG /DWITH_DDS /DWITH_CINEON /DWITH_HDR /DWITH_FFMPEG /DWITH_BULLET /DWITH_MOD_FLUID /DWITH_OCEANSIM /DWITH_LZO /DWITH_LZMA /DWITH_GAMEENGINE /DWITH_LIBMV /DFFTW3=1 /DWITH_INTERNATIONAL /DWITH_FREESTYLE /IH:\blender\build\win64-vc11\source\blender\blenkernel /Isource\blender\blenkernel /Iextern\libmv /Iintern\ffmpeg /Iintern\guardedalloc /Iintern\memutil /Iintern\mikktspace /Iintern\raskter /Iintern\rigidbody /Iextern\bullet2\src /Iextern\glew\include /Iintern\audaspace\intern /Iintern\bsp\extern /Iintern\elbeem\extern /Iintern\iksolver\extern /Iintern\smoke\extern /Iintern\atomic /IH:\blender\build\win64-vc11\source\blender\avi /Isource\blender\avi /IH:\blender\build\win64-vc11\source\blender\blenfont /Isource\blender\blenfont /IH:\blender\build\win64-vc11\source\blender\blenlib /Isource\blender\blenlib /IH:\blender\build\win64-vc11\source\blender\blenloader /Isource\blender\blenloader /IH:\blender\build\win64-vc11\source\blender\bmesh /Isource\blender\bmesh /IH:\blender\build\win64-vc11\source\blender\gpu /Isource\blender\gpu /IH:\blender\build\win64-vc11\source\blender\ikplugin /Isource\blender\ikplugin /IH:\blender\build\win64-vc11\source\blender\imbuf /Isource\blender\imbuf /IH:\blender\build\win64-vc11\source\blender\makesdna /Isource\blender\makesdna /IH:\blender\build\win64-vc11\source\blender\makesrna /Isource\blender\makesrna /IH:\blender\build\win64-vc11\source\blender\modifiers /Isource\blender\modifiers /IH:\blender\build\win64-vc11\source\blender\nodes /Isource\blender\nodes /IH:\blender\build\win64-vc11\source\blender\render\extern\include /Isource\blender\render\extern\include /IH:\blender\build\win64-vc11\source\blender\windowmanager /Isource\blender\windowmanager /IH:\include /IH:\blender\lib\win64_vc11\zlib\include /IH:\blender\build\win64-vc11\source\blender\python /Isource\blender\python /IH:\blender\lib\win64_vc11\sdl\include /IH:\blender\lib\win64_vc11\ffmpeg\include /IH:\blender\lib\win64_vc11\ffmpeg\include\msvc /Iextern\lzo\minilzo /Iextern\lzma /Iextern\recastnavigation /IH:\blender\lib\win64_vc11\fftw3\include /IH:\blender\lib\win64_vc11\pthreads\include writeffmpeg.c H:\blender\lib\win64_vc11\ffmpeg\include\libavcodec/avcodec.h(34) : fatal error C1083: Cannot open include file: 'libavutil/buffer.h': No such file or directory scons: building terminated because of errors.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @bat3a

Added subscriber: @bat3a

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Thomas Dinges self-assigned this 2013-12-29 23:08:40 +01:00

Adding Jürgen as CC, afaik he update the libs recently? Also CC'ing Martijn.

I am closing this though, this tracker is not for compile errors, that is clearly written in the bug report guidelines, when you click on "Report a bug".

Adding Jürgen as CC, afaik he update the libs recently? Also CC'ing Martijn. I am closing this though, this tracker is not for compile errors, that is clearly written in the bug report guidelines, when you click on "Report a bug".

Added subscribers: @JurgenHerrmann, @MartijnBerger

Added subscribers: @JurgenHerrmann, @MartijnBerger
Author
Member

this tracker is not for compile errors

so where should i report it?

```this tracker is not for compile errors``` so where should i report it?
Member

Can you roll back the libs directory one commit and try again. It seems the ffmpeg upgrade either is missing some files or is just broken.

a revision number before r61250, r61219 so should do the trick

r61250 | shadowrom | 2013-12-17 11:22:43 +0100 (Tue, 17 Dec 2013) | 4 lines

VS 2012 libs update:

  • Upgraded to FFmpeg 2.11
  • Downgraded libpng to 1.5.17 to aoid warnings on blender startup
  • Upgraded to Python 3.3.3 with new release package (fies some missing files)
Can you roll back the libs directory one commit and try again. It seems the ffmpeg upgrade either is missing some files or is just broken. a revision number before r61250, r61219 so should do the trick r61250 | shadowrom | 2013-12-17 11:22:43 +0100 (Tue, 17 Dec 2013) | 4 lines VS 2012 libs update: - Upgraded to FFmpeg 2.11 - Downgraded libpng to 1.5.17 to aoid warnings on blender startup - Upgraded to Python 3.3.3 with new release package (fies some missing files)
Author
Member

i reverted to libs rev.59054 and it compiled successfully with blender pull 4a14102, it seems that it is a bug in ffmpeg cause i verified the file exists and readable.

i reverted to libs rev.59054 and it compiled successfully with blender pull 4a14102, it seems that it is a bug in ffmpeg cause i verified the file exists and readable.
Author
Member

hi any words on this, i still cannot compile with the latest ffmpeg

hi any words on this, i still cannot compile with the latest ffmpeg
Author
Member

it seems that shadowrom updated the missing headers this month and now it compiles, but doesn't link!

using today's pull 5e7f995b and vc11 lib svn r61282

LINK : fatal error LNK1181: cannot open input file 'avformat-54.lib'
Install file: "release\scripts\addons_contrib\add_mesh_rocks\utils.py" as "H:\bl
ender\install\win64-vc11\2.69\scripts\addons_contrib\add_mesh_rocks\utils.py"
scons: *** [H:\blender\build\win64-vc11\bin\blender.exe] Error 1181
scons: building terminated because of errors.
it seems that shadowrom updated the missing headers this month and now it compiles, but doesn't link! using today's pull 5e7f995b and vc11 lib svn r61282 ``` LINK : fatal error LNK1181: cannot open input file 'avformat-54.lib' Install file: "release\scripts\addons_contrib\add_mesh_rocks\utils.py" as "H:\bl ender\install\win64-vc11\2.69\scripts\addons_contrib\add_mesh_rocks\utils.py" scons: *** [H:\blender\build\win64-vc11\bin\blender.exe] Error 1181 scons: building terminated because of errors. ```
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#37986
No description provided.