Comments (9)
It should be a version issue.
Do not use Gradle 7.0.
https://stackoverflow.com/questions/23796404/could-not-find-method-compile-for-arguments-gradle
from fast-dds-gen.
I understand and I'm happy that Fast-DDS get a higher priority than Gradle. This is the reason why I love old tools like CMAKE, unlike most of the web oriented tools they are stable since years and do not break API everything 6 months.
from fast-dds-gen.
Hello,
I was getting the same error and I resolved mine with using the latest release of Fast-DDS-Gen (v2.0.1 at the time of this reply).
Hope this helps.
from fast-dds-gen.
Hello,
I was getting the same error, but using the latest version also has this error (Fast-DDS-Gen v2.0.1, macos) .
from fast-dds-gen.
As stated on the docs, Fast-DDS-Gen comes with a gradle wrapper that uses the gradle version the scripts are prepared for.
from fast-dds-gen.
Does not work either with Gradle-7.1.1 as shipped with Fedora-34.
Hack to force the old version 6.x works. Nevertheless this prevent from installing within a CI/CD environment where dynamic downloads are prohibited at build time.
from fast-dds-gen.
Hi everyone,
Unfortunately, we currently don't have time at the moment to support building with newer versions of Gradle, as we are very much invested into improving Fast DDS itself. However, contributions in this regard are very much welcome and we'd be happy to allocate some time to review them.
Nevertheless this prevent from installing within a CI/CD environment where dynamic downloads are prohibited at build time.
Once way around this that comes to mind is to install Gradle 6.x as part of setting up the you CI/CD environment.
I'm going to leave the ticket open as "feature-request". Sorry for the inconvenience.
from fast-dds-gen.
Hi, everyone, There was an error in compiling fast-DD- Gen using gradle assembl. Please help me. I have just touched DDS, but I am not very good. Thank you。
(gradle version:6.9.2,reason:version7.x is not right
fast-dds-gen version:2.1.3)
D:\Fast-DDS-Gen>gradle assemble
Task :buildIDLParser FAILED
FAILURE: Build failed with an exception.
-
Where:
Build file 'D:\Fast-DDS-Gen\thirdparty\idl-parser\idl.gradle' line: 18 -
What went wrong:
Plugin [id: 'me.champeau.gradle.antlr4', version: '0.1'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'me.champeau.gradle.antlr4:me.champeau.gradle.antlr4.gradle.plugin:0.1')
Searched in the following repositories:
Gradle Central Plugin Repository
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 13s
4 actionable tasks: 4 executed
note:
15 // In this section you declare the used plugins
16 // community plugins
17 plugins {
18 id "me.champeau.gradle.antlr4" version "0.1" // antlr4 community plugin.
19 }
from fast-dds-gen.
This should be fixed by #129
from fast-dds-gen.
Related Issues (20)
- How to define enumeration with int value in IDL? HOT 1
- fastddsgen template asks for headers which doesn't exist or which are misplaced in the install process HOT 1
- fastddsgen -d [19844] HOT 2
- undefined reference to `performance_test::msg::FastDDSGen::PointCloud4m::PointCloud4m() HOT 2
- Generated xxxCdrAux.hpp has data type casting issue for large recursive data structure
- fastddsgen.bat .\HelloWorld.idl Error HOT 1
- Cannot generate python bindings for map data type
- allow modern enum class/scoped enums with type specifier and assigning values HOT 1
- fastddsgen generates invalid #ifndef header fence on IDL filename with "-"
- comparing floating point types in generator equality operator
- Include error with CMake example - <fastcdr/cdr/fixed_size_string.hpp> HOT 3
- FastDDSGen detects IDL file changes HOT 1
- Failures with multiple consecutive directory separators
- On Windows, using a GCC preprocessor does not work
- [XTypes/PL_CDR2] Member header issue for sequences with an inner type of 2 bytes length (short, unsigned short)
- Can I convert UMAA IDL files to code using Fast-DDS-Gen?(Windows or Linux) HOT 1
- Why don't 1-byte data types call cdr_alignment for byte alignment? HOT 2
- Question: Is there support for #ifdef and #else directives in FastDDSGen HOT 3
- Cannot generate java binding code HOT 2
- fast-dds-gen-3.3.0 with idl-parser 3.0.0 : idl parse error observed when idl contains a struct which references an array typedef [21343] HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-dds-gen.