News:

--

Main Menu

Compiled error

Started by Trepak, July 03, 2013, 11:37:29 PM

Previous topic - Next topic

Trepak

Hi, I have two problems compiling Avidemux One is that x264 is not active and the other is fail compile...

Ubuntu 12.04 64Bit
avidemux_2.6_branch_mean revisión 8755.



**************************
***  Optional Library  ***
***      Summary       ***
**************************
*** Miscellaneous      ***
    FreeType2      Yes
    FontConfig     Yes
    FRIBIDI        Yes
    FontConfig     Yes
*** Video Encoder      ***
    Xvid           Yes
    x264           No
*** Scripting          ***
    QtScript       Yes
    QtScript Debugger Yes
    SpiderMonkey   Yes
    TinyPy         Yes
*** Audio Encoder      ***
    Aften          Yes
    TWOLAME        Yes
    LAME           Yes
    DCAENC         No
    FAAC           Yes
    Vorbis         Yes
*** Audio Device       ***
    ALSA           Yes
    aRts           No
    ESD            No
    JACK           Yes
    SRC            Yes
    OSS            Yes
    PulseAudio     Yes
*** Audio Decoder      ***
    FAAD           Yes
    Vorbis         Yes
    libdca         Yes
    opencore-amrwb Yes
    opencore-amrnb Yes
    libvpx         Yes
*** User Interface     ***
    Common         Yes
    GTK+           No
    Qt 4           No
    CLI            No
**************************
***   Release Build    ***
**************************

-- Packager=deb, valid choices= {deb,rpm,tgz,none}

-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxx/avidemux_2.6_branch_mean/buildPluginsCommon
** Failed at make, result in /tmp/logbuildPluginsCommon**


log:


/usr/local/lib/libvpx.a: could not read symbols: Bad value
collect2: ld devolvió el estado de salida 1
make[2]: *** [ADM_videoDecoder/vpx/libADM_vd_vpx.so] Error 1
make[2]: se sale del directorio Ã,«/home/xxx/avidemux_2.6_branch_mean/buildPluginsCommonÃ,»
make[1]: *** [ADM_videoDecoder/vpx/CMakeFiles/ADM_vd_vpx.dir/all] Error 2
make[1]: *** Se espera a que terminen otras tareas....
make[2]: se sale del directorio Ã,«/home/xxx/avidemux_2.6_branch_mean/buildPluginsCommonÃ,»
/home/mae/Support/cmake-2.8.10.2-Linux-i386/bin/cmake -E cmake_progress_report /home/xxx/avidemux_2.6_branch_mean/buildPluginsCommon/CMakeFiles
[  8%] Built target ADM_ae_pcm
make[1]: se sale del directorio Ã,«/home/xxx/avidemux_2.6_branch_mean/buildPluginsCommonÃ,»
make: *** [all] Error 2


Can anyone help me please? thanks

Jan Gruuthuse

#1
You need to install x264 on your build machine:
sudo apt-get update
sudo apt-get install libx264-dev


or build and install:
http://www.videolan.org/developers/x264.html
x264
====
1st time:
mkdir ~/source
cd ~/source/
git clone git://git.videolan.org/x264.git


update from time to time
cd ~/source/x264 && git pull

build and install
cd ~/source/x264
./configure --prefix=/usr
make
sudo make install


you can change mkdir ~/source & cd ~/source/ to suite your needs

vpx:
sudo apt-get update
sudo apt-get install libvpx-dev libvpx1-dbg


