hi. i am a latino guy. and i have some questions. how to work with orthanc code. i have a problem. cmake send this message:
the c compile identification is unknown
the cxx compiler identification is unknown
cmake error at CMakelists.txt:3 (proyect):
no CMAKE_C_COMPILER could be Found
and
no CMAKE_CXX_COMPILER could be found.
please any help!
Hello, you need to set up C and C++ compilers that can be leveraged by
CMake. Please refer to CMake documentation for how it detects them and
your system documentation for how to install one. Refer to this Q/A for
some example resolutions: http://stackoverflow.com/q/14807294 .
hi. i can compile but i have new error. cmake for windows send me a this message.
MSVC compiler version = 1900
JsonCpp include dir: JSONCPP_INCLUDE_DIR-NOTFOUND
Looking for C++ include JSONCPP_INCLUDE_DIR-NOTFOUND/json/reader.h
Looking for C++ include JSONCPP_INCLUDE_DIR-NOTFOUND/json/reader.h - not found
CMake Error at Resources/CMake/JsonCppConfiguration.cmake:32 (message):
Please install the libjsoncpp-dev package
Call Stack (most recent call first):
CMakeLists.txt:295 (include)
i dont have idea to how resolve.
when you run cmake, you should use these options to avoid external dependencies issues:
-DSTANDALONE_BUILD=ON -DSTATIC_BUILD=ON -DALLOW_DOWNLOADS=ON
jodogne
February 23, 2017, 3:45pm
5
Hello,
Build instructions for Windows are available in the Orthanc Book:
http://book.orthanc-server.com/faq/compiling.html
Regards,
Sébastien-