
Fri, 04/03/2020 - 00:23
Forums:
How do I get the build to include rapidjson?
I've managed to successfully build occt within a Ubuntu Docker container, but it doesn't include rapidjson.
rapidjson is installed via
apt-get install rapidjson-dev
and the files are available in /usr/include/rapidjson
I've tried setting the USE_RAPIDJSON environment variable
export USE_RAPIDJSON=ON
but when I look in CMakeCache.txt it has
USE_RAPIDJSON:BOOL=OFF
I've also tried running cmake as below but with the same results
USE_RAPIDJSON=ON cmake /app/occt
How do I enable rapidjson for the build?
Fri, 04/03/2020 - 00:41
Check CMake documentation for passing configuration arguments - they are not environment variables like in your samples.
Fri, 04/03/2020 - 11:15
Thanks!