-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redhawk idl project #12
Comments
Check $OSSIEHOME/include/redhawk and $OSSIEHOME/lib or lib64 and see if The IDL editor uses a different parser than the one that populates the Your IDL code looks like only a small part of the standard Packet.idl #include "JtrsCorbaTypes.idl" but it includes the CF and PortTypes.idl. Once you get the idl paths On 7/14/2016 7:31 AM, jsrsarma wrote:
Dr Terry L Anderson |
I do not have "JtrsCorbaTypes.idl" in the system, do i need to do anything to get this into the system. thanks From: Terry L Anderson [email protected] Check $OSSIEHOME/include/redhawk and $OSSIEHOME/lib or lib64 and see if The IDL editor uses a different parser than the one that populates the Your IDL code looks like only a small part of the standard Packet.idl #include "JtrsCorbaTypes.idl" but it includes the CF and PortTypes.idl. Once you get the idl paths On 7/14/2016 7:31 AM, jsrsarma wrote:
Dr Terry L Anderson You are receiving this because you authored the thread. |
I don't know what all IDL you are using, but JtrsCorbaTypes.idl is part You can download the latest released set from http://www.public.navy.mil/jtnc/sca/Pages/api1.aspx If you download the whole set from the button near the top you get a zip You have to build and install those you want since RedHawk does not On 7/14/2016 1:14 PM, jsrsarma wrote:
Dr Terry L Anderson |
Terry You have been helpful in the redhawk. I am trying to know how to go about a new IDL project where the new idl refers to CF.idl This is the error I get: src/cpp/redhawk/RS/RS.h:51:59: error: /usr/local/redhawk/core/share/idl/ossie/CF/CF.h: No such file or directory In file included from src/cpp/redhawk/RS/RSSK.cpp:3: #include "CF.idl" //#include "/usr/local/redhawk/core/share/idl/ossie/CF/CF.idl" module RS { |
That is because RedHawk (or OSSIE) spelled the filename as "cf.idl" $ cd $OSSIEHOME/share/idl/ossie/CF $ ln -s cf.idl CF.idl to allow both spellings. Then you need the include in the include path $OSSIEHOME/share/idl/ossie/CF but NOT the filename. On 8/3/2016 10:40 AM, jsrsarma wrote:
Dr Terry L Anderson |
Hello Terry when you have a minute, please take a look I really appreciate it. regards Sivaram I have created an idl project to install SCWIS interface based on the idl files. Eventhough the RS module is installed , the given below are the new IDL modules I have ported. burstio BURSTIO FRONTEND JTRS MIM OE PACKET RS SIMPLEPACKET the errors -------------- C++ build is fine with no errors SCWIS.idl_______ RS.idl_______
Dr Terry L Anderson You are receiving this because you authored the thread. |
I have also had some (but not all) interface/IDL projects fail the java $OSSIEHOME/share/idl/redhawk//*.idl $OSSIEHOME/include/redhawk//*.h $OSSIEHOME/lib or lib64/Interfaces.* I imagine that one could delete the java make step and get make install If you need the java interfaces, then this will of course not work. I $OSSIEHOME/lib/python/redhawk/codegen/lang/idl.py adding additional idlRepo.adSearchPath(os.path.join(os.environ['OSSIEHOME'], but I believe this is only to allow USING an installed package, but if On 8/3/2016 12:11 PM, jsrsarma wrote:
Dr Terry L Anderson |
I am not using java, I am only interested in CPP generation and installation and later would like to see them in the eclipse ide drop down menu for the IDL repository. I have copied the following two (it is part of the of the make installation sudo make install)
There are jar files in the lib directory which are not built and not needed. what needs to be moved for the $OSSIEHOME/lib or lib64/Interfaces.* thanks sivaram From: Terry L Anderson [email protected] I have also had some (but not all) interface/IDL projects fail the java $OSSIEHOME/share/idl/redhawk//*.idl $OSSIEHOME/include/redhawk//*.h $OSSIEHOME/lib or lib64/Interfaces.* I imagine that one could delete the java make step and get make install If you need the java interfaces, then this will of course not work. I $OSSIEHOME/lib/python/redhawk/codegen/lang/idl.py adding additional idlRepo.adSearchPath(os.path.join(os.environ['OSSIEHOME'], but I believe this is only to allow USING an installed package, but if On 8/3/2016 12:11 PM, jsrsarma wrote:
Dr Terry L Anderson You are receiving this because you authored the thread. |
depending on your version and whether you have 32 or 64bit CentOS you libInterfaces.a libInterfaces.la libInterfaces.so libInterfaces.so.0 libInterfaces.so.0.0.0 you will find these in the directory .libs in your workspace/ note that only the .a and the .so.0.0.0 are real files the other three You will also fine a file libInterfaces.lai which you do not need. On 8/3/2016 2:19 PM, jsrsarma wrote:
Dr Terry L Anderson |
Terry Any ideas. #include "CF.idl" From: Terry L Anderson [email protected] depending on your version and whether you have 32 or 64bit CentOS you libInterfaces.a libInterfaces.la libInterfaces.so libInterfaces.so.0 libInterfaces.so.0.0.0 you will find these in the directory .libs in your workspace/ note that only the .a and the .so.0.0.0 are real files the other three You will also fine a file libInterfaces.lai which you do not need. On 8/3/2016 2:19 PM, jsrsarma wrote:
Dr Terry L Anderson — |
But did you add the symbolic link $ cd $OSSIEHOME/share/idl/ossie/CF $ ln -s cf.idl CF.idl that I told you about before. OSSIE/RedHawk spells the file name On 8/8/2016 9:34 AM, jsrsarma wrote:
Dr Terry L Anderson |
I am trying to use REDHAWK IDL PROJECT to add a new IDL to IDL REPOSITORY
either the full paths or the OSSIEHOME paths are not being recognized.
CF::OctetSequence
PortTypes::UshortSequence both are not being recognized.
on the console, it builds with warnings, when I export it target sdr it is not showing up
in the IDL repository.
thanks
Sivaram
// #include "ossie/CF/PortTypes.idl"
include "/usr/local/redhawk/core/share/idl/ossie/CF/cf.idl
include "/usr/local/redhawk/core/share/idl/ossie/CF/PortTypes.idl"
module Packet
{
typedef unsigned short Stream;
typedef octet SeqNum;
struct StreamControlType
{
boolean endOfStream;
Stream streamId;
};
interface OctetStream : PayloadStatus
{
void pushPacket( in StreamControlType control, in CF::OctetSequence payload );
};
};
The text was updated successfully, but these errors were encountered: