Forum Replies Created
-
AuthorPosts
-
LHWlenBlocked
It solved!
Thank you Froy and guillaume, since I use prebuilted boost binaries,
and have those configurations, I succeed in building sofa.LHWlenBlockedThanks again Froy,
as for your suggestion:
“1. CMake may have been confused with the directories so do you clear cache when you set the boost paths ? (just to be sure)”
-answer: I’m sure I cleared, I always use new directory, for a new sofa compiling, I did it when I changed the boost version.“2- Can you make sure that Visual Studio is getting the right paths ?”
-answer: Yes I can see all the boost lib is in project property of linker.“3- Where did you get boost ? precompiled from boost website or did you compile your own version ?“
-answer: I always build boost by myself. I tried building boost today again, still have the C2228 ‘select_on_container_copy_construction in the file ” error.
by the way, I got failed updating 8 errors in the boost building.LHWlenBlockedHi Froy,
Thanks for your answer,
I will continue compiling on VisualStudio2013,Sorry for the mistake of the last post.
I use only one version of boost, and I tried an old one before.
The setting of Cmake is always the same boost version, but still I got the same error C2228 in both version of boost.if I choose to use external boost,
I want to ask my Cmake configuration is correct or not? (except the different versions)
if it possible, I want to refer to your Cmake configurartion.Or any other mistakes may cause the problem.
Thank you
LHWlenBlockedHi,
sorry for the inpatient post.
I just want to detail the compile error of the last post.1.compiling with miniboost
by following the official doc of windows
I didn’t change any tags of Cmake options.
I got several compile error , the first is:
“error C2039 assert_not_arg : ‘boost::mpl’ is not a member of ….”
this error located in “sofa\extlibs\miniBoost\boost\iterator\detail\facade_iterator_category.hpp 166 1”Next,
2.compile with external boostI build the boost_1_59_0(also 1_55_0),
and setting the tags of Cmake options especially :
BOOST_ROOT “../boost_1_59_0”
Boost_CHRONO_LIBRARY_DEBUG “../boost_1_55_0/boost_1_55_0/bin.v2/libs/chrono/build/msvc-12.0/debug/link-static/threading-multi/libboost_chrono-vc120-mt-gd-1_55.lib”Boost_CHRONO_LIBRARY_RELEASE “../boost_1_55_0/boost_1_55_0/bin.v2/libs/chrono/build/msvc-12.0/release/link-static/threading-multi/libboost_chrono-vc120-mt-gd-1_55.lib”
and so as the other library directory,
Boost_DIR Boost_DIR-NOTFOUND (always not found)
Boost_INCLUDE_DIR “../boost_1_59_0”
and so as the other library directory.then, I got the compile error:
C2228 ‘select_on_container_copy_construction in the file “has_member_funtion_callable_with.hpp row200 1” of SofaHelper project.that is the detail of my problem, I hope it can be helpful.
Thanks.
-wlen
-
AuthorPosts