Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on April 01, 2017, 07:53:00 AM

Title: [build] Framework to build assembly using yasm rather than inline gcc
Post by: Jan Gruuthuse on April 01, 2017, 07:53:00 AM
Probably you're already aware of this. Just in case. (Ubuntu 16.04.2 64-bit)
#####################################
Plugins Configure Started
#####################################

-- Yasm found as /usr/bin/yasm
CMake Error: Could not find cmake module file: CMakeDetermineASM_YASMCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_ASM_YASM_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_ASM_YASM_COMPILER
CMake Error: Could not find cmake module file: /home/jan/avidemux2/buildPluginsCommon/CMakeFiles/3.5.1/CMakeASM_YASMCompiler.cmake
CMake Error at ADM_videoFilters6/ass/ADM_libass/CMakeLists.txt:21 (enable_language):
  No CMAKE_ASM_YASM_COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_ASM_YASM_COMPILER to the full path to the compiler, or to the
  compiler name if it is in the PATH.


CMake Error: Could not find cmake module file: CMakeASM_YASMInformation.cmake
CMake Error: CMAKE_ASM_YASM_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/jan/avidemux2/buildPluginsCommon/CMakeFiles/CMakeOutput.log".
See also "/home/jan/avidemux2/buildPluginsCommon/CMakeFiles/CMakeError.log".
** Failed at cmakeZ**
Title: Re: [build] Framework to build assembly using yasm rather than inline gcc
Post by: Jan Gruuthuse on April 01, 2017, 09:30:38 AM
cfa7252    [build/yasm] cleanup
same issue
Title: Re: [build] Framework to build assembly using yasm rather than inline gcc
Post by: mean on April 01, 2017, 09:58:10 AM
IT will be broken for  a little while
I need to commit it to check on win32 and vs too
(i'll try to fix the linux one quickly)
Title: Re: [build] Framework to build assembly using yasm rather than inline gcc
Post by: Jan Gruuthuse on April 01, 2017, 10:41:26 AM
OK,was expecting that. Follow your time line.
Do you require info on further commits?
Title: df055ba [build] Try to make the yasm cmake wrapper work
Post by: Jan Gruuthuse on April 01, 2017, 11:26:37 AM
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EDIT_COMMAND
    ENABLE_QT5


-- Build files have been written to: /home/jan/avidemux2/buildPluginsCommon
** Failed at make, result in /tmp/logbuildPluginsCommon**

make[2]: *** [ADM_videoFilters6/ass/ADM_libass/CMakeFiles/ADM_libass.dir/x86/blend_bitmaps.asm.o] Error 1
make[2]: *** Waiting for unfinished jobs...

make[1]: *** [ADM_videoFilters6/ass/ADM_libass/CMakeFiles/ADM_libass.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

make[1]: Leaving directory '/home/jan/avidemux2/buildPluginsCommon'
Makefile:152: recipe for target 'all' failed
make: *** [all] Error 2
Title: de404e3 [build/yasm] more tweaks
Post by: Jan Gruuthuse on April 01, 2017, 05:10:50 PM
-- Build files have been written to: /home/jan/avidemux2/buildCore
** Failed at make, result in /tmp/logbuildCore**


cd /home/jan/avidemux2/buildCore/ADM_coreImage/src && /usr/bin/yasm  -Werror=attributes -f elf64 -o CMakeFiles/ADM_coreImage6.dir/ADM_imageUtils_asm.asm.o /home/jan/avidemux2/avidemux_core/ADM_coreImage/src/ADM_imageUtils_asm.asm
yasm: warning: unrecognized option `-Werror=attributes'
yasm: FATAL: unable to open include file `admx86util.asm'
ADM_coreImage/src/CMakeFiles/ADM_coreImage6.dir/build.make:257: recipe for target 'ADM_coreImage/src/CMakeFiles/ADM_coreImage6.dir/ADM_imageUtils_asm.asm.o' failed
make[2]: *** [ADM_coreImage/src/CMakeFiles/ADM_coreImage6.dir/ADM_imageUtils_asm.asm.o] Error 1
make[2]: *** Waiting for unfinished jobs....


make[1]: *** [ADM_coreImage/src/CMakeFiles/ADM_coreImage6.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/jan/avidemux2/buildCore'
[ 66%] Built target ADM_audioParser6
make[1]: Leaving directory '/home/jan/avidemux2/buildCore'
Makefile:152: recipe for target 'all' failed
make: *** [all] Error 2

Title: Fixed: 28627d0 [build/yasm] Should be ~ ok for gcc based systems
Post by: Jan Gruuthuse on April 01, 2017, 05:25:51 PM
Fixed:
** ALL DONE **
** The installable packages are in the debs folder **