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

Mario Rohkrämer contact at ligh.de
Sat Jul 4 09:42:44 CEST 2015


Am 03.07.2015, 21:12 Uhr, schrieb Steve Borho <steve at borho.org>:

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

The funny thing is, I suspected that, but I just did not manage to test  
it...

-- 

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


More information about the x265-devel mailing list