[x265] Win32 HBD build with disabled assembly: linking EXE fails, missing x265_stack_align

Mario Rohkrämer contact at ligh.de
Fri Mar 6 23:20:36 CET 2015


Tried to build x256 1.5+186-043c2418864b with GCC 4.8.2 in MSYS using the  
following commands:

cmake -G "MSYS Makefiles" -DWINXP_SUPPORT:BOOL=TRUE  
-DHIGH_BIT_DEPTH:BOOL=TRUE -DENABLE_ASSEMBLY:BOOL=FALSE ../../source

The result was that only libx265.a and libx265.dll were created, but  
linking x265.exe failed:

+----
[ 96%] Building RC object CMakeFiles/cli.dir/x265.rc.obj
[ 98%] Building CXX object CMakeFiles/cli.dir/x265.cpp.obj
Linking CXX executable x265.exe
libx265.a(threading.cpp.obj):threading.cpp:(.text+0x23): undefined  
reference to `x265_stack_align'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [x265.exe] Error 1
make[1]: *** [CMakeFiles/cli.dir/all] Error 2
make: *** [all] Error 2
+----

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de


More information about the x265-devel mailing list