-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When including rapidjson for LMDeploy, I encountered cmake errors #2271
Comments
The same issue.
I found that file The commenting resolved the error as @serser prompted and the cmake config & generating were done, but maybe it is not the right solution. Edit: Although cmake doesn't throw errors after the changes above, I cannot include any *.h file from RapidJSON as the same preprocessor doesn't see any |
I also tried this approach that is working with SFML:
There aren't any errors but I still can't use |
Finally, I resolved the problem with auto usage RapidJSON by this article https://www.jibbow.com/posts/rapidjson-cmake/ |
When I try to build valhalla with external rapidjson it supposes that
Maybe this interface should be implemented since several projects assume it. |
I was following https://lmdeploy.readthedocs.io/en/latest/build.html for LMDeploy compilation. As the following install doesn't help
I pick up with source installation, but it shows a CMake Error:
To disable the errors, I comment out these lines,
What shall be the suggested way to resolve the problem and why is it reporting an error?
BR
The text was updated successfully, but these errors were encountered: