Author Topic: Unable to load jpegs created in gimp.  (Read 13649 times)

3d420

  • Jr. Member
  • **
  • Posts: 53
Re: Unable to load jpegs created in gimp.
« Reply #60 on: November 25, 2016, 09:52:53 PM »
Quote
compress (.tar.bz2) and attach the file logbuildQt5 from the /tmp folder.

I have not rebooted, but I have no idea how to do what you suggest.
« Last Edit: November 25, 2016, 10:00:22 PM by 3d420 »

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3186
Re: Unable to load jpegs created in gimp.
« Reply #61 on: November 25, 2016, 10:07:39 PM »
The command line way to do this would be

Code: [Select]
tar -cvjf ~/logbuildQt5.tar.bz2 /tmp/logbuildQt5
and attach the "logbuildQt5.tar.bz2" file from your home directory.

3d420

  • Jr. Member
  • **
  • Posts: 53
Re: Unable to load jpegs created in gimp.
« Reply #62 on: November 25, 2016, 10:12:51 PM »
The command line way to do this would be

Code: [Select]
tar -cvjf ~/logbuildQt5.tar.bz2 /tmp/logbuildQt5
and attach the "logbuildQt5.tar.bz2" file from your home directory.
I understand the first part, but how do I 'attach the "logbuildQt5.tar.bz2" file from your home directory.'?

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3186
Re: Unable to load jpegs created in gimp.
« Reply #63 on: November 25, 2016, 10:26:36 PM »
While writing your reply, please pay attention to "Attachments and other options" link below the text input. Click on it.

Meanwhile, I would like to find out which build dependencies are installed and which are missing:

Code: [Select]
dpkg -l gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm libsqlite3-dev  build-essential  qttools5-dev-tools qtbase5-dev libaften-dev libmp3lame-dev libx264-dev  libfaad-dev libfaac-dev libvdpau-dev libx265-dev libopus-dev libvorbis-dev libogg-dev libfribidi-dev libfontconfig1-dev libxv-dev libpulse-dev libdca-dev

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3186
Re: Unable to load jpegs created in gimp.
« Reply #64 on: November 25, 2016, 10:45:10 PM »
By the way, I'll have very little time for Avidemux support tomorrow. It would be preferable to solve the build problem today.

3d420

  • Jr. Member
  • **
  • Posts: 53
Re: Unable to load jpegs created in gimp.
« Reply #65 on: November 25, 2016, 10:56:03 PM »
dpkg -l gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm libsqlite3-dev  build-essential  qttools5-dev-tools qtbase5-dev libaften-dev libmp3lame-dev libx264-dev  libfaad-dev libfaac-dev libvdpau-dev libx265-dev libopus-dev libvorbis-dev libogg-dev libfribidi-dev libfontconfig1-dev libxv-dev libpulse-dev libdca-dev
Desired=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      Architecture Description
+++-==============-============-============-=================================
ii  build-essentia 11.6ubuntu6  i386         Informational list of build-essen
ii  cmake          2.8.12.2-0ub i386         cross-platform, open-source make
ii  fakeroot       1.20-3ubuntu i386         tool for simulating superuser pri
ii  g++            4:4.8.2-1ubu i386         GNU C++ compiler
ii  gcc            4:4.8.2-1ubu i386         GNU C compiler
ii  libaften-dev   0.0.8+git201 i386         audio AC3 encoder - development f
ii  libdca-dev:i38 0.0.5-6ubunt i386         decoding library for DTS Coherent
ii  libfaac-dev:i3 1.28-6       i386         AAC audio encoder (development)
ii  libfaad-dev:i3 2.7-8        i386         freeware Advanced Audio Decoder -
ii  libfontconfig1 2.11.0-0ubun i386         generic font configuration librar
ii  libfribidi-dev 0.19.6-1     i386         Development files for FreeBidi li
ii  libmp3lame-dev 3.99.5+repac i386         MP3 encoding library (development
ii  libogg-dev:i38 1.3.1-1ubunt i386         Ogg bitstream library development
ii  libopus-dev    1.1-0ubuntu1 i386         Opus codec library development fi
ii  libpng12-dev   1.2.50-1ubun i386         PNG library - development
ii  libpulse-dev:i 1:4.0-0ubunt i386         PulseAudio client development hea
ii  libsqlite3-dev 3.8.2-1ubunt i386         SQLite 3 development files
ii  libvdpau-dev:i 0.7-1ubuntu0 i386         Video Decode and Presentation API
ii  libvorbis-dev: 1.3.2-1.3ubu i386         The Vorbis General Audio Compress
ii  libx264-dev:i3 2:0.142.2389 i386         development files for libx264
ii  libxv-dev:i386 2:1.0.10-1   i386         X11 Video extension library (deve
ii  make           3.81-8.2ubun i386         An utility for Directing compilat
ii  pkg-config     0.26-1ubuntu i386         manage compile and link flags for
ii  qtbase5-dev:i3 5.2.1+dfsg-1 i386         Qt 5 base development files
ii  qttools5-dev-t 5.2.1-8build i386         Qt 5 development tools
ii  yasm           1.2.0-1ubunt i386         modular assembler with multiple s
dpkg-query: no packages found matching libx265-dev
ogf@freekbox:~/avidemux2$

3d420

  • Jr. Member
  • **
  • Posts: 53
Re: Unable to load jpegs created in gimp.
« Reply #66 on: November 25, 2016, 10:57:31 PM »
tar -cvjf ~/logbuildQt5.tar.bz2 /tmp/logbuildQt5
tar: Removing leading `/' from member names
/tmp/logbuildQt5
ogf@freekbox:~/avidemux2$

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3186
Re: Unable to load jpegs created in gimp.
« Reply #67 on: November 25, 2016, 11:07:32 PM »
Thank you, all the build dependencies from the script (except libx265, but this doesn't matter) are there, the build fails at

Code: [Select]
In file included from /home/ogf/avidemux2/avidemux/qt4/ADM_openGL/src/ADM_openGl.cpp:6:0:
/home/ogf/avidemux2/avidemux/qt4/ADM_openGL/src/../include/ADM_openGl.h:40:29: fatal error: QtOpenGL/QtOpenGL: No such file or directory
 #include <QtOpenGL/QtOpenGL>
                             ^
compilation terminated.

where the compiler can't find the file /usr/include/qt5/QtOpenGL/QtOpenGL which belongs to package libqt5opengl5-dev which is missing in the script! Please proceed with

Code: [Select]
sudo apt-get install libqt5opengl5-dev
then run

Code: [Select]
cd ~/avidemux2 && bash bootStrap.bash --deb --rebuild 2>&1 | tee ~/adm-build.log
(edit: added "--deb" option)

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3186
Re: Unable to load jpegs created in gimp.
« Reply #68 on: November 25, 2016, 11:12:13 PM »
Actually, you've found a bug in the script  :)

3d420

  • Jr. Member
  • **
  • Posts: 53
Re: Unable to load jpegs created in gimp.
« Reply #69 on: November 25, 2016, 11:21:24 PM »
[ 81%] Built target ADM_UI_Cli6
make -f common/ADM_videoFilter2/src/CMakeFiles/ADM_internalVideoFilter6.dir/build.make common/ADM_videoFilter2/src/CMakeFiles/ADM_internalVideoFilter6.dir/depend
make[2]: Entering directory `/home/ogf/avidemux2/buildCli'
cd /home/ogf/avidemux2/buildCli && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ogf/avidemux2/avidemux/cli /home/ogf/avidemux2/avidemux/common/ADM_videoFilter2/src /home/ogf/avidemux2/buildCli /home/ogf/avidemux2/buildCli/common/ADM_videoFilter2/src /home/ogf/avidemux2/buildCli/common/ADM_videoFilter2/src/CMakeFiles/ADM_internalVideoFilter6.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/home/ogf/avidemux2/buildCli'
make -f common/ADM_videoFilter2/src/CMakeFiles/ADM_internalVideoFilter6.dir/build.make common/ADM_videoFilter2/src/CMakeFiles/ADM_internalVideoFilter6.dir/build
make[2]: Entering directory `/home/ogf/avidemux2/buildCli'
make[2]: Nothing to be done for `common/ADM_videoFilter2/src/CMakeFiles/ADM_internalVideoFilter6.dir/build'.
make[2]: Leaving directory `/home/ogf/avidemux2/buildCli'
/usr/bin/cmake -E cmake_progress_report /home/ogf/avidemux2/buildCli/CMakeFiles  66 67 68 69
[ 85%] Built target ADM_internalVideoFilter6
make -f common/ADM_script2/src/CMakeFiles/ADM_script6.dir/build.make common/ADM_script2/src/CMakeFiles/ADM_script6.dir/depend
make[2]: Entering directory `/home/ogf/avidemux2/buildCli'
cd /home/ogf/avidemux2/buildCli && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ogf/avidemux2/avidemux/cli /home/ogf/avidemux2/avidemux/common/ADM_script2/src /home/ogf/avidemux2/buildCli /home/ogf/avidemux2/buildCli/common/ADM_script2/src /home/ogf/avidemux2/buildCli/common/ADM_script2/src/CMakeFiles/ADM_script6.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/home/ogf/avidemux2/buildCli'
make -f common/ADM_script2/src/CMakeFiles/ADM_script6.dir/build.make common/ADM_script2/src/CMakeFiles/ADM_script6.dir/build
make[2]: Entering directory `/home/ogf/avidemux2/buildCli'
make[2]: Nothing to be done for `common/ADM_script2/src/CMakeFiles/ADM_script6.dir/build'.
make[2]: Leaving directory `/home/ogf/avidemux2/buildCli'
/usr/bin/cmake -E cmake_progress_report /home/ogf/avidemux2/buildCli/CMakeFiles  76
[ 86%] Built target ADM_script6
make -f ADM_userInterfacesCli/ADM_shell/CMakeFiles/ADM_shellCli.dir/build.make ADM_userInterfacesCli/ADM_shell/CMakeFiles/ADM_shellCli.dir/depend
make[2]: Entering directory `/home/ogf/avidemux2/buildCli'
cd /home/ogf/avidemux2/buildCli && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ogf/avidemux2/avidemux/cli /home/ogf/avidemux2/avidemux/cli/ADM_userInterfaces/ADM_shell /home/ogf/avidemux2/buildCli /home/ogf/avidemux2/buildCli/ADM_userInterfacesCli/ADM_shell /home/ogf/avidemux2/buildCli/ADM_userInterfacesCli/ADM_shell/CMakeFiles/ADM_shellCli.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/home/ogf/avidemux2/buildCli'
make -f ADM_userInterfacesCli/ADM_shell/CMakeFiles/ADM_shellCli.dir/build.make ADM_userInterfacesCli/ADM_shell/CMakeFiles/ADM_shellCli.dir/build
make[2]: Entering directory `/home/ogf/avidemux2/buildCli'
make[2]: Nothing to be done for `ADM_userInterfacesCli/ADM_shell/CMakeFiles/ADM_shellCli.dir/build'.
make[2]: Leaving directory `/home/ogf/avidemux2/buildCli'
/usr/bin/cmake -E cmake_progress_report /home/ogf/avidemux2/buildCli/CMakeFiles  77
[ 87%] Built target ADM_shellCli
make -f CMakeFiles/avidemux3_cli.dir/build.make CMakeFiles/avidemux3_cli.dir/depend
make[2]: Entering directory `/home/ogf/avidemux2/buildCli'
cd /home/ogf/avidemux2/buildCli && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ogf/avidemux2/avidemux/cli /home/ogf/avidemux2/avidemux/cli /home/ogf/avidemux2/buildCli /home/ogf/avidemux2/buildCli /home/ogf/avidemux2/buildCli/CMakeFiles/avidemux3_cli.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/home/ogf/avidemux2/buildCli'
make -f CMakeFiles/avidemux3_cli.dir/build.make CMakeFiles/avidemux3_cli.dir/build
make[2]: Entering directory `/home/ogf/avidemux2/buildCli'
make[2]: Nothing to be done for `CMakeFiles/avidemux3_cli.dir/build'.
make[2]: Leaving directory `/home/ogf/avidemux2/buildCli'
/usr/bin/cmake -E cmake_progress_report /home/ogf/avidemux2/buildCli/CMakeFiles  88 89 90 91 92 93 94 95 96 97 98 99 100
[100%] Built target avidemux3_cli
make[1]: Leaving directory `/home/ogf/avidemux2/buildCli'
/usr/bin/cmake -E cmake_progress_start /home/ogf/avidemux2/buildCli/CMakeFiles 0
make -f CMakeFiles/Makefile2 preinstall
make[1]: Entering directory `/home/ogf/avidemux2/buildCli'
make[1]: Nothing to be done for `preinstall'.
make[1]: Leaving directory `/home/ogf/avidemux2/buildCli'
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /home/ogf/avidemux2/install/usr/bin/avidemux3_cli
-- Removed runtime path from "/home/ogf/avidemux2/install/usr/bin/avidemux3_cli"
-- Installing: /home/ogf/avidemux2/install/usr/include/avidemux/2.6/cli/config.h
-- Installing: /home/ogf/avidemux2/install/usr/include/avidemux/2.6/cli/ADM_UIs/DIA_flyDialogCli.h
-- Installing: /home/ogf/avidemux2/install/usr/include/avidemux/2.6/cli/ADM_UIs/ADM_UI_Cli6_export.h
-- Installing: /home/ogf/avidemux2/install/usr/lib/libADM_render6_cli.so
-- Removed runtime path from "/home/ogf/avidemux2/install/usr/lib/libADM_render6_cli.so"
-- 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=<>
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done

#####################################
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:
-- [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
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian

-- 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 PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Found pkg-config

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

-- Checking for zlib
-- *****************
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.8")
-- Found zlib

-- Checking system headers
-- ***********************
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found

-- 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
-- *****************
-- Found faad.h
-- Found faad library
-- Could not find faacDecInit in /usr/lib/i386-linux-gnu/libfaad.so
-- Change Dir: /home/ogf/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1361144314/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1361144314.dir/build.make CMakeFiles/cmTryCompileExec1361144314.dir/build
make[1]: Entering directory `/home/ogf/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/ogf/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1361144314.dir/CheckFunctionExists.c.o
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=faacDecInit -fmessage-length=0 -fmessage-length=0    -I"/usr/include" -o CMakeFiles/cmTryCompileExec1361144314.dir/CheckFunctionExists.c.o   -c /home/ogf/avidemux2/install/usr/include/avidemux/2.6/cmake/cmake_compile_check/CheckFunctionExists.c
Linking C executable cmTryCompileExec1361144314
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1361144314.dir/link.txt --verbose=1
/usr/bin/cc   -fmessage-length=0 -fmessage-length=0     CMakeFiles/cmTryCompileExec1361144314.dir/CheckFunctionExists.c.o  -o cmTryCompileExec1361144314 -rdynamic -lfaad
CMakeFiles/cmTryCompileExec1361144314.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x7): undefined reference to `faacDecInit'
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec1361144314] Error 1
make[1]: Leaving directory `/home/ogf/avidemux2/buildPluginsCommon/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec1361144314/fast] Error 2

-- 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
-- (-DOLD_FAAD_PROTO) required

-- Checking for LIBVORBIS
-- *******************
-- Found vorbis/codec.h
-- Found vorbis library
-- Found vorbis_synthesis_init in /usr/lib/i386-linux-gnu/libvorbis.so
-- Found LIBVORBIS
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libvorbis.so

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

-- Checking for opencore-amrwb
-- ***************************
Could not find opencore-amrwb/dec_if.h
Could not find opencore-amrwb

-- Checking for opencore-amrnb
-- ***************************
Could not find opencore-amrnb/interf_dec.h
Could not find opencore-amrnb

-- Checking for OPUS
-- *****************
-- Found opus/opus.h
-- Found opus library
-- Found opus_decoder_init in /usr/lib/i386-linux-gnu/libopus.so
-- Found LIBOPUS
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libopus.so
-- Checking for ALSA
-- *****************
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - not found
-- ALSA not found

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

-- Checking for ESD
-- ****************
Could not find esd.h
Could not find ESD

-- Checking for JACK
-- *****************
Could not find jack/jack.h
Could not find JACK

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

-- Checking for PULSEAUDIOSIMPLE
-- *****************************
-- checking for module 'libpulse-simple'
--   found libpulse-simple, version 4.0
-- Found PulseAudio Simple: pulse-simple;pulse
-- HACK : we need both libpulse and libpulse-simple when using -W-l,-z,defs

