Build error using json.hpp on project that uses swig (ICG) #4295
Answered
by
gregmarr
yusufcananar
asked this question in
Q&A
-
Hello, I am trying to integrate nlohmann/json.hpp to a project(trick) which uses swig to generate codes.
I dont use any of them only usage of json in this function;
I think swig covers all the lines in the json.hpp but i dont know what should I do. Is removing or commenting this lines is a good practice? |
Beta Was this translation helpful? Give feedback.
Answered by
gregmarr
Feb 19, 2024
Replies: 1 comment 2 replies
-
You need to tell SWIG to ignore that class. https://www.swig.org/Doc1.3/SWIG.html#SWIG_rename_ignore |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
yusufcananar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to tell SWIG to ignore that class. https://www.swig.org/Doc1.3/SWIG.html#SWIG_rename_ignore