Thanks Ilya! The short story is that I had gtest installed on
/usr/local/include and /usr/local/lib just as you're saying. Which is even
discouraged by google, you're supposed to build it with each project. Thank
you very much!
On Wed, Oct 5, 2016 at 3:20 AM Ilya Terentyev <bacondrop...@gmail.com>
wrote:
> Hi Petr!
>
> Sorry if my reply is late. I've had this exact same issue recently,
> however, it was unrelated to Mixxx (disclaimer: I'm not a Mixxx user,
> and I've found your email on the [mail-archive.com] website via Google).
> I've encountered this error message verbatim when building the Google
> Protocol Buffers v3 package for Arch Linux
> (https://aur.archlinux.org/pkgbase/protobuf3) -- apparently, protobuf3
> uses the same testing framework with Google Test and Google Mock.
>
> I found out that I've had gtest v1.8.0 installed on my system, while
> protobuf3 used an in-tree gtest v1.7. Apparently, they conflicted
> somehow (perhaps gtest preferres system headers to in-tree headers? I
> don't know). Gtest 1.8.0 headers do not declare 'kCopy' or
> 'kReference', and it looks like a breaking API change.
>
> Long story short: if you have a Google Test package installed, check if
> it's v1.8.0. If it is, downgrade it to 1.7 or remove it and in-tree
> headers should take precedence. (But if you manage to find a less kludgy
> solution, please share)
>
> Related links:
>
> [mail-archive.com]:
>
> https://www.mail-archive.com/mixxx-devel@lists.sourceforge.net/msg07219.html
> My protobuf3 build log:
> https://gist.github.com/bacondropped/ca330b4d113a1a8b66fdbfb1c6030243
>
> Sincerely,
> IT
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel