You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to install MongoDB plugin on Orthanc Docker but getting an error at the binding stage (see the error at the bottom). I really appreciate if someone can help me to resolve the issue.
docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.5.7
Prerequisite: MongoDB C++ Driver https://github.com/mongodb/mongo-cxx-driver/releases
a. mongo-cxx-driver-r3.4.2.tar.gz
b. tar –xvf mongo-cxx-driver-r3.4.2.tar.gz
c. mkdir p- mongo-cxx-driver/build
d. cmake -DCMAKE_CXX_FLAGS='-fPIC' -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DLIBBSON_DIR=/usr/local -DLIBMONGOC_DIR=/usr/local ..
e. make
f. make install
Prerequisite: JsonCpp (1.8.0 exact)
a. curl -L --output jsoncpp-1.8.0.tar.gz https://github.com/open-source-parsers/jsoncpp/archive/1.8.0.tar.gz
b. tar -xzf jsoncpp-1.8.0.tar.gz
c. mkdir -p jsoncpp-1.8.0/build
d. cd jsoncpp-1.8.0/build
e. cmake -DCMAKE_CXX_FLAGS='-fPIC' -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release ..
f. make
g. make inastall
Error ---
/root/orthanc-mongodb/Core/Configuration.h:26:10: fatal error: orthanc/OrthancCPlugin.h: No such file or directory
#include <orthanc/OrthancCPlugin.h>
Thanks in advance
Imran
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to install MongoDB plugin on Orthanc Docker but getting an error at the binding stage (see the error at the bottom). I really appreciate if someone can help me to resolve the issue.
a. mongo-cxx-driver-r3.4.2.tar.gz
b. tar –xvf mongo-cxx-driver-r3.4.2.tar.gz
c. mkdir p- mongo-cxx-driver/build
d. cmake -DCMAKE_CXX_FLAGS='-fPIC' -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DLIBBSON_DIR=/usr/local -DLIBMONGOC_DIR=/usr/local ..
e. make
f. make install
a. curl -L --output jsoncpp-1.8.0.tar.gz https://github.com/open-source-parsers/jsoncpp/archive/1.8.0.tar.gz
b. tar -xzf jsoncpp-1.8.0.tar.gz
c. mkdir -p jsoncpp-1.8.0/build
d. cd jsoncpp-1.8.0/build
e. cmake -DCMAKE_CXX_FLAGS='-fPIC' -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release ..
f. make
g. make inastall
a. https://github.com/Doc-Cirrus/orthanc-mongod
OR
b. git clone https://github.com/Doc-Cirrus/orthanc-mongodb.git
c. mkdir -p orthanc-mongodb/build
d. cd orthanc-mongodb/build
e. cmake -DCMAKE_CXX_FLAGS='-fPIC' -DCMAKE_INSTALL_PREFIX=/usr
f. -DCMAKE_BUILD_TYPE=Release -DORTHANC_ROOT=/root/Orthanc \ -DAUTO_INSTALL_DEPENDENCIES=ON .
g. Make
Error ---
/root/orthanc-mongodb/Core/Configuration.h:26:10: fatal error: orthanc/OrthancCPlugin.h: No such file or directory
#include <orthanc/OrthancCPlugin.h>
Thanks in advance
Imran
The text was updated successfully, but these errors were encountered: