News:

--

Main Menu

Unable to load jpegs created in gimp.

Started by 3d420, November 21, 2016, 08:07:14 PM

Previous topic - Next topic

3d420

cd ~/avidemux2 && bash bootStrap.bash --deb --rebuild 2>&1 | tee ~/adm-build.log
CMAKE Version : 2.8.12
Cmake version >=2.8.7 doesnt need fakeroot
Build configuration :
******************* :
Build type :
Release build
    Core will be built
     Gtk will be skipped
    Qt5 will be built
    Cli will be built
    Plugins will be built
**BootStrapping avidemux **
Top dir : /home/ogf/avidemux2
Fake installation directory=/home/ogf/avidemux2/install
Cleaning packages
** CORE **
Building buildCore from ../avidemux_core with EXTRA=<>, DEBUG=<>

#########################################
Configure for avidemux core libs Started
#########################################

-- [BUILD] EXTRA Cflags:
-- [BUILD] EXTRA CXXflags:
-- [BUILD] EXTRA LDflags:
-- [BUILD] Compiler /usr/bin/c++
-- [BUILD] Linker   /usr/bin/ld
-- Top Source dir is /home/ogf/avidemux2/avidemux_core/..

-- Checking Compiler support
-- *************************
-- Checking if compiler supports x86 32-bit - Yes

-- CMAKE_INSTALL_PREFIX: /usr
-- AVIDEMUX_INSTALL_DIR: /usr
-- FAKEROOT                   : /home/ogf/avidemux2/install/
-- AVIDEMUX_BIN_DIR           : /usr/bin
-- AVIDEMUX_LIB_DIR           : /usr/lib
-- AVIDEMUX_INCLUDE_DIR       : /usr/include
-- AVIDEMUX_SEARCH_INCLUDE_DIR: /home/ogf/avidemux2/install//usr/include
-- AVIDEMUX_SEARCH_LIB_DIR    : /home/ogf/avidemux2/install//usr/lib

-- Checking for SCM
-- ****************
-- Seems to be git or git-svn...
-- Getting git-svn version from /home/ogf/avidemux2/avidemux_core
-- Top dir is </home/ogf/avidemux2
/home/ogf/avidemux2/avidemux_core>
-- <4f1eb5a4a7f><161125>==> 161125_4f1eb5a4a7f

-- Checking for pkg-config
-- ***********************
-- Found pkg-config

-- Checking for pthreads
-- *********************
-- Found pthreads

-- Checking for zlib
-- *****************
-- Found zlib

-- Checking for gettext
-- ********************
Could not find Gettext
-- libintl not required for gettext support

-- Checking for SDL>=2 (only for windows)
-- **************************************
Disabled per request

-- Checking for XVideo
-- *******************
-- Found XVideo

-- Checking for execinfo
-- *********************
-- Found execinfo
-- execinfo not required

-- Checking for VDPAU
-- *******************
-- Found VDPAU

-- Checking for LIBVA
-- *******************
-- LibVA cflags=<>
Could not find LIBVA

-- Checking for NVENC
-- *****************
--  nvenc header not Found

-- Checking for ftello
-- ********************
-- ftello present

-- Checking for sqlite
-- *******************
-- Found SQLite

-- ADM_coreConfig.h generated

-- Using native unix setup
-- Creating /home/ogf/avidemux2/buildCore/ffmpeg
-- Configuring FFmpeg
-- Configuring done, processing
-- AVFORMAT : 57, Major :
-- AVCODEC  : 57, Major :
-- AVUTIL   : 55, Major :
-- POSTPRC  : 54, Major :
-- SWSCALE  : 4, Major :

-- AVFORMAT : 57, Major :
-- AVCODEC  : 57, Major :
-- AVUTIL   : 55, Major :
-- POSTPRC  : 54, Major :
-- SWSCALE  : 4, Major :

-- Patching Linux config.mak
patching file config.mak
Hunk #1 succeeded at 110 with fuzz 2 (offset 51 lines).