currently I have these:
dpkg -l build-essential cmake cmake-data cmake-dbg fakeroot fontconfig g++ gcc gettext git liba52-0.7.4-dev libaften-dev libasound2-dev libasound2-dbg libass-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libfreetype6-dev libfribidi-dev libftgl-dev libftgl2 libglib2.0-dev libglib2.0-0-dbg libmad0-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrnb0-dbg libopencore-amrwb-dev libopencore-amrwb0-dbg libpng12-dev libqt4-dev libqt4-dbg libqt4-opengl-dev libqt4-script libqt4-script-dbg libsamplerate0-dev libsdl-sound1.2-dev libsqlite3-dev libsqlite3-0-dbg libtwolame-dev libvdpau-dev libvorbis-dev libvpx-dev libvpx1-dbg libwxsqlite3-2.8-0 libx264-dev libxft-dev libxml2-dev libxml2-dbg libxslt1-dbg libxv-dev libxv1-dbg libxvmc1-dbg libxvidcore-dev libzip-dev pkg-config sqlite3 subversion vdpauinfo xsltproc yasm

QuoteDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                        Version                     Description
+++-===========================-===========================-======================================================================
ii  build-essential             11.5ubuntu2.1               Informational list of build-essential packages
ii  cmake                       2.8.7-0ubuntu5              cross-platform, open-source make system
ii  cmake-data                  2.8.7-0ubuntu5              CMake data files (modules, templates and documentation)
ii  cmake-dbg                   2.8.7-0ubuntu5              debugging symbols for CMake
ii  fakeroot                    1.18.2-1                    tool for simulating superuser privileges
ii  fontconfig                  2.8.0-3ubuntu9.1            generic font configuration library - support binaries
ii  g++                         4:4.6.3-1ubuntu5            GNU C++ compiler
ii  gcc                         4:4.6.3-1ubuntu5            GNU C compiler
ii  gettext                     0.18.1.1-5ubuntu3           GNU Internationalization utilities
ii  git                         1:1.7.9.5-1                 fast, scalable, distributed revision control system
ii  liba52-0.7.4-dev            0.7.4-16build1              library for decoding ATSC A/52 streams (development)
ii  libaften-dev                0.0.8+git20100105-0ubuntu2  audio AC3 encoder - development files
ii  libasound2-dbg              1.0.25-1ubuntu10.2          debugging symbols for libasound2
ii  libasound2-dev              1.0.25-1ubuntu10.2          shared library for ALSA applications -- development files
ii  libass-dev                  0.10.0-3                    development files for libass
ii  libdca-dev                  0.0.5-5                     decoding library for DTS Coherent Acoustics streams (development)
ii  libdts-dev                  0.0.5-5                     backward compatibility place-holder for libdca
ii  libfaac-dev                 1.28-0ubuntu2               AAC audio encoder (development)
ii  libfaad-dev                 2.7-7                       freeware Advanced Audio Decoder - development files
ii  libfreetype6-dev            2.4.8-1ubuntu2.1            FreeType 2 font engine, development files
ii  libfribidi-dev              0.19.2-1                    Development files for FreeBidi library
ii  libftgl-dev                 2.1.3~rc5-4                 development files for libftgl
ii  libftgl2                    2.1.3~rc5-4                 library to render text in OpenGL using FreeType
ii  libglib2.0-0-dbg            2.32.3-0ubuntu1             Debugging symbols for the GLib libraries
ii  libglib2.0-dev              2.32.3-0ubuntu1             Development files for the GLib library
ii  libmad0-dev                 0.15.1b-7ubuntu1            MPEG audio decoder development library
ii  libmp3lame-dev              3.99.3+repack1-1            MP3 encoding library (development)
ii  libopencore-amrnb-dev       0.1.2-1                     Adaptive Multi Rate speech codec - development files
ii  libopencore-amrnb0-dbg      0.1.2-1                     Adaptive Multi Rate speech codec - debugging symbols
ii  libopencore-amrwb-dev       0.1.2-1                     Adaptive Multi-Rate - Wideband speech codec - development files
ii  libopencore-amrwb0-dbg      0.1.2-1                     Adaptive Multi-Rate - Wideband speech codec - debugging symbols
ii  libpng12-dev                1.2.46-3ubuntu4             PNG library - development
ii  libqt4-dbg                  4:4.8.1-0ubuntu4.4          Qt 4 library debugging symbols
ii  libqt4-dev                  4:4.8.1-0ubuntu4.4          Qt 4 development files
ii  libqt4-opengl-dev           4:4.8.1-0ubuntu4.4          Qt 4 OpenGL library development files
ii  libqt4-script               4:4.8.1-0ubuntu4.4          Qt 4 script module
ii  libqt4-script-dbg           4:4.8.1-0ubuntu4.4          Qt 4 script library debugging symbols
ii  libsamplerate0-dev          0.1.8-4                     Development files for audio sample rate conversion
ii  libsdl-sound1.2-dev         1.0.3-4                     Development files for SDL_sound
ii  libsqlite3-0-dbg            3.7.9-2ubuntu1.1            SQLite 3 debugging symbols
ii  libsqlite3-dev              3.7.9-2ubuntu1.1            SQLite 3 development files
ii  libtwolame-dev              0.3.13-1build1              MPEG Audio Layer 2 encoder (development files)
ii  libvdpau-dev                0.4.1-3ubuntu1.1            Video Decode and Presentation API for Unix (development files)
ii  libvorbis-dev               1.3.2-1ubuntu3              The Vorbis General Audio Compression Codec (development files)
ii  libvpx-dev                  1.1.0-1~ubuntu12.04.1~ppa1  VP8 video codec (development files)
ii  libvpx1-dbg                 1.1.0-1~ubuntu12.04.1~ppa1  VP8 video codec (debugging symbols)
ii  libwxsqlite3-2.8-0          2.1.3-1                     SQLite3 C++ wrapper for use in programs based on the wxWidgets
un  libx264-dev                 <none>                      (no description available)
ii  libxft-dev                  2.2.0-3ubuntu2              FreeType-based font drawing library for X (development files)
ii  libxml2-dbg                 2.7.8.dfsg-5.1ubuntu4.4     Debugging symbols for the GNOME XML library
ii  libxml2-dev                 2.7.8.dfsg-5.1ubuntu4.4     Development files for the GNOME XML library
ii  libxslt1-dbg                1.1.26-8ubuntu1.3           XSLT 1.0 processing library - debugging symbols
ii  libxv-dev                   2:1.0.6-2ubuntu0.1          X11 Video extension library (development headers)
ii  libxv1-dbg                  2:1.0.6-2ubuntu0.1          X11 Video extension library (debug package)
ii  libxvidcore-dev             2:1.3.2-6                   Open source MPEG-4 video codec (development)
ii  libxvmc1-dbg                2:1.0.6-1ubuntu2.1          X11 Video extension library (debug package)
ii  libzip-dev                  0.10-1ubuntu1               library for reading, creating, and modifying zip archives (development
ii  pkg-config                  0.26-1ubuntu1               manage compile and link flags for libraries
ii  sqlite3                     3.7.9-2ubuntu1.1            Command line interface for SQLite 3
ii  subversion                  1.6.17dfsg-3ubuntu3.3       Advanced version control system
ii  vdpauinfo                   0.0.6-1                     Video Decode and Presentation API for Unix (vdpauinfo utility)
ii  xsltproc                    1.1.26-8ubuntu1.3           XSLT 1.0 command line processor
ii  yasm                        1.1.0-1                     modular assembler with multiple syntaxes support

mean

You might have an incompatible vp8 library on your system

Trepak

I have installed:
x264 core:130 r2 c832fe9

First of all I installed the following libraries:


sudo apt-get install build-essential cmake cmake-data cmake-dbg fakeroot fontconfig g++ gcc gettext git liba52-0.7.4-dev libaften-dev libasound2-dev libasound2-dbg libass-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libfreetype6-dev libfribidi-dev libftgl-dev libftgl2 libglib2.0-dev libglib2.0-0-dbg libmad0-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrnb0-dbg libopencore-amrwb-dev libopencore-amrwb0-dbg libpng12-dev libqt4-dev libqt4-dbg libqt4-opengl-dev libqt4-script libqt4-script-dbg libsamplerate0-dev libsdl-sound1.2-dev libsqlite3-dev libsqlite3-0-dbg libtwolame-dev libvdpau-dev libvorbis-dev libvorbis-dev libvpx-dev libvpx1-dbg libwxsqlite3-2.8-0 libx264-dev libxft-dev libxml2-dev libxml2-dbg libxslt1-dbg libxv-dev libxv1-dbg libxvmc1-dbg libxvidcore-dev libzip-dev pkg-config sqlite3 subversion vdpauinfo xsltproc yasm


I compiled ffmpeg without any problem, but I always avidemux fails.

Thanks  :-[

Jan Gruuthuse

#4
x264 --version
Quotex264 0.133.2334 a3ac64b
built on Jun 13 2013, gcc: 4.6.3
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later

cmake --version
Quotecmake version 2.8.11
if your cmake is lower in version, please update:
Cmake download and install: http://www.cmake.org/cmake/resources/software.html#latest

Other problem could be the installed ffmpeg. If you build yourself and have non-free included: ffmpeg is not shareable. Avidemux normally uses internal ffmpeg.

Trepak

#5
x264:

x264 0.135.2 f0c1c53
built on Jul  4 2013, gcc: 4.6.3
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later


cmake:

cmake version 2.8.10.2


Try to compile the new version and this time I get an error before


-- Build files have been written to: /home/xxx/avidemux_2.6_branch_mean/buildQt4
** Failed at make, result in /tmp/logbuildQt4**



/home/xxx/avidemux_2.6_branch_mean/avidemux/qt4/common/ADM_videoCodec/src/ADM_videoCodec.cpp:95:13: error: ââ,¬ËœdecoderFFLIBVAââ,¬â,,¢ no se declaró en este ámbito
/home/xxx/avidemux_2.6_branch_mean/avidemux/qt4/common/ADM_videoCodec/src/ADM_videoCodec.cpp:95:29: error: ââ,¬Ëœdecââ,¬â,,¢ no se declaró en este ámbito
/home/xxx/avidemux_2.6_branch_mean/avidemux/qt4/common/ADM_videoCodec/src/ADM_videoCodec.cpp:95:37: error: expected type-specifier before ââ,¬ËœdecoderFFLIBVAââ,¬â,,¢
/home/xxx/avidemux_2.6_branch_mean/avidemux/qt4/common/ADM_videoCodec/src/ADM_videoCodec.cpp:95:37: error: expected ââ,¬Ëœ;ââ,¬â,,¢ before ââ,¬ËœdecoderFFLIBVAââ,¬â,,¢
/home/xxx/avidemux_2.6_branch_mean/avidemux/qt4/common/ADM_videoCodec/src/ADM_videoCodec.cpp:101:24: error: se dió un argumento de tipo ââ,¬Ëœ<type error>ââ,¬â,,¢ a ââ,¬Ëœdeleteââ,¬â,,¢, se esperaba un puntero
make[2]: *** [commonQt4/ADM_videoCodec/src/CMakeFiles/ADM_videocodec6.dir/ADM_videoCodec.cpp.o] Error 1
make[2]: se sale del directorio Ã,«/home/xxx/avidemux_2.6_branch_mean/buildQt4Ã,»
make[1]: *** [commonQt4/ADM_videoCodec/src/CMakeFiles/ADM_videocodec6.dir/all] Error 2
make[1]: *** Se espera a que terminen otras tareas....
Linking CXX static library libADM_UI_QT46.a
cd /home/xxx/avidemux_2.6_branch_mean/buildQt4/ADM_userInterfacesQT4 && /home/xxx/Support/cmake-2.8.10.2-Linux-i386/bin/cmake -P CMakeFiles/ADM_UI_QT46.dir/cmake_clean_target.cmake
cd /home/xxx/avidemux_2.6_branch_mean/buildQt4/ADM_userInterfacesQT4 && /home/xxx/Support/cmake-2.8.10.2-Linux-i386/bin/cmake -E cmake_link_script CMakeFiles/ADM_UI_QT46.dir/link.txt --verbose=1
/usr/bin/ar cr libADM_UI_QT46.a  CMakeFiles/ADM_UI_QT46.dir/ui_support.cpp.o
/usr/bin/ranlib libADM_UI_QT46.a
make[2]: se sale del directorio Ã,«/home/xxx/avidemux_2.6_branch_mean/buildQt4Ã,»
/home/xxx/Support/cmake-2.8.10.2-Linux-i386/bin/cmake -E cmake_progress_report /home/xxx/avidemux_2.6_branch_mean/buildQt4/CMakeFiles
[ 32%] Built target ADM_UI_QT46
make[1]: se sale del directorio Ã,«/home/xxx/avidemux_2.6_branch_mean/buildQt4Ã,»
make: *** [all] Error 2


Thanks for the help

Jan Gruuthuse

#6
you are using this to build?
cd ~/xxx/avidemux_2.6_branch_mean && svn update
cd ~/xxx/avidemux_2.6_branch_mean && bash bootStrap.bash --deb --with-qt4 --without-gtk --with-cli


My 12.04 kernel:
uname -r && dpkg --list | grep linux-image
Quote3.5.0-34-generic
ii  linux-image-3.5.0-34-generic                 3.5.0-34.55~precise1                                Linux kernel image for version 3.5.0 on 64 bit x86 SMP
ii  linux-image-generic-lts-quantal              3.5.0.34.41                                         Generic Linux kernel image

Jan Gruuthuse

Quote from: Trepak on July 04, 2013, 04:24:10 PM
I have installed:
x264 core:130 r2 c832fe9

First of all I installed the following libraries:


sudo apt-get install build-essential cmake cmake-data cmake-dbg fakeroot fontconfig g++ gcc gettext git liba52-0.7.4-dev libaften-dev libasound2-dev libasound2-dbg libass-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libfreetype6-dev libfribidi-dev libftgl-dev libftgl2 libglib2.0-dev libglib2.0-0-dbg libmad0-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrnb0-dbg libopencore-amrwb-dev libopencore-amrwb0-dbg libpng12-dev libqt4-dev libqt4-dbg libqt4-opengl-dev libqt4-script libqt4-script-dbg libsamplerate0-dev libsdl-sound1.2-dev libsqlite3-dev libsqlite3-0-dbg libtwolame-dev libvdpau-dev libvorbis-dev libvorbis-dev libvpx-dev libvpx1-dbg libwxsqlite3-2.8-0 libx264-dev libxft-dev libxml2-dev libxml2-dbg libxslt1-dbg libxv-dev libxv1-dbg libxvmc1-dbg libxvidcore-dev libzip-dev pkg-config sqlite3 subversion vdpauinfo xsltproc yasm

there is libvorbis-dev libvorbis-dev, remove one libvorbis-dev in above command and run it again to be certain.

mean

Remove these 2 if you have them
libvpx-dev               
libvpx1  (-debug)

Trepak

#9
Quote from: Jan Gruuthuse on July 05, 2013, 05:59:21 AM
you are using this to build?
cd ~/xxx/avidemux_2.6_branch_mean && svn update
cd ~/xxx/avidemux_2.6_branch_mean && bash bootStrap.bash --deb --with-qt4 --without-gtk --with-cli


My 12.04 kernel:
uname -r && dpkg --list | grep linux-image
Quote3.5.0-34-generic
ii  linux-image-3.5.0-34-generic                 3.5.0-34.55~precise1                                Linux kernel image for version 3.5.0 on 64 bit x86 SMP
ii  linux-image-generic-lts-quantal              3.5.0.34.41                                         Generic Linux kernel image

I have used...


cd ~/xxx/avidemux_2.6_branch_mean && svn update
cd ~/xxx/avidemux_2.6_branch_mean && bash bootStrap.bash --deb --with-qt4 --without-gtk --with-cli --with-plugins



3.2.0-48-generic
ii  linux-image-3.2.0-48-generic           3.2.0-48.74                                Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii  linux-image-generic                    3.2.0.48.58                                Generic Linux kernel image


Quote from: mean on July 05, 2013, 12:43:30 PM
Remove these 2 if you have them
libvpx-dev               
libvpx1  (-debug)

Thanks try again

Edit: The same error...


-- Build files have been written to: /home/xxx/avidemux_2.6_branch_mean/buildQt4
** Failed at make, result in /tmp/logbuildQt4**

Jan Gruuthuse

You don't have path names that use non English ascii like these:
QuoteáüéñíÑóÃ,¿ÃºÃ,¡ÃÃ‰ÃÃ“ÚÃÅ"
?

Jan Gruuthuse

I'm nearly at the end of my ideas.
attached build qt4 log for r8755
on this platform:
_____________________________________________
Compiler: GCC 4.6.3
cmake: 2.8.11
Build Target: Linux (x86-64)
User Interface: Qt (4.8.1)
_____________________________________________
Kernel: Linux 3.5.0-36-generic (x86_64)
Distribution: Linux Ubuntu 12.04.2 LTS (Precise Pangolin)

Display Server:  X Server 1.13.0
Display Driver: VMware, Inc.
Intel Core i7-3770K @ 3.50GHz (4 Cores/8 Threads) with 16 GB ram
Graphics: NVIDIA GeForce GT 520/PCIe/SSE2 1024MB (810/535MHz)
OpenGL render:   NVIDIA Corporation
Version:   4.2.0 NVIDIA 304.88
_____________________________________________

Trepak

#12
Quote from: Jan Gruuthuse on July 05, 2013, 03:40:08 PM
You don't have path names that use non English ascii like these:
QuoteáüéñíÑóÃ,¿ÃºÃ,¡ÃÃ‰ÃÃ“ÚÃÅ"
?

no, I have not.  :(

Jan Gruuthuse

Don't know what is going on? Hope the developer has an idea what is going on your computer.
1st difference:
after line 5 this one is missing in your log
make -f commonQt4/ADM_editor/src/CMakeFiles/ADM_editor6.dir/build.make commonQt4/ADM_editor/src/CMakeFiles/ADM_editor6.dir/depend
I don't think you do yourself favors with this:
/home/xxx/Support/cmake-2.8.10.2-Linux-i386/bin/cmake versus /usr/local/bin/cmake
This is far beyond me as user.

Trepak

I installed the following libraries:


sudo apt-get install build-essential cmake cmake-data cmake-dbg fakeroot fontconfig g++ gcc gettext git liba52-0.7.4-dev libaften-dev libasound2-dev libasound2-dbg libass-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libfreetype6-dev libfribidi-dev libftgl-dev libftgl2 libglib2.0-dev libglib2.0-0-dbg libmad0-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrnb0-dbg libopencore-amrwb-dev libopencore-amrwb0-dbg libpng12-dev libqt4-dev libqt4-dbg libqt4-opengl-dev libqt4-script libqt4-script-dbg libsamplerate0-dev libsdl-sound1.2-dev libsqlite3-dev libsqlite3-0-dbg libtwolame-dev libvdpau-dev libvorbis-dev libvorbis-dev libvpx-dev libvpx1-dbg libwxsqlite3-2.8-0 libx264-dev libxft-dev libxml2-dev libxml2-dbg libxslt1-dbg libxv-dev libxv1-dbg libxvmc1-dbg libxvidcore-dev libzip-dev pkg-config sqlite3 subversion vdpauinfo xsltproc yasm


Then I executed this:


svn co svn://svn.berlios.de/avidemux/branches/avidemux_2.6_branch_mean



cd avidemux_2.6_branch_mean && svn update



bash bootStrap.bash --deb --with-qt4 --without-gtk --with-cli


And the result is this:


-- Build files have been written to: /home/xxx/avidemux_2.6_branch_mean/buildQt4
** Failed at make, result in /tmp/logbuildQt4**


Qt4 is compiled well before but I did the same mistake... r8766 buildPluginsCommon ** Failed at make, now does not compile Qt4

The truth is that not where the problem  :(