Hi Sunyuan,
that's weird......never saw that error before. Could it be that "long double" is
somehow not supported under MinGW? Which boost version are you using?
You could try to ignore it, but that may give rise to other weird bugs.
You could also try to replace all "long double" in the code by "double" to workaround
other weird bugs...
Best, Joris
On Tue, Dec 08, 2015 at 01:33:31AM -0800,
sun...@foxmail.com wrote:
> Hi!
> I'm trying to build libdai-0.3.2 on MinGW, but in the stage of unittest,
> PropertyTest is not passed. It sems like error occurs in line 52 of the file:
> tests/unit/properties_test.cpp. Is it because inappropriate setting in building
> or using boost unittest framework, or another reason? I don't know why. Thanks
> a lot.
>
> tests/unit/properties_test
> Running 4 test cases...
> tests/unit/properties_test.cpp(52): error: in "PropertyTest": check s == "key=
> 3.
> 141" has failed [key=-6.17285e+043 != key=3.141]
> *** 1 failure is detected in the test module "PropertiesTest"
> make: *** [unittests] Error 201
>
> --
> You received this message because you are subscribed to the Google Groups
> "libDAI" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
libdai+un...@googlegroups.com.
> To post to this group, send email to
lib...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/libdai.
> For more options, visit
https://groups.google.com/d/optout.