Native: cpp_gradle sample does not build on Linux

native

(ZOSROTHKO) #1

Hi

I am trying to build the cpp_gradle sample found here https://github.com/carlosvin/cpp_gradle on a Fedora 23 system

[cpp_gradle]$ uname -a
Linux fedora-x86-idefix 4.4.7-300.fc23.x86_64 #1 SMP Wed Apr 13 02:52:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

but the build fails with the error below

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'cpp_gradle'.
> Exception thrown while executing model rule: NativeBinaryRules#assignTools(NativeBinarySpec, NativeToolChainRegistryInternal, ProjectLayout)
   > WindowsRegistry is not supported on this operating system.

It seems that gradle is using the VisualCppToolChain instead of the Gcc one.

My understanding was that gcc was the first in the toolchain order of an x86_64 architecture as stated in paragraph 71.17.2. Using tool chains of the guide.

Did I miss something?


(ZOSROTHKO) #2

Ok, please ignore this help request…it is a mistake from my side