Issue while building java_wrapping of fetpapi with fesapi on centos

Hi @philippeVerney

I’m trying to build java wrapping of fetpapi with fesapi-2.4.0.0 on centos via following the yml fetpapi/github-actions.yml at main · F2I-Consulting/fetpapi · GitHub
Using command
cmake -DAVRO_INCLUDE_DIR=/home/centos/fetpapiEnv/dependencies/avro-cpp-1.10.2-install/include -DAVRO_LIBRARY_RELEASE=/home/centos/fetpapiEnv/dependencies/avro-cpp-1.10.2-install/lib/libavrocpp_s.a -DWITH_FESAPI=TRUE -DFESAPI_INCLUDE_DIR=/home/centos/fetpEnv/fesapi-install/include/ -DFESAPI_LIBRARY_RELEASE=/home/centos/fetpEnv/fesapi-install/lib64/libFesapiCpp.so -DFESAPI_JAR=/home/centos/fetpEnv/fesapi-install/lib64/fesapiJava-2.4.0.0.jar -DWITH_JAVA_WRAPPING=TRUE /home/centos/fetpEnv/fetpapi-src/
I’m able to configure and generate the swig files

but after command
cmake --build . --config Release -j2
i’m getting following errors


Can you please guide me. Thanks
Regards,
Sidrah Islam

Hi Sidrah,

It looks like a header file is missing.
Could you try to add a line

#include <boost/asio/steady_timer.hpp>

in the block of lines starting line 27 in https://github.com/F2I-Consulting/fetpapi/blob/main/src/etp/Server.h and see if it works please?
If it helps I will add it in master.

hi @philippeVerney

It worked you can add it in master.

Thank you for the solution.
Regards,
Sidrah islam

1 Like