Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h

Hello Sebastien,

congratulations to the new releases! All upgrades worked fine, except the one for the webviewer:

[   73s] [ 18%] Building CXX object CMakeFiles/OrthancWebViewer.dir/Plugin/DecodedImageAdapter.cpp.o
[   73s] /usr/bin/c++  -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_HAS_FILESYSTEM_V3=1 -DHAS_ORTHANC_EXCEPTION=1 -DJSONCPP_DEPRECATED_STACK_LIMIT=5000 -DORTHANC_API_VERSION=7 -DORTHANC_DATABASE_VERSION=6 -DORTHANC_DEFAULT_DICOM_ENCODING=Encoding_Latin1 -DORTHANC_ENABLE_BASE64=1 -DORTHANC_ENABLE_CIVETWEB=0 -DORTHANC_ENABLE_CURL=0 -DORTHANC_ENABLE_DCMTK=0 -DORTHANC_ENABLE_DCMTK_NETWORKING=0 -DORTHANC_ENABLE_DCMTK_TRANSCODING=0 -DORTHANC_ENABLE_JPEG=0 -DORTHANC_ENABLE_LOCALE=0 -DORTHANC_ENABLE_LOGGING=1 -DORTHANC_ENABLE_LOGGING_PLUGIN=1 -DORTHANC_ENABLE_LOGGING_STDIO=0 -DORTHANC_ENABLE_LUA=0 -DORTHANC_ENABLE_MD5=1 -DORTHANC_ENABLE_MONGOOSE=0 -DORTHANC_ENABLE_PKCS11=0 -DORTHANC_ENABLE_PNG=0 -DORTHANC_ENABLE_PUGIXML=0 -DORTHANC_ENABLE_SQLITE=1 -DORTHANC_ENABLE_SSL=0 -DORTHANC_ENABLE_ZLIB=0 -DORTHANC_HAS_EMBEDDED_RESOURCES=0 -DORTHANC_MAXIMUM_TAG_LENGTH=256 -DORTHANC_PLUGIN_VERSION=\"2.6\" -DORTHANC_SANDBOXED=0 -DORTHANC_SQLITE_VERSION=3031001 -DORTHANC_STANDALONE=1 -DORTHANC_STATIC=0 -DORTHANC_VERSION=\"1.7.1\" -DORTHANC_VERSION_MAJOR=1 -DORTHANC_VERSION_MINOR=7 -DORTHANC_VERSION_REVISION=1 -DOrthancWebViewer_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -I/home/abuild/rpmbuild/BUILD/OrthancWebViewer-2.6/build/AUTOGENERATED -I/usr/src/orthanc/Resources/CMake/../..  -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -DNDEBUG -Wall -Wno-long-long -Wno-variadic-macros -std=gnu++11 -Wno-deprecated-declarations -O2 -g -DNDEBUG -fPIC   -o CMakeFiles/OrthancWebViewer.dir/Plugin/DecodedImageAdapter.cpp.o -c /home/abuild/rpmbuild/BUILD/OrthancWebViewer-2.6/Plugin/DecodedImageAdapter.cpp
[   73s] /home/abuild/rpmbuild/BUILD/OrthancWebViewer-2.6/Plugin/DecodedImageAdapter.cpp:30:10: fatal error: Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h: No such file or directory
[   73s]    30 | #include <Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h>
[   73s]       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   73s] compilation terminated.

Any hint for me?
Thanks
Axel

Hello Axel,

This is great news, thanks for your quickness!

Regarding your issue with the Web viewer, you are visibly not using the right version of the source code. Here is the file you should have:
https://hg.orthanc-server.com/orthanc-webviewer/file/OrthancWebViewer-2.6/Plugin/DecodedImageAdapter.cpp

As can be seen, there is no more inclusion of “OrthancImageWrapper.h” in this file.

HTH,
Sébastien-

Hi Sebastien,