**************************
***  Optional Library  ***
***      Summary       ***
**************************
*** Video Encoder      ***
    NVENC          No
*** Miscellaneous      ***
    gettext        Yes
    SDL            No
    XVideo         Yes
    VDPAU          Yes
    LIBVA          No
**************************
***   Release Build    ***
**************************

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

-- Configuring done
-- Generating done
-- Build files have been written to: /home/ogf/avidemux2/buildCore
** Failed at make, result in /tmp/logbuildCore**
ogf@freekbox:~/avidemux2$

eumagga0x2a

Please attach the admAsNeeded.cmake file you've edited and logbuildCore.tar.bz2 generated by

tar -cvjf ~/logbuildCore.tar.bz2 /tmp/logbuildCore

3d420

tar -cvjf ~/logbuildCore.tar.bz2 /tmp/logbuildCore
tar: Removing leading `/' from member names
/tmp/logbuildCore
ogf@freekbox:~/avidemux2$

eumagga0x2a

Probably error on my part. Please revert the changes to admAsNeeded.cmake and replace

TARGET_LINK_LIBRARIES( ${name} "-Wl,--as-needed")

at the line 3 with

TARGET_LINK_LIBRARIES( ${name} "-lc,-Wl,--as-needed")

then retry to build Avidemux.

3d420

cd ~/avidemux2 && bash bootStrap.bash --deb --rebuild 2>&1 | tee ~/adm-build.log
CMAKE Version : 2.8.12
Cmake version >=2.8.7 doesnt need fakeroot
Build configuration :
******************* :
Build type :
Release build
    Core will be built
     Gtk will be skipped
    Qt5 will be built
    Cli will be built
    Plugins will be built
**BootStrapping avidemux **
Top dir : /home/ogf/avidemux2
Fake installation directory=/home/ogf/avidemux2/install
Cleaning packages
** CORE **
Building buildCore from ../avidemux_core with EXTRA=<>, DEBUG=<>

#########################################
Configure for avidemux core libs Started
#########################################

-- [BUILD] EXTRA Cflags:
-- [BUILD] EXTRA CXXflags:
-- [BUILD] EXTRA LDflags:
-- [BUILD] Compiler /usr/bin/c++
-- [BUILD] Linker   /usr/bin/ld
-- Top Source dir is /home/ogf/avidemux2/avidemux_core/..

-- Checking Compiler support
-- *************************
-- Checking if compiler supports x86 32-bit - Yes

-- CMAKE_INSTALL_PREFIX: /usr
-- AVIDEMUX_INSTALL_DIR: /usr
-- FAKEROOT                   : /home/ogf/avidemux2/install/
-- AVIDEMUX_BIN_DIR           : /usr/bin
-- AVIDEMUX_LIB_DIR           : /usr/lib
-- AVIDEMUX_INCLUDE_DIR       : /usr/include
-- AVIDEMUX_SEARCH_INCLUDE_DIR: /home/ogf/avidemux2/install//usr/include
-- AVIDEMUX_SEARCH_LIB_DIR    : /home/ogf/avidemux2/install//usr/lib

-- Checking for SCM
-- ****************
-- Seems to be git or git-svn...
-- Getting git-svn version from /home/ogf/avidemux2/avidemux_core
-- Top dir is </home/ogf/avidemux2
/home/ogf/avidemux2/avidemux_core>
-- <4f1eb5a4a7f><161125>==> 161125_4f1eb5a4a7f

-- Checking for pkg-config
-- ***********************
-- Found pkg-config

-- Checking for pthreads
-- *********************
-- Found pthreads

-- Checking for zlib
-- *****************
-- Found zlib

-- Checking for gettext
-- ********************
Could not find Gettext
-- libintl not required for gettext support

-- Checking for SDL>=2 (only for windows)
-- **************************************
Disabled per request

-- Checking for XVideo
-- *******************
-- Found XVideo

-- Checking for execinfo
-- *********************
-- Found execinfo
-- execinfo not required

-- Checking for VDPAU
-- *******************
-- Found VDPAU

-- Checking for LIBVA
-- *******************
-- LibVA cflags=<>
Could not find LIBVA

-- Checking for NVENC
-- *****************
--  nvenc header not Found

-- Checking for ftello
-- ********************
-- ftello present

-- Checking for sqlite
-- *******************
-- Found SQLite

-- ADM_coreConfig.h generated

-- Using native unix setup
-- Creating /home/ogf/avidemux2/buildCore/ffmpeg
-- Configuring FFmpeg
-- Configuring done, processing
-- AVFORMAT : 57, Major :
-- AVCODEC  : 57, Major :
-- AVUTIL   : 55, Major :
-- POSTPRC  : 54, Major :
-- SWSCALE  : 4, Major :

-- AVFORMAT : 57, Major :
-- AVCODEC  : 57, Major :
-- AVUTIL   : 55, Major :
-- POSTPRC  : 54, Major :
-- SWSCALE  : 4, Major :

-- Patching Linux config.mak
patching file config.mak
Hunk #1 succeeded at 110 with fuzz 2 (offset 51 lines).

**************************
***  Optional Library  ***
***      Summary       ***
**************************
*** Video Encoder      ***
    NVENC          No
*** Miscellaneous      ***
    gettext        Yes
    SDL            No
    XVideo         Yes
    VDPAU          Yes
    LIBVA          No
**************************
***   Release Build    ***
**************************

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

-- Configuring done
-- Generating done
-- Build files have been written to: /home/ogf/avidemux2/buildCore
** Failed at make, result in /tmp/logbuildCore**
ogf@freekbox:~/avidemux2$

3d420

 tar -cvjf ~/logbuildCore.tar.bz2 /tmp/logbuildCore
tar: Removing leading `/' from member names
/tmp/logbuildCore
ogf@freekbox:~/avidemux2$

