Hello Sébastién,
I am still struggling with getting the sample plugins compiled
CMAKE gets thru without issues (see the log below)
When I open the .sln afterwards, the project seems to be complete, but showing a lot of errors in the OrthancCPlugin.h file
It is all about integer definitions as far as I can oversee it (u_int64 not defined etc.)
In the OrthancCPlugin.h file there is a link in the comments to download a compatibility stdint.h, the link is broken
(but I guess this file should actually be the one that can be found in the \Resources\ThirdParty\VisualStudio folder?)
Here the CMake output:
– Building for: Visual Studio 14 2015
– Selecting Windows SDK version 10.0.10240.0 to target Windows 10.0.17134.
– The C compiler identification is MSVC 19.0.24215.1
– The CXX compiler identification is MSVC 19.0.24215.1
– Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
– Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
– Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found PythonInterp: C:/Users/Knut/AppData/Local/Programs/Python/Python37-32/python.exe (found version “3.7.2”)
– Configuring done
– Generating done
– Build files have been written to: C:/Orthanc-1.5.3/Plugins/Samples/StorageArea/build
This is the build folder after running cmake:
The same opened in the VS project explorer:
and the OrthancCPlugin.h showing the errors: