[x265] v1.7+282: Multilib EXE doesn't link

Steve Borho steve at borho.org
Fri Jul 3 21:12:30 CEST 2015


On 07/03, Mario *LigH* Rohkr??mer wrote:
> Both 8bit/libx265_main12.a and 8bit/libx265_main10.a do exist. Still,
> linking to an EXE fails in an MSYS/MinGW environment, with either GCC 4.8.2
> or GCC 4.9.2:
> 
> +----
> [100%] Linking CXX executable x265.exe
> x86_64-w64-mingw32-g++.exe: error: x265_main12: No such file or directory
> make[2]: *** [x265.exe] Error 1
> make[1]: *** [CMakeFiles/cli.dir/all] Error 2
> make: *** [all] Error 2
> +----
> 
> I believe that the submission of two distinct extra libraries to be linked
> (-DEXTRA_LIB="x265_main10.a x265_main12.a") does not work as intended.

my bad, cmake needs a semicolon between those two libs. I fixed this for
linux and msvc but missed the msys script.

-- 
Steve Borho


More information about the x265-devel mailing list