-- Checking for Vpx
-- *****************
Could not find vpx/vpx_decoder.h
Could not find Vpx

-- Checking for Aften
-- ******************
-- Found aften/aften.h
-- Found aften library
-- Found aften_encode_init in /usr/lib/libaften.so
-- Found Aften
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/libaften.so

-- Checking for TWOLAME
-- *****************
Could not find twolame.h
Could not find TWOLAME

-- Checking for LAME
-- *****************
-- Found lame/lame.h
-- Found mp3lame library
-- Found lame_init in /usr/lib/i386-linux-gnu/libmp3lame.so
-- Found LAME
-- Compiler Flags: /usr/include
-- Linker Flags  : /usr/lib/i386-linux-gnu/libmp3lame.so

-- Checking for DCAENC
-- *******************
Could not find dcaenc.h
Could not find DCAENC

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

-- Checking for FDK_AAC
-- *****************
Could not find fdk-aac/aacenc_lib.h
Could not find FDK_AAC


-- Checking for Vorbis
-- *******************
-- Found vorbis/vorbisenc.h
-- Found vorbis library
-- Found vorbis_info_init in /usr/lib/i386-linux-gnu/libvorbis.so
-- Found vorbisenc library
-- Found vorbis_encode_init in /usr/lib/i386-linux-gnu/libvorbisenc.so
-- 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.h
Could not find Xvid

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

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

