updated docs

This commit is contained in:
Davis King 2019-02-18 07:59:14 -05:00
parent ab9ce99846
commit 12646178ee
1 changed files with 3 additions and 2 deletions

View File

@ -57,8 +57,9 @@
<questions group="General"> <questions group="General">
<question text="Why do I get USER_ERROR__inconsistent_build_configuration__see_dlib_faq_1?"> <question text="Why do I get USER_ERROR__inconsistent_build_configuration__see_dlib_faq_1?">
You are getting this error because you are not compiling all the C++ You are getting this error because you either forgot to link to dlib,
code in your program with consistent settings. This is a violation of or are not compiling all the C++ code in your program with consistent
settings. The latter is wrong because it is a violation of
<a href="https://en.wikipedia.org/wiki/One_Definition_Rule">C++'s One Definition Rule</a>. <a href="https://en.wikipedia.org/wiki/One_Definition_Rule">C++'s One Definition Rule</a>.
In this case, you are compiling some translation units with dlib's In this case, you are compiling some translation units with dlib's
assert macros enabled and others with them disabled. assert macros enabled and others with them disabled.