eumagga0x2a

Could you please actually attach logbuildCore.tar.bz2? I don't need the messages tar prints into the terminal.


eumagga0x2a

Thanks. Maybe the last attempt for tonight: Please revert the changes to admAsNeeded.cmake (delete "-lc," added there), then try to build Avidmux using

export LDFLAGS="-lc -Wl,--as-needed"
cd ~/avidemux2 && bash bootStrap.bash --deb --rebuild 2>&1 | tee ~/adm-build.log


If this fails too (it will probably fail, because the linker seems not to understand the "-lc" option), then we'll continue tomorrow or on Sunday at the latest.

eumagga0x2a

Just my stupid error, it should have been

TARGET_LINK_LIBRARIES( ${name} "-lc -Wl,--as-needed")

(with a space instead of a comma). Nevermind, please proceed as explained in my last reply.

3d420


-- Installing: /home/ogf/avidemux2/install/usr/lib/libADM_UI_Cli6.so
-- Removed runtime path from "/home/ogf/avidemux2/install/usr/lib/libADM_UI_Cli6.so"
Installing cli
** Plugins **
Building buildPluginsCommon from ../avidemux_plugins with EXTRA=<-DPLUGIN_UI=COMMON>, DEBUG=<>

#####################################
Plugins Configure Started
#####################################

