posted on Wednesday, September 09, 2009 - 09:58 am
I have been trying to execute the tutorial programs using OpenSplice Community edition.
1.I untarred the HDE binary, and the OpenSplice infra is up and running on the linux terminal.
2.I invoked the idl preprocessor to generate files from Chat.idl
3.I created a library 'OpenSplice_Lib_Stat.a' containing the files created by Chat.idl in Eclipse.
4.I copied the /*Create Topic*/ program from tutorial, included the INCLUDE file paths in directories tab in Eclipse, and associated 3 libraries- dcpssac,ddsdatabase,'OpenSplice_Lib_Stat.a' 5.Each time I build the code, a library is created.
**** Build of configuration Debug for project OpenSplice_07.09.09 **** make all Building file: ../ChatSacDcps.c Invoking: GCC C Compiler gcc -I/opt/OpenSplice/V4.1.090617/HDE/x86.linux2.6/include/dcps/C/SAC -I/opt/OpenSplice/V4.1.090617/HDE/x86.linux2.6/include/common/include -I/opt/OpenSplice/V4.1.090617/HDE/x86.linux2.6/include -I/opt/OpenSplice/V4.1.090617/HDE/x86.linux2.6/include/sys -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ChatSacDcps.d" -MT"ChatSacDcps.d" -o"ChatSacDcps.o" "../ChatSacDcps.c" Finished building: ../ChatSacDcps.c
I saw you posted the same question on the OSPL-DEV mailing list which is the appropriate way of addressing vendor-specific issues.
In general terms, as tutorials come with instructions / make-files etc. (and for sure this Chatroom example does), my first suggestion would be to use the provided makefile (in this case for creating the Chatter/MessageBoard/UserLoad applications).
posted on Thursday, September 10, 2009 - 06:46 am
The Chatter example runs on terminal after its Makefile is issued. But the intent is to develop an executable for Chatter.c on Eclipse .
That has not happened inspite of adding all the include paths as well as libraries.