-
Notifications
You must be signed in to change notification settings - Fork 46
Description
I was running Orion LD v1.5.10 and decided to updgrade to v1.10.0. I updated all the K libs and libmongoclient-dev.
Next thing I noticed that it OrionLD 1.10 required DDS.
There is an install script in:
https://github.com/FIWARE/context.Orion-LD/blob/develop/docker/build-ubi/04.install-fastdds.sh
Which is used as a guidance to download DDS Enabler v1.0.0 and all its dependencies:
https://github.com/eProsima/DDS-Enabler/releases/tag/v1.0.0 (installed in /opt/Fast-DDS)
But still when I run make install in /git/context.Orion-LD-1.10.0/ I get this - any ideas, am I missing anything?
/home/admin/git/context.Orion-LD-1.10.0/src/lib/orionld/dds/ddsInit.cpp: In function ‘int ddsInit(Kjson*)’:
/home/admin/git/context.Orion-LD-1.10.0/src/lib/orionld/dds/ddsInit.cpp:164:52: error: no matching function for call to ‘create_dds_enabler(char [512], void (&)(const char*, const char*, int64_t), void (&)(const char*, const char*, const unsigned char*, uint32_t, const char*), void (&)(const char*, const char*, const char*), void (&)(const char*, unsigned char*&, uint32_t&), void (&)(const char*, char*&, char*&), void (&)(const char*, int, const char*, int, const char*), std::unique_ptreprosima::ddsenabler::DDSEnabler&)’
164 | bool r = eprosima::ddsenabler::create_dds_enabler(configFile,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
165 | ddsNotification,
| ~~~~~~~~~~~~~~~~
166 | ddsTypeNotification,
| ~~~~~~~~~~~~~~~~~~~~
167 | ddsTopicNotification,
| ~~~~~~~~~~~~~~~~~~~~~
168 | ddsTypeRequest,
| ~~~~~~~~~~~~~~~
169 | ddsTopicRequest,
| ~~~~~~~~~~~~~~~~
170 | ddsLog,
| ~~~~~~~
171 | ddsEnabler);
| ~~~~~~~~~~~
In file included from /home/admin/git/context.Orion-LD-1.10.0/src/lib/orionld/dds/ddsInit.cpp:29:
/usr/local/include/ddsenabler/dds_enabler_runner.hpp:41:6: note: candidate: ‘bool eprosima::ddsenabler::create_dds_enabler(const char*, const eprosima::ddsenabler::CallbackSet&, std::shared_ptreprosima::ddsenabler::DDSEnabler&)’
41 | bool create_dds_enabler(
| ^~~~~~~~~~~~~~~~~~
/usr/local/include/ddsenabler/dds_enabler_runner.hpp:41:6: note: candidate expects 3 arguments, 8 provided
/usr/local/include/ddsenabler/dds_enabler_runner.hpp:54:6: note: candidate: ‘bool eprosima::ddsenabler::create_dds_enabler(eprosima::ddsenabler::yaml::EnablerConfiguration, const eprosima::ddsenabler::CallbackSet&, std::shared_ptreprosima::ddsenabler::DDSEnabler&)’
54 | bool create_dds_enabler(
| ^~~~~~~~~~~~~~~~~~
/usr/local/include/ddsenabler/dds_enabler_runner.hpp:54:6: note: candidate expects 3 arguments, 8 provided
[ 87%] Building CXX object src/lib/orionld/payloadCheck/CMakeFiles/orionld_payloadCheck.dir/pcheckQuery.cpp.o
make[3]: *** [src/lib/orionld/dds/CMakeFiles/orionld_dds.dir/build.make:90: src/lib/orionld/dds/CMakeFiles/orionld_dds.dir/ddsInit.cpp.o] Error 1
make[3]: Leaving directory '/home/admin/git/context.Orion-LD-1.10.0/BUILD_RELEASE'
make[2]: *** [CMakeFiles/Makefile2:2126: src/lib/orionld/dds/CMakeFiles/orionld_dds.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....