[build] Framework to build assembly using yasm rather than inline gcc

Started by Jan Gruuthuse, April 01, 2017, 07:53:00 AM

Previous topic - Next topic

Jan Gruuthuse

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**

Jan Gruuthuse


mean

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)

Jan Gruuthuse

OK,was expecting that. Follow your time line.
Do you require info on further commits?

Jan Gruuthuse

#4
-- 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

Jan Gruuthuse

-- 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


Jan Gruuthuse

Fixed:
** ALL DONE **
** The installable packages are in the debs folder **