Good morning,
the mysql plugin fails to build on latest software, but is OK for mature software stacks:
75s] /home/abuild/rpmbuild/BUILD/orthanc-mysql-5.2-build/OrthancMySQL-5.2/MySQL/Plugins/IndexPlugin.cpp: In function ‘int32_t OrthancPluginInitialize(OrthancPluginContext*)’:
[ 75s] /home/abuild/rpmbuild/BUILD/orthanc-mysql-5.2-build/OrthancMySQL-5.2/MySQL/Plugins/IndexPlugin.cpp:40:5: error: ‘GOOGLE_PROTOBUF_VERIFY_VERSION’ was not declared in this scope; did you mean ‘GOOGLE_PROTOBUF_SERIAL_ARENA_H__’?
[ 75s] 40 | GOOGLE_PROTOBUF_VERIFY_VERSION;
[ 75s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 75s] | GOOGLE_PROTOBUF_SERIAL_ARENA_H__
[ 75s] make[2]: *** [CMakeFiles/OrthancMySQLIndex.dir/build.make:82: CMakeFiles/OrthancMySQLIndex.dir/Plugins/IndexPlugin.cpp.o] Error 1
[ 75s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/orthanc-mysql-5.2-build/OrthancMySQL-5.2/build'
[ 75s] make[1]: *** [CMakeFiles/Makefile2:199: CMakeFiles/OrthancMySQLIndex.dir/all] Error 2
Full log:
Any update appreciated
Cheers
Axel