When I compile, I get the following error, It looks like an error caused by adding an extra prefix.:
/work1/test/gen/src/v1/commonapi/DCusInterfacesSomeIPDeployment.cpp:19:116: Error:‘Detail_domain_Domain_nameDeployment’ is not a member of ‘v1::commonapi::DCusInterfaces_’; did you mean ‘Detail_domainDeployment’?
19 | Interfaces_::DomainDeployment_t Detail_domainDeployment(4, &::v1::commonapi::DCusInterfaces_::Detail_domain_Domain_nameDeployment);
When I do not specify SomeIpStringLength, the compilation passes:
fdepl:
import "platform:/plugin/org.genivi.commonapi.someip/deployment/CommonAPI-SOMEIP_deployment_spec.fdepl"
import "DCusInterfaces_1.fidl"
define org.genivi.commonapi.someip.deployment for interface commonapi.DCusInterfaces {
SomeIpServiceID = 15068
struct Domain {
SomeIpStructLengthWidth = 4
name {
SomeIpStringLengthWidth = 4
#SomeIpStringLength = 16 //Remove this line
SomeIpStringEncoding = utf8
}
}
struct Detail {
SomeIpStructLengthWidth = 4
}
}
define org.genivi.commonapi.someip.deployment for provider as Service {
instance commonapi.DCusInterfaces {
InstanceId = "commonapi.DCusInterfaces"
SomeIpInstanceID = 26068
}
}
fidl:
fdepl:
When I compile, I get the following error, It looks like an error caused by adding an extra prefix.:
When I do not specify SomeIpStringLength, the compilation passes: fdepl:
Thanks