Closed nis77777 closed 9 months ago
Please help
I think issue is with typo in file HelloWorld.fdepl interface commonapi.examples.HelloHelloWorld should be interface commonapi.examples.HelloWorld
and instance commonapi.examples.HelloHelloWorld should be instance commonapi.examples.HelloWorld
Can anyone confirm?
The Interface name was corrected to "HelloWorld". Please verify if it is working as expected now.
@goncaloalmeida @Gustavo1515
Typo is corrected and it now it is working as expected
i am following https://github.com/COVESA/capicxx-someip-tools/wiki/CommonAPI-C---SomeIP-in-10-minutes and while running below command ./cgen/commonapi_someip_generator/commonapi-someip-generator-linux-x86_64 -d src-gen/someip ./fidl/HelloWorld.fdepl
Getting below error Default output directory: src-gen/someip Using Franca Version 0.13.1.201807231814 log4j:WARN No appenders could be found for logger (org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Error: SomeIP validation: Couldn't resolve reference to FInterface 'commonapi.examples.HelloHelloWorld'. (file:/mnt/d/Nis-2023/IPC/project/./fidl/HelloWorld.fdepl line : 4 column : 61) Error: SomeIP validation: Couldn't resolve reference to FMethod 'sayHello'. (file:/mnt/d/Nis-2023/IPC/project/./fidl/HelloWorld.fdepl line : 7 column : 12) Error: SomeIP validation: Couldn't resolve reference to FArgument 'name'. (file:/mnt/d/Nis-2023/IPC/project/./fidl/HelloWorld.fdepl line : 12 column : 13) Error: SomeIP validation: Couldn't resolve reference to EObject 'utf16le'. (file:/mnt/d/Nis-2023/IPC/project/./fidl/HelloWorld.fdepl line : 13 column : 40) Error: SomeIP validation: Couldn't resolve reference to EObject 'commonapi.examples.HelloHelloWorld'. (file:/mnt/d/Nis-2023/IPC/project/./fidl/HelloWorld.fdepl line : 20 column : 14) Error: SomeIP validation: Invalid input argument '' (file:/mnt/d/Nis-2023/IPC/project/./fidl/HelloWorld.fdepl line : 12 column : 13) /mnt/d/Nis-2023/IPC/project/./fidl/HelloWorld.fdepl contains validation errors !