gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
92 stars 8 forks source link

gradle/native-samples : binary-dependencies project does not work on macos #995

Closed lacasseio closed 5 years ago

lacasseio commented 5 years ago

@eltonkent commented on Sat Mar 02 2019

Checkout the native-samples project. https://github.com/gradle/native-samples https://github.com/gradle/native-samples/tree/master/cpp/binary-dependencies.

Expected Behavior

The binary dependencies project should work just fine.

Current Behavior

> Task :compileDebugCpp FAILED
In file included from /Users/.../cpp/binary-dependencies/src/main/cpp/split.cpp:2:
/Users/.../cpp/binary-dependencies/src/main/headers/string_utils.h:9:10: fatal error: 'linked_list.h' file not found
#include "linked_list.h"
         ^~~~~~~~~~~~~~~
1 error generated.

The binary dependencies have been built and uploaded to 1. .m2 2. ../repo

Environment

Gradle 5.2.1

Build time: 2019-02-08 19:00:10 UTC Revision: f02764e074c32ee8851a4e1877dd1fea8ffb7183

Kotlin DSL: 1.1.3 Kotlin: 1.3.20 Groovy: 2.5.4 Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018 JVM: 1.8.0_60 (Oracle Corporation 25.60-b23) OS: Mac OS X 10.14.3 x86_64

lacasseio commented 5 years ago

@eltonkent Can you confirm you followed the sample instruction in the readme?

lacasseio commented 5 years ago

Closing as no answer from original submitter.