capicxx-core-runtime
capicxx-core-runtime copied to clipboard
Update Types.hpp
this can solve the error on the environment of Ubuntu 24.04
the error message
[ 18%] Building CXX object CMakeFiles/CommonAPI.dir/src/CommonAPI/CallInfo.cpp.o
In file included from /home/ubuntu/someip/capicxx-core-runtime/include/CommonAPI/Config.hpp:13,
from /home/ubuntu/someip/capicxx-core-runtime/include/CommonAPI/CallInfo.hpp:13,
from /home/ubuntu/someip/capicxx-core-runtime/src/CommonAPI/CallInfo.cpp:6:
/home/ubuntu/someip/capicxx-core-runtime/include/CommonAPI/Types.hpp:113:40: error: return type ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} is incomplete
113 | virtual std::string getEnv() const {
| ^
/home/ubuntu/someip/capicxx-core-runtime/include/CommonAPI/Types.hpp:116:48: error: return type ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} is incomplete
116 | virtual std::string getHostAddress() const {
| ^
make[2]: *** [CMakeFiles/CommonAPI.dir/build.make:90: CMakeFiles/CommonAPI.dir/src/CommonAPI/CallInfo.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/CommonAPI.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Hi! Is there any plans to merge this?