-- x265 disabled.
-- Checking for FreeType2
-- **********************
-- checking for module 'freetype2'
--   found freetype2, version 17.1.11
-- Found FreeType2
-- Compiler Flags: -I/usr/include/freetype2
-- Linker Flags  : -lfreetype

-- Checking for libiconv
-- *********************
-- Found iconv.h
-- Cound not find iconv library
Could not find libiconv
-- libiconv is probably not needed

-- Checking for FontConfig
-- ***********************
-- checking for module 'fontconfig'
--   found fontconfig, version 2.11.0
-- Found FontConfig
-- Compiler Flags: -I/usr/include/freetype2
-- Linker Flags  : -lfontconfig -lfreetype

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

-- Yasm found as /usr/bin/yasm
-- The ASM_YASM compiler identification is unknown
-- Found assembler: /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
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_QT5


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

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3186
Re: Unable to load jpegs created in gimp.
« Reply #70 on: November 25, 2016, 11:25:39 PM »
Big progress! Please run

Code: [Select]
tar -cvjf ~/logbuildPluginsCommon.tar.bz2 /tmp/logbuildPluginsCommon
and attach logbuildPluginsCommon.tar.bz2.

3d420

  • Jr. Member
  • **
  • Posts: 53
Re: Unable to load jpegs created in gimp.
« Reply #71 on: November 25, 2016, 11:27:19 PM »
tar -cvjf ~/logbuildPluginsCommon.tar.bz2 /tmp/logbuildPluginsCommon
tar: Removing leading `/' from member names
/tmp/logbuildPluginsCommon
ogf@freekbox:~/avidemux2$

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3186
Re: Unable to load jpegs created in gimp.
« Reply #72 on: November 25, 2016, 11:38:11 PM »
This time the problem is rather serious:

Code: [Select]
/usr/bin/c++  -fPIC  -fmessage-length=0 -fmessage-length=0 -O3 -DNDEBUG   -shared -Wl,-soname,libADM_ae_lav_aac.so -o libADM_ae_lav_aac.so CMakeFiles/ADM_ae_lav_aac.dir/audioencoder_lavcodec.cpp.o  -L/home/ogf/avidemux2/install/usr/lib -Wl,--as-needed -Wl,-z,defs -lstdc++ /home/ogf/avidemux2/install//usr/lib/libADM6avcodec.so.57 /home/ogf/avidemux2/install//usr/lib/libADM6avutil.so.55 -lADM_core6 -lADM_coreUI6 -lADM_coreAudio6 -lADM_coreAudioEncoder6 -lADM_coreUtils6 -lm -Wl,-rpath,/home/ogf/avidemux2/install/usr/lib:
/usr/lib/i386-linux-gnu/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status
make[2]: *** [ADM_audioEncoders/lavcodec/libADM_ae_lav_aac.so] Error 1

Investigating what can be done here.

3d420

  • Jr. Member
  • **
  • Posts: 53
Re: Unable to load jpegs created in gimp.
« Reply #73 on: November 25, 2016, 11:47:10 PM »
Thanks.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3186
Re: Unable to load jpegs created in gimp.
« Reply #74 on: November 25, 2016, 11:47:58 PM »
Okay, please try the following (untested, of course): in the "avidemux2" folder go into the subfolder "cmake", open the file admAsNeeded.cmake in gedit (or in an equivalent text editor) and replace at the line 13

Code: [Select]
TARGET_LINK_LIBRARIES( ${name} "-Wl,-z,defs")
with

Code: [Select]
TARGET_LINK_LIBRARIES( ${name} "-lc,-Wl,-z,defs")
save the file and re-run

Code: [Select]
cd ~/avidemux2 && bash bootStrap.bash --deb --rebuild 2>&1 | tee ~/adm-build.log