简体   繁体   English

CORBA JacORB idlj CosNotification / EventType是未声明的类型吗?

[英]CORBA JacORB idlj CosNotification/EventType is an undeclared type?

I have an idl file which I am trying to generate Java bindings using the IDL-to-Java Compiler idlj and using the JacORB omg idl files. 我有一个idl文件,我正在尝试使用IDL-to-Java编译器idlj和JacORB omg idl文件生成Java绑定。 Below is the idl file I am trying to compile where I am getting the error. 以下是我试图在哪里得到错误的地方编译的idl文件。 What is causing the error? 是什么导致错误?

/jacorb-3.8/idl/omg//CosNotifyComm.idl (line 13): CosNotification/EventType is an undeclared type. /jacorb-3.8/idl/omg//CosNotifyComm.idl(第13行):CosNotification / EventType是未声明的类型。 exception InvalidEventType { CosNotification::EventType type; 异常InvalidEventType {CosNotification :: EventType类型; }; }; ^ /jacorb-3.8/idl/omg//orb.idl (line 9): Expected one of typedef' > struct' union' enum' const' exception' interface' valuetype' > module'; encountered ^ /jacorb-3.8/idl/omg//orb.idl(第9行):预期的一个typedef' >结构” union'枚举” const'异常” interface'值类型”> module'; encountered module'; encountered '. module'; encountered '。 typeprefix CORBA "omg.org"> typeprefix CORBA“ omg.org”>

and below is the idl file I am trying to compile with the following command idlj -fall -i "/jacorb-3.8/idl/omg/" NotificationIRPSystem.idl 下面是我正在尝试使用以下命令编译的idl文件idlj -fall -i "/jacorb-3.8/idl/omg/" NotificationIRPSystem.idl

NotificatoinIRPSystem.idl NotificatoinIRPSystem.idl

I've had the same problem with Idlj. 我对Idlj也有同样的问题。 I could compile with jacORB/bin/ idl as follows. 我可以按照以下方式用jacORB / bin / idl进行编译。 Link: http://www.jacorb.org/download.html 链接: http//www.jacorb.org/download.html

./idl -I. NotificationIRPSystem.idl

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM