For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Building on Linux with rapidjson

Chris Richards's picture

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


but when I look in CMakeCache.txt it has 


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?

Kirill Gavrilov's picture

Check CMake documentation for passing configuration arguments - they are not environment variables like in your samples.

cmake -G "Unix Makefiles" -D USE_RAPIDJSON:BOOL="ON" /home/occt.git


Chris Richards's picture


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.