-- Checking for avidemux development files ..
-- Checking for avidemux include folder (i.e. CMAKE_INSTALL_PREFIX/include/avidemux/2.6, looking in /home/ogf/avidemux2/install//usr/include/avidemux/2.6
-- Found avidemux include folder. good.
-- Checking for cmake subfolder
-- Found cmake subfolder.good.
-- Cmake module path = /home/ogf/avidemux2/install//usr/include/avidemux/2.6/cmake;/home/ogf/avidemux2/install//usr/include/avidemux/2.6/cmake;
-- [BUILD] EXTRA Cflags:
-- [BUILD] EXTRA CXXflags:
-- [BUILD] EXTRA LDflags:-lc -Wl,--as-needed
-- [BUILD] Compiler /usr/bin/c++
-- [BUILD] Linker   /usr/bin/ld
-- Top Source dir is

-- Checking Compiler support
-- *************************
-- Checking if compiler supports x86 32-bit - Yes

-- CMAKE_INSTALL_PREFIX: /usr
-- AVIDEMUX_INSTALL_DIR: /usr
-- FAKEROOT                   : /home/ogf/avidemux2/install/
-- AVIDEMUX_BIN_DIR           : /usr/bin
-- AVIDEMUX_LIB_DIR           : /usr/lib
-- AVIDEMUX_INCLUDE_DIR       : /usr/include
-- AVIDEMUX_SEARCH_INCLUDE_DIR: /home/ogf/avidemux2/install//usr/include
-- AVIDEMUX_SEARCH_LIB_DIR    : /home/ogf/avidemux2/install//usr/lib

-- Checking for SCM
-- ****************
-- Seems to be git or git-svn...
-- Getting git-svn version from /home/ogf/avidemux2/avidemux_plugins
-- Top dir is </home/ogf/avidemux2
/home/ogf/avidemux2/avidemux_plugins>
-- <4f1eb5a4a7f><161125>==> 161125_4f1eb5a4a7f

-- Checking for pkg-config
-- ***********************
-- Found pkg-config

-- Checking for pthreads
-- *********************
-- Found pthreads

-- Checking for zlib
-- *****************
-- Found zlib

-- AVFORMAT : 57, Major :
-- AVCODEC  : 57, Major :
-- AVUTIL   : 55, Major :
-- POSTPRC  : 54, Major :
-- SWSCALE  : 4, Major :

-- CMAKE_INSTALL_PREFIX: /usr
-- AVIDEMUX_INSTALL_DIR: /usr
-- FAKEROOT                   : /home/ogf/avidemux2/install/
-- AVIDEMUX_BIN_DIR           : /usr/bin
-- AVIDEMUX_LIB_DIR           : /usr/lib
-- AVIDEMUX_INCLUDE_DIR       : /usr/include
-- AVIDEMUX_SEARCH_INCLUDE_DIR: /home/ogf/avidemux2/install//usr/include
-- AVIDEMUX_SEARCH_LIB_DIR    : /home/ogf/avidemux2/install//usr/lib
-- Plugin UI : COMMON

-- Checking for FAAD
-- *****************
-- Could not find faacDecInit in /usr/lib/i386-linux-gnu/libfaad.so
--
-- Found NeAACDecInit in /usr/lib/i386-linux-gnu/libfaad.so
-- Found FAAD
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libfaad.so

-- Checking for LIBVORBIS
-- *******************
-- Found LIBVORBIS
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libvorbis.so

-- Checking for libdca
-- *******************
-- Trying libdca 0.5
-- Found libdca
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libdca.so

-- Checking for opencore-amrwb
-- ***************************
Could not find opencore-amrwb

-- Checking for opencore-amrnb
-- ***************************
Could not find opencore-amrnb

-- Checking for OPUS
-- *****************
-- Found LIBOPUS
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libopus.so
-- Checking for ALSA
-- *****************
-- ALSA not found

-- Checking for aRts
-- *****************
Could not find aRts

-- Checking for ESD
-- ****************
Could not find ESD

-- Checking for JACK
-- *****************
Could not find JACK

-- Checking for OSS
-- ****************
-- Found OSS
-- Compiler Flags: /usr/include/i386-linux-gnu
-- Linker Flags  :

-- Checking for PULSEAUDIOSIMPLE
-- *****************************
-- HACK : we need both libpulse and libpulse-simple when using -W-l,-z,defs

-- Checking for Vpx
-- *****************
Could not find Vpx

-- Checking for Aften
-- ******************
-- Found Aften
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/libaften.so

-- Checking for TWOLAME
-- *****************
Could not find TWOLAME

-- Checking for LAME
-- *****************
-- Found LAME
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libmp3lame.so

-- Checking for DCAENC
-- *******************
Could not find DCAENC

-- Checking for FAAC
-- *****************
-- Found FAAC
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libfaac.so

-- Checking for FDK_AAC
-- *****************
Could not find FDK_AAC


-- Checking for Vorbis
-- *******************
-- Found Vorbis
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libvorbis.so /usr/lib/i386-linux-gnu/libvorbisenc.so

-- Checking for VAPOURSYNTH
-- ***********************
-- checking for module 'vapoursynth-script'
--   package 'vapoursynth-script' not found

-- Checking for Xvid
-- *****************
Could not find Xvid

-- Checking for x264
-- *****************
--   core version: 142
-- Found x264
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libx264.so

-- x264 plugin activated.
-- Checking for x265
-- *****************
--   No working version found
Could not find x265

-- x265 disabled.
-- Checking for FreeType2
-- **********************
-- Found FreeType2
-- Compiler Flags: -I/usr/include/freetype2
-- Linker Flags  : -lfreetype

-- Checking for libiconv
-- *********************
Could not find libiconv
-- libiconv is probably not needed

-- Checking for FontConfig
-- ***********************
-- Found FontConfig
-- Compiler Flags: -I/usr/include/freetype2
-- Linker Flags  : -lfontconfig -lfreetype

-- Checking for Fridibi (want 0.19)
-- **************************************
-- Found Fribidi
-- Compiler Flags: -I/usr/include/fribidi
-- Linker Flags  : -lfribidi
-- Fridibi version 0.19.6

-- Yasm found as /usr/bin/yasm

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

-- Packager=deb, valid choices= {deb,rpm,tgz,none}
-- Checking if we have USE_FAAD set
--       yes
-- Checking if we have USE_VORBIS set
--       yes
-- Checking if we have USE_LIBOPUS set
--       yes
-- Checking if we have USE_LAME set
--       yes
-- Checking if we have USE_FAAC set
--       yes
-- Checking if we have USE_AFTEN set
--       yes
-- Checking if we have USE_XVID set
--       no

-- Configuring done
-- Generating done
-- Build files have been written to: /home/ogf/avidemux2/buildPluginsCommon
** Failed at make, result in /tmp/logbuildPluginsCommon**
ogf@freekbox:~/avidemux2$

eumagga0x2a

#86
The build failed in PluginsCommon, you should have generated and attached a new logbuildPluginsCommon.tar.bz2 file, not the log for buildCore.

edit: I mean, please run

tar -cvjf ~/logbuildPluginsCommon.tar.bz2 /tmp/logbuildPluginsCommon

and attach the logbuildPluginsCommon.tar.bz2 file, I'd like to have a look.

You've correctly exported LDFLAGS, if this didn't change the reason why the build failed, we'll stop for now and continue tomorrow or on Sunday. You've already contributed a lot to Avidemux simply by showing where things don't work.

3d420

#87
I hope this is right.
Thanks for that edit, I was stumped.

eumagga0x2a

#88
Yes, and it is the same error, unfortunately  :(

Could you please just test the following change to CMakeLists.txt in the folder avidemux2/avidemux_plugins/ADM_audioEncoders/lavcodec: Insert a line

TARGET_LINK_LIBRARIES(ADM_ae_lav_${_ext} "c")

just after the line

TARGET_LINK_LIBRARIES(ADM_ae_lav_${_ext}  ADM_libavcodec ADM_libavutil)

save the file and rerun

cd ~/avidemux2 && bash bootStrap.bash --deb --rebuild 2>&1 | tee ~/adm-build.log

The build will fail, but it should fail at another location this time.

edit: this means, I'd like to have a look at a new logbuildPluginsCommon.tar.bz2 after the build fails!

edit: to be on safe grounds, please delete the folder buildPluginsCommon prior to the compilation attempt.

3d420

When I go to CMakeLists.txt in the folder avidemux2/avidemux_plugins/ADM_audioEncoders/lavcodec: I get another directory, not the text you described.