CMake-built Makefile execution issue

6 posts / 0 new
Last post
Offline
Last seen: 6 years 1 month ago
Joined: 09/02/2018
Posts: 3
CMake-built Makefile execution issue

Hi there,

I am working on an Application with RTI DDS and have to create the Makefile with CMake (Linux). Therefore, I include and link all RTI DDS libraries manually. The creation is successful, so I believe all library paths are set correctly, but when I execute "make"-command, many DDS-internal variable or function-names are not found ("was not declared in this scope"/"Did you mean ...?") and very similar names are suggested instead.

Example:

________________

/home/administrator/rti_connext_dds-5.3.1/include/ndds/hpp/dds/sub/status/DataState.hpp:156:26: error: ‘DDS_ANY_VIEW_STATE’ was not declared in this scope
         return ViewState(DDS_ANY_VIEW_STATE);
                          ^~~~~~~~~~~~~~~~~~
/home/administrator/rti_connext_dds-5.3.1/include/ndds/hpp/dds/sub/status/DataState.hpp:156:26: note: suggested alternative: ‘DDS_NEW_VIEW_STATE’
________________

/home/administrator/rti_connext_dds-5.3.1/include/ndds/dds_c/dds_c_typecode_impl.h:40:1: error: ‘DDS_Boolean’ does not name a type; did you mean ‘DDS_BooleanSeq’?
 DDS_Boolean DDS_TypeCodeFactory_initialize_value_tcI(
 ^~~~~~~~~~~
 DDS_BooleanSeq

________________

Do I use any wrong or old library versions? In my opinion, the libraries should be found, as CMake receives them correctly.

Regards,

Nick

Fernando Garcia's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 05/18/2011
Posts: 200

Hi Nick,

Could you run  make VERBOSE=1 and show us the include paths and defines? You may have added the right include directories and libraries, but some times you need to add extra -D to get your build to work.

Thanks,
Fernando

Offline
Last seen: 6 years 1 month ago
Joined: 09/02/2018
Posts: 3

Hi Fernando,

you mean the console output after running make VERBOSE=1? This would be:

/usr/bin/cmake -H/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication -B/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build/CMakeFiles /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build'
make -f CMakeFiles/appsub.dir/build.make CMakeFiles/appsub.dir/depend
make[2]: Entering directory '/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build'
cd /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build/CMakeFiles/appsub.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build'
make -f CMakeFiles/appsub.dir/build.make CMakeFiles/appsub.dir/build
make[2]: Entering directory '/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/build'
[ 16%] Building CXX object CMakeFiles/appsub.dir/PortData.cxx.o
/usr/bin/c++   -I/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication -I/home/administrator/rti_connext_dds-5.3.1/include -I/home/administrator/rti_connext_dds-5.3.1/include/ndds -I/home/administrator/rti_connext_dds-5.3.1/include/ndds/hpp -I/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/src -I/home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/include  -std=gnu++11 -o CMakeFiles/appsub.dir/PortData.cxx.o -c /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/PortData.cxx
In file included from /home/administrator/rti_connext_dds-5.3.1/include/ndds/transport/transport_common_user.h:17:0,
                 from /home/administrator/rti_connext_dds-5.3.1/include/ndds/transport/transport_common.h:26,
                 from /home/administrator/rti_connext_dds-5.3.1/include/ndds/transport/transport_interface.h:18,
                 from /home/administrator/rti_connext_dds-5.3.1/include/ndds/netio/netio_common.h:28,
                 from /home/administrator/rti_connext_dds-5.3.1/include/ndds/dds_c/dds_c_common.h:33,
                 from /home/administrator/rti_connext_dds-5.3.1/include/ndds/ndds_c.h:68,
                 from /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/PortDataImpl.h:17,
                 from /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/PortData.hpp:16,
                 from /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/PortData.cxx:14:
/home/administrator/rti_connext_dds-5.3.1/include/ndds/osapi/osapi_socket.h:220:6: error: #error "Need to port"
     #error "Need to port"
      ^~~~~
In file included from /home/administrator/rti_connext_dds-5.3.1/include/ndds/cdr/cdr_type.h:19:0,
                 from /home/administrator/rti_connext_dds-5.3.1/include/ndds/cdr/cdr_stream.h:22,
                 from /home/administrator/rti_connext_dds-5.3.1/include/ndds/dds_c/dds_c_common.h:24,
                 from /home/administrator/rti_connext_dds-5.3.1/include/ndds/ndds_c.h:68,
                 from /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/PortDataImpl.h:17,
                 from /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/PortData.hpp:16,
                 from /home/administrator/rti_workspace/5.3.1/examples/connext_dds/c++11/PortApplication/PortData.cxx:14:
/home/administrator/rti_connext_dds-5.3.1/include/ndds/cdr/cdr_encapsulation.h:64:9: error: ‘RTI_UINT16’ does not name a type; did you mean ‘RTI_UINT64’?
 typedef RTI_UINT16 RTIEncapsulationId;
         ^~~~~~~~~~
         RTI_UINT64

 

Afterwards, the similar suggestions keep occuring...

Thank you,

Nick

Fernando Garcia's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 05/18/2011
Posts: 200

Hi Nick,

You are missing a couple of -D defines that are required to build your platform. Assuming your target architecture is a 64-bit Linux, you will need to add the following target definitions:

-DRTI_UNIX -DRTI_LINUX -DRTI_64BIT

If you are targeting a 32-bit system, you don't need the last define.

You can add them either by using target_compile_definitions or add_definitions, depending on the way you are structuring things with CMake.

Let me know how it goes.

Thanks,
Fernando.

 

Offline
Last seen: 6 years 1 month ago
Joined: 09/02/2018
Posts: 3

Hi Fernando,

thank you very much, it worked out!

Regards,

Nick

Offline
Last seen: 5 years 5 months ago
Joined: 04/22/2019
Posts: 2

In QTCreator  , I am ble to create following file types with rtiddsgen using .idl file

 .cxx, .o, .xml, Makefile, makefile_HelloWorld_x64Linux3gcc4.8.2.

My .pro file:

QT -= gui

CONFIG += c++11 console
CONFIG -= app_bundle

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
        main.cpp \
    ../build-pub_test-Desktop-Debug/HelloWorld.cxx \
    ../build-pub_test-Desktop-Debug/HelloWorldPlugin.cxx \
    ../build-pub_test-Desktop-Debug/HelloWorld_publisher.cxx \
    ../build-pub_test-Desktop-Debug/HelloWorld_subscriber.cxx \
    ../build-pub_test-Desktop-Debug/HelloWorldSupport.cxx


SUBDIRS += \
    pub_test.pro

DISTFILES += \
    pub_test.pro.user \
    ../build-pub_test-Desktop-Debug/HelloWorld.o \
    ../build-pub_test-Desktop-Debug/USER_QOS_PROFILES.xml

HEADERS += \
    ../build-pub_test-Desktop-Debug/HelloWorld.h \
    ../build-pub_test-Desktop-Debug/HelloWorldPlugin.h \
    ../build-pub_test-Desktop-Debug/HelloWorldSupport.h

DEFINES += RTI_UNIX RTI_LINUX RTI_64BIT

RTIDDS_PREFIX = $$(NDDSHOME)
RTIDDS_VERSION = x64Linux3gcc4.8.2

#INCLUDEPATH += /home/user/rti_connext_dds-6.0.0/include/
#INCLUDEPATH += /home/user/rti_connext_dds-6.0.0/include/ndds/
#LIBS += -L$${RTIDDS_PREFIX}/lib/$${RTIDDS_VERSION} -lnddscd -lnddscppd -lnddscored

RTIDDS_INCLUDES = $${RTIDDS_PREFIX}/include \
                  $${RTIDDS_PREFIX}/include/ndds

INCLUDEPATH += $${RTIDDS_INCLUDES}
DEPENDPATH += $${RTIDDS_INCLUDES}
LIBS += -L$${RTIDDS_PREFIX}/lib/$${RTIDDS_VERSION} -lnddscd -lnddscppd -lnddscored


RTIDDS_IDL = /home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.idl
ddsgen.output = $${OUT_PWD}/${QMAKE_FILE_IN_BASE}.cxx # Additionally created files get their own rule
ddsgen.variable_out = SOURCES
ddsgen.CONFIG += no_link
ddsgen.input = RTIDDS_IDL
ddsgen.commands = $${RTIDDS_PREFIX}/bin/rtiddsgen -d  $${OUT_PWD} ${QMAKE_FILE_NAME} -language c++ -create typefiles -create examplefiles -create makefiles -platform x64Linux3gcc4.8.2

QMAKE_EXTRA_COMPILERS += ddsgen

 But during build getting following errors:

09:00:53: Running steps for project pub_test...

09:00:53: Configuration unchanged, skipping qmake step.

09:00:53: Starting: "/opt/rh/devtoolset-7/root/usr/bin/make" -j8

Makefile:2045: warning: overriding recipe for target 'HelloWorld.o'

Makefile:815: warning: ignoring old recipe for target 'HelloWorld.o'

g++ -o pub_test main.o HelloWorld.o HelloWorldPlugin.o HelloWorld_publisher.o HelloWorld_subscriber.o HelloWorldSupport.o HelloWorld.o -L/home/user/rti_connext_dds-6.0.0//lib/x64Linux3gcc4.8.2 -lnddscd -lnddscppd -lnddscored -lQt5Core -lpthread

HelloWorld_publisher.o: In function `main':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld_publisher.cxx:211: multiple definition of `main'

main.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/../pub_test/main.cpp:4: first defined here

HelloWorld_subscriber.o: In function `main':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld_subscriber.cxx:243: multiple definition of `main'

main.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/../pub_test/main.cpp:4: first defined here

HelloWorld.o:(.data.rel.local+0x0): multiple definition of `HelloWorldTYPENAME'

HelloWorld.o:(.data.rel.local+0x0): first defined here

HelloWorld.o: In function `DDS_TypeAllocationParams_t::DDS_TypeAllocationParams_t()':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:47: multiple definition of `HelloWorld_get_typecode()'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:47: first defined here

HelloWorld.o: In function `HelloWorld_get_sample_access_info()':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:187: multiple definition of `HelloWorld_get_sample_access_info()'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:187: first defined here

HelloWorld.o: In function `HelloWorld_get_type_plugin_info()':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:248: multiple definition of `HelloWorld_get_type_plugin_info()'

 HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:248: first defined here

HelloWorld.o: In function `HelloWorld_get_member_value_pointer(void*, unsigned int*, unsigned long long, unsigned int, RTIXCdrTypeCode const*, RTIXCdrTypeCodeMember const*, unsigned char, void*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_data_TInterpreterSupport.gen:36: multiple definition of `HelloWorld_get_member_value_pointer(void*, unsigned int*, unsigned long long, unsigned int, RTIXCdrTypeCode const*, RTIXCdrTypeCodeMember const*, unsigned char, void*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_data_TInterpreterSupport.gen:36: first defined here

HelloWorld.o: In function `HelloWorldSeq_set_member_element_count(unsigned char*, void*, unsigned int, unsigned long long, RTIXCdrTypeCode const*, RTIXCdrTypeCodeMember const*, unsigned char, unsigned char, void*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_data_TInterpreterSupport.gen:118: multiple definition of `HelloWorldSeq_set_member_element_count(unsigned char*, void*, unsigned int, unsigned long long, RTIXCdrTypeCode const*, RTIXCdrTypeCodeMember const*, unsigned char, unsigned char, void*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_data_TInterpreterSupport.gen:118: first defined here

HelloWorld.o: In function `HelloWorldSeq::HelloWorldSeq(int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:168: multiple definition of `HelloWorldSeq::HelloWorldSeq(int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:168: first defined here

HelloWorld.o: In function `HelloWorldSeq::maximum(int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:244: multiple definition of `HelloWorldSeq::maximum(int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:244: first defined here

HelloWorld.o: In function `HelloWorldSeq::~HelloWorldSeq()':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:202: multiple definition of `HelloWorldSeq::~HelloWorldSeq()'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:202: first defined here

HelloWorld.o: In function `HelloWorldSeq::maximum() const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:236: multiple definition of `HelloWorldSeq::maximum() const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:236: first defined here

HelloWorld.o: In function `HelloWorldSeq::length(int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:252: multiple definition of `HelloWorldSeq::length(int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:252: first defined here

HelloWorld.o: In function `HelloWorld_get_sample_seq_access_info()':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:171: multiple definition of `HelloWorld_get_sample_seq_access_info()'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:171: first defined here

HelloWorld.o: In function `HelloWorld_initialize_ex(HelloWorld*, int, int)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:280: multiple definition of `HelloWorld_initialize_ex(HelloWorld*, int, int)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:280: first defined here

HelloWorld.o: In function `HelloWorld_finalize_w_return(HelloWorld*)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:352: multiple definition of `HelloWorld_finalize_w_return(HelloWorld*)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:352: first defined here

HelloWorld.o: In function `HelloWorld_initialize(HelloWorld*)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:274: multiple definition of `HelloWorld_initialize(HelloWorld*)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:274: first defined here

HelloWorld.o: In function `HelloWorld_initialize_w_params(HelloWorld*, DDS_TypeAllocationParams_t const*)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:295: multiple definition of `HelloWorld_initialize_w_params(HelloWorld*, DDS_TypeAllocationParams_t const*)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:295: first defined here

HelloWorld.o: In function `HelloWorld_finalize_ex(HelloWorld*, int)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:367: multiple definition of `HelloWorld_finalize_ex(HelloWorld*, int)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:367: first defined here

HelloWorld.o: In function `HelloWorld_finalize(HelloWorld*)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:360: multiple definition of `HelloWorld_finalize(HelloWorld*)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:360: first defined here

HelloWorld.o: In function `HelloWorld_finalize_w_params(HelloWorld*, DDS_TypeDeallocationParams_t const*)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:383: multiple definition of `HelloWorld_finalize_w_params(HelloWorld*, DDS_TypeDeallocationParams_t const*)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:383: first defined here

HelloWorld.o: In function `HelloWorld_finalize_optional_members(HelloWorld*, int)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:407: multiple definition of `HelloWorld_finalize_optional_members(HelloWorld*, int)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:407: first defined here

HelloWorld.o: In function `HelloWorld_copy(HelloWorld*, HelloWorld const*)':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:426: multiple definition of `HelloWorld_copy(HelloWorld*, HelloWorld const*)'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:426: first defined here

HelloWorld.o: In function `HelloWorldSeq_initialize(HelloWorldSeq*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:315: multiple definition of `HelloWorldSeq_initialize(HelloWorldSeq*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:315: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_element_pointers_allocation(HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:341: multiple definition of `HelloWorldSeq_get_element_pointers_allocation(HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:341: first defined here

HelloWorld.o: In function `HelloWorldSeq_set_element_pointers_allocation(HelloWorldSeq*, unsigned char)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:346: multiple definition of `HelloWorldSeq_set_element_pointers_allocation(HelloWorldSeq*, unsigned char)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:346: first defined here

HelloWorld.o: In function `HelloWorldSeq_set_element_allocation_params(HelloWorldSeq*, DDS_TypeAllocationParams_t const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:363: multiple definition of `HelloWorldSeq_set_element_allocation_params(HelloWorldSeq*, DDS_TypeAllocationParams_t const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:363: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_element_allocation_params(HelloWorldSeq*, DDS_TypeAllocationParams_t*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:391: multiple definition of `HelloWorldSeq_get_element_allocation_params(HelloWorldSeq*, DDS_TypeAllocationParams_t*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:391: first defined here

HelloWorld.o: In function `HelloWorldSeq_set_element_deallocation_params(HelloWorldSeq*, DDS_TypeDeallocationParams_t const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:411: multiple definition of `HelloWorldSeq_set_element_deallocation_params(HelloWorldSeq*, DDS_TypeDeallocationParams_t const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:411: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_element_deallocation_params(HelloWorldSeq*, DDS_TypeDeallocationParams_t*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:433: multiple definition of `HelloWorldSeq_get_element_deallocation_params(HelloWorldSeq*, DDS_TypeDeallocationParams_t*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:433: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_maximum(HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:450: multiple definition of `HelloWorldSeq_get_maximum(HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:450: first defined here

HelloWorld.o: In function `HelloWorldSeq_set_absolute_maximum(HelloWorldSeq*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:464: multiple definition of `HelloWorldSeq_set_absolute_maximum(HelloWorldSeq*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:464: first defined here

HelloWorld.o: In function `HelloWorldSeq_set_maximum(HelloWorldSeq*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:488: multiple definition of `HelloWorldSeq_set_maximum(HelloWorldSeq*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:488: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_length(HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:703: multiple definition of `HelloWorldSeq_get_length(HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:703: first defined here

HelloWorld.o: In function `HelloWorldSeq_set_length(HelloWorldSeq*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:715: multiple definition of `HelloWorldSeq_set_length(HelloWorldSeq*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:715: first defined here

HelloWorld.o: In function `HelloWorldSeq_ensure_length(HelloWorldSeq*, int, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:755: multiple definition of `HelloWorldSeq_ensure_length(HelloWorldSeq*, int, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:755: first defined here

HelloWorld.o: In function `HelloWorldSeq_has_ownership(HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1342: multiple definition of `HelloWorldSeq_has_ownership(HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1342: first defined here

HelloWorld.o: In function `HelloWorldSeq_get(HelloWorldSeq const*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:811: multiple definition of `HelloWorldSeq_get(HelloWorldSeq const*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:811: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_reference(HelloWorldSeq const*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:836: multiple definition of `HelloWorldSeq_get_reference(HelloWorldSeq const*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:836: first defined here

HelloWorld.o: In function `HelloWorldSeq_copy_no_alloc(HelloWorldSeq*, HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:864: multiple definition of `HelloWorldSeq_copy_no_alloc(HelloWorldSeq*, HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:864: first defined here

HelloWorld.o: In function `HelloWorldSeq_copy_no_allocI(HelloWorldSeq*, HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:889: multiple definition of `HelloWorldSeq_copy_no_allocI(HelloWorldSeq*, HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:889: first defined here

HelloWorld.o: In function `HelloWorldSeq_copy(HelloWorldSeq*, HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:998: multiple definition of `HelloWorldSeq_copy(HelloWorldSeq*, HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:998: first defined here

HelloWorld.o: In function `HelloWorldSeq_from_array(HelloWorldSeq*, HelloWorld const*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1055: multiple definition of `HelloWorldSeq_from_array(HelloWorldSeq*, HelloWorld const*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1055: first defined here

HelloWorld.o: In function `HelloWorldSeq_loan_contiguous(HelloWorldSeq*, HelloWorld*, int, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1120: multiple definition of `HelloWorldSeq_loan_contiguous(HelloWorldSeq*, HelloWorld*, int, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1120: first defined here

HelloWorld.o: In function `HelloWorldSeq_unloan(HelloWorldSeq*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1233: multiple definition of `HelloWorldSeq_unloan(HelloWorldSeq*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1233: first defined here

HelloWorld.o: In function `HelloWorldSeq_to_array(HelloWorldSeq*, HelloWorld*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1086: multiple definition of `HelloWorldSeq_to_array(HelloWorldSeq*, HelloWorld*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1086: first defined here

HelloWorld.o: In function `HelloWorldSeq_loan_discontiguous(HelloWorldSeq*, HelloWorld**, int, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1177: multiple definition of `HelloWorldSeq_loan_discontiguous(HelloWorldSeq*, HelloWorld**, int, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1177: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_contiguous_bufferI(HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1273: multiple definition of `HelloWorldSeq_get_contiguous_bufferI(HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1273: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_contiguous_buffer(HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1289: multiple definition of `HelloWorldSeq_get_contiguous_buffer(HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1289: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_discontiguous_bufferI(HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1308: multiple definition of `HelloWorldSeq_get_discontiguous_bufferI(HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1308: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_discontiguous_buffer(HelloWorldSeq const*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1325: multiple definition of `HelloWorldSeq_get_discontiguous_buffer(HelloWorldSeq const*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1325: first defined here

HelloWorld.o: In function `HelloWorldSeq_finalize(HelloWorldSeq*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1354: multiple definition of `HelloWorldSeq_finalize(HelloWorldSeq*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1354: first defined here

HelloWorld.o: In function `HelloWorldSeq_get_read_tokenI(HelloWorldSeq const*, void**, void**)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1359: multiple definition of `HelloWorldSeq_get_read_tokenI(HelloWorldSeq const*, void**, void**)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1359: first defined here

HelloWorld.o: In function `HelloWorldSeq_set_read_tokenI(HelloWorldSeq*, void*, void*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1378: multiple definition of `HelloWorldSeq_set_read_tokenI(HelloWorldSeq*, void*, void*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_c/generic/dds_c_sequence_TSeq.gen:1378: first defined here

HelloWorld.o: In function `HelloWorldSeq::HelloWorldSeq(int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:168: multiple definition of `HelloWorldSeq::HelloWorldSeq(int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:168: first defined here

HelloWorld.o: In function `HelloWorldSeq::HelloWorldSeq(HelloWorldSeq const&)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:183: multiple definition of `HelloWorldSeq::HelloWorldSeq(HelloWorldSeq const&)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:183: first defined here

HelloWorld.o: In function `HelloWorldSeq::HelloWorldSeq(HelloWorldSeq const&)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:183: multiple definition of `HelloWorldSeq::HelloWorldSeq(HelloWorldSeq const&)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:183: first defined here

HelloWorld.o: In function `HelloWorldSeq::~HelloWorldSeq()':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:202: multiple definition of `HelloWorldSeq::~HelloWorldSeq()'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:202: first defined here

HelloWorld.o: In function `HelloWorldSeq::element_pointers_allocation(bool)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:207: multiple definition of `HelloWorldSeq::element_pointers_allocation(bool)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:207: first defined here

HelloWorld.o: In function `HelloWorldSeq::element_pointers_allocation()':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:211: multiple definition of `HelloWorldSeq::element_pointers_allocation()'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:211: first defined here

HelloWorld.o: In function `HelloWorldSeq::element_allocation_params(DDS_TypeAllocationParams_t const&)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:215: multiple definition of `HelloWorldSeq::element_allocation_params(DDS_TypeAllocationParams_t const&)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:215: first defined here

HelloWorld.o: In function `HelloWorldSeq::element_allocation_params()':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:219: multiple definition of `HelloWorldSeq::element_allocation_params()'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:219: first defined here

HelloWorld.o: In function `HelloWorldSeq::element_deallocation_params(DDS_TypeDeallocationParams_t const&)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:226: multiple definition of `HelloWorldSeq::element_deallocation_params(DDS_TypeDeallocationParams_t const&)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:226: first defined here

HelloWorld.o: In function `HelloWorldSeq::element_deallocation_params()':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:230: multiple definition of `HelloWorldSeq::element_deallocation_params()'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:230: first defined here

HelloWorld.o: In function `HelloWorldSeq::absolute_maximum(int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:240: multiple definition of `HelloWorldSeq::absolute_maximum(int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:240: first defined here

HelloWorld.o: In function `HelloWorldSeq::length() const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:248: multiple definition of `HelloWorldSeq::length() const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:248: first defined here

HelloWorld.o: In function `HelloWorldSeq::ensure_length(int, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:256: multiple definition of `HelloWorldSeq::ensure_length(int, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:256: first defined here

HelloWorld.o: In function `HelloWorldSeq::operator[](int) const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:261: multiple definition of `HelloWorldSeq::operator[](int) const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:261: first defined here

HelloWorld.o: In function `HelloWorldSeq::operator[](int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:265: multiple definition of `HelloWorldSeq::operator[](int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:265: first defined here

HelloWorld.o: In function `HelloWorldSeq::operator=(HelloWorldSeq const&)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:270: multiple definition of `HelloWorldSeq::operator=(HelloWorldSeq const&)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:270: first defined here

HelloWorld.o: In function `HelloWorldSeq::get_at(int) const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:279: multiple definition of `HelloWorldSeq::get_at(int) const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:279: first defined here

HelloWorld.o: In function `HelloWorldSeq::set_at(int, HelloWorld const&)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:285: multiple definition of `HelloWorldSeq::set_at(int, HelloWorld const&)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:285: first defined here

HelloWorld.o: In function `HelloWorldSeq::copy(HelloWorldSeq const&)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:295: multiple definition of `HelloWorldSeq::copy(HelloWorldSeq const&)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:295: first defined here

HelloWorld.o: In function `HelloWorldSeq::copy_no_alloc(HelloWorldSeq const&)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:298: multiple definition of `HelloWorldSeq::copy_no_alloc(HelloWorldSeq const&)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:298: first defined here

HelloWorld.o: In function `HelloWorldSeq::from_array(HelloWorld const*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:302: multiple definition of `HelloWorldSeq::from_array(HelloWorld const*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:302: first defined here

HelloWorld.o: In function `HelloWorldSeq::to_array(HelloWorld*, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:306: multiple definition of `HelloWorldSeq::to_array(HelloWorld*, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:306: first defined here

HelloWorld.o: In function `HelloWorldSeq::has_ownership()':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:312: multiple definition of `HelloWorldSeq::has_ownership()'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:312: first defined here

HelloWorld.o: In function `HelloWorldSeq::loan_contiguous(HelloWorld*, int, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:317: multiple definition of `HelloWorldSeq::loan_contiguous(HelloWorld*, int, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:317: first defined here

HelloWorld.o: In function `HelloWorldSeq::loan_discontiguous(HelloWorld**, int, int)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:323: multiple definition of `HelloWorldSeq::loan_discontiguous(HelloWorld**, int, int)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:323: first defined here

HelloWorld.o: In function `HelloWorldSeq::unloan()':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:329: multiple definition of `HelloWorldSeq::unloan()'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:329: first defined here

HelloWorld.o: In function `HelloWorldSeq::get_contiguous_bufferI() const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:334: multiple definition of `HelloWorldSeq::get_contiguous_bufferI() const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:334: first defined here

HelloWorld.o: In function `HelloWorldSeq::get_contiguous_buffer() const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:339: multiple definition of `HelloWorldSeq::get_contiguous_buffer() const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:339: first defined here

HelloWorld.o: In function `HelloWorldSeq::get_discontiguous_bufferI() const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:344: multiple definition of `HelloWorldSeq::get_discontiguous_bufferI() const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:344: first defined here

HelloWorld.o: In function `HelloWorldSeq::get_discontiguous_buffer() const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:349: multiple definition of `HelloWorldSeq::get_discontiguous_buffer() const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:349: first defined here

HelloWorld.o: In function `HelloWorldSeq::get_read_tokenI(void**, void**) const':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:354: multiple definition of `HelloWorldSeq::get_read_tokenI(void**, void**) const'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:354: first defined here

HelloWorld.o: In function `HelloWorldSeq::set_read_tokenI(void*, void*)':

/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:359: multiple definition of `HelloWorldSeq::set_read_tokenI(void*, void*)'

HelloWorld.o:/home/user/rti_connext_dds-6.0.0/include/ndds/dds_cpp/generic/dds_cpp_sequence_TSeq.gen:359: first defined here

HelloWorld.o: In function `rti::xcdr::type_code<HelloWorld>::get()':

/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:489: multiple definition of `rti::xcdr::type_code<HelloWorld>::get()'

HelloWorld.o:/home/user/rti_workspace/6.0.0/examples/connext_dds/c++/qt_integration/build-pub_test-Desktop-Debug/HelloWorld.cxx:489: first defined here

collect2: error: ld returned 1 exit status

make: *** [Makefile:220: pub_test] Error 1

09:00:53: The process "/opt/rh/devtoolset-7/root/usr/bin/make" exited with code 2.

Error while building/deploying project pub_test (kit: Desktop)

When executing step "Make"

09:00:53: Elapsed time: 00:00.

 

But while following command (linux) creates properly  objs folder with the required executables. and its run properly as well.

gmake -f makefile_HelloWorld_x64Linux3gcc4.8.2  

Kindly guide.

Regards