Wine Forums

Board index » WineHQ » Wine Help » Linux

 Page 1 of 1 [ 1 post ] 

Author Message
 Post Posted: Thu Jul 12, 2018 10:41 pm 
Level 2
Level 2

Joined: Wed Jul 05, 2017 2:29 am
Posts: 29
Location: China, Shenyang
If you encounter this error:
make[1]: Entering directory '/home/me/__wine_build/18-07-13-06-01/3.12-staging/wine/32build/dlls/xapofx1_1'
ccache gcc -m32 -c -o xapofx.o ../../../dlls/xapofx1_1/../xaudio2_7/xapofx.c -I. -I../../../dlls/xapofx1_1 \
  -I../../../dlls/xapofx1_1/../xaudio2_7 -I../../include -I../../../include -D__WINESRC__ \
  -DXAPOFX1_VER=1 -DXAUDIO2_VER=2 -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing \
  -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wno-packed-not-aligned \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer \
  -g -O2
In file included from ../../../dlls/xapofx1_1/../xaudio2_7/xapofx.c:27:
../../../dlls/xapofx1_1/../xaudio2_7/xaudio_private.h:33:10: fatal error: libavcodec/avcodec.h: No such file or directory
 #include <libavcodec/avcodec.h>
compilation terminated.
make[1]: *** [Makefile:184: xapofx.o] Error 1
make[1]: Leaving directory '/home/me/__wine_build/18-07-13-06-01/3.12-staging/wine/32build/dlls/xapofx1_1'
make: *** [Makefile:7951: dlls/xapofx1_1] Error 2

Try this bash script, just remember to remove those links when devs fixed this bug.

cd /usr/include/
ls -1 ./ffmpeg | \
    while read dirname; do
        sudo ln -s ./ffmpeg/$dirname/ ./

On fedora, these libav* dirs are installed to /usr/include/ffmpeg/ , however it seems head file is expecting them at /usr/include/

Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

Board index » WineHQ » Wine Help » Linux

Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: