Siddharth Kumar
Siddharth Kumar

Reputation: 1

Unable to Compile KAA C++ SDK

While compiling C++ SDK I am getting the following error **

** fatal error: kaa/gen/EndpointGen.hpp: No such file or directory [ 1%] Building CXX object kaa/CMakeFiles/kaacpp.dir/impl/event/registration/EndpointRegistrationManager.cpp.o In file included from /home/vidhi/Projects/Kaa/kaaCppApp/kaa/kaa/channel/ITransportConnectionInfo.hpp:25:0, from /home/vidhi/Projects/Kaa/kaaCppApp/kaa/kaa/KaaDefaults.hpp:28, from /home/vidhi/Projects/Kaa/kaaCppApp/kaa/kaa/event/registration/EndpointRegistrationManager.hpp:20, from /home/vidhi/Projects/Kaa/kaaCppApp/kaa/impl/event/registration/EndpointRegistrationManager.cpp:17: /home/vidhi/Projects/Kaa/kaaCppApp/kaa/kaa/channel/TransportProtocolId.hpp:22:35: fatal error: kaa/gen/EndpointGen.hpp: No such file or directory #include "kaa/gen/EndpointGen.hpp" ^ compilation terminated. make[2]: * [kaa/CMakeFiles/kaacpp.dir/impl/event/registration/EndpointRegistrationManager.cpp.o] Error 1 make[1]: * [kaa/CMakeFiles/kaacpp.dir/all] Error 2 make: *** [all] Error 2

Manually I place EndpointGen.hpp file but again while compiling it's giving the same error for different file. Later I found files inside kaa/CMakeFiles/kaacpp.dir/impl/ were missing.

Could anyone please help me to resolve this issue?

Upvotes: 0

Views: 86

Answers (1)

CocoCrisp
CocoCrisp

Reputation: 815

This issue was resolved in v2.0.0 by adding compile-client-cpp option to the maven goals when compiling Kaa.

See the reference for this.

Upvotes: 1

Related Questions