[x265] linking error

Steve Borho steve at borho.org
Wed Jul 30 21:40:52 CEST 2014


On 07/30, dave wrote:
> On 07/30/2014 12:00 PM, Steve Borho wrote:
> >On 07/30, dave wrote:
> >>I am getting the following from ld
> >>
> >>Linking CXX executable x265
> >>libx265.so.29: undefined reference to
> >>`x265::ScalingList::MAX_MATRIX_COEF_NUM'
> >>collect2: error: ld returned 1 exit status
> >>make[2]: *** [x265] Error 1
> >>make[1]: *** [CMakeFiles/cli.dir/all] Error 2
> >>make: *** [all] Error 2
> >I can't reproduce on Linux or Mac. What compiler and cmake options are
> >you using?
> >
> 12:08:00/>gcc --version
> gcc (Debian 4.7.2-5) 4.7.2
> Copyright (C) 2012 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 12:08:18/>cmake --version
> cmake version 2.8.9
> 
> I am running the build/linux/make-Makefiles.bash script and only changing
> Release to Debug.

Ok, I can reproduce on Linux with a debug build.

Hmm; let me try a few options. Worst case we make those constants #defines

-- 
Steve Borho


More information about the x265-devel mailing list