|
Boost Users : |
Subject: [Boost-users] Compilation Problem Boost 1.50
From: saugat mitra (saugat.mitra_at_[hidden])
Date: 2012-08-13 11:11:19
Hi
I am trying yo compile Secret Maryo Chronicles SMC 1,9 on my Ubuntu machine
11.10 . I have installed Boost 1.50.0. But when I run make I get the
following error -
[code]
core/filesystem/filesystem.cpp: In function bool SMC::Dir_Exists(const
string&):
core/filesystem/filesystem.cpp:67:47: error: invalid conversion from bool
(*)(const string&) {aka bool (*)(const std::basic_string<char>&)} to
boost::enable_if_c<true, void>::type* {aka void*} [-fpermissive]
/usr/include/boost/filesystem/v3/path.hpp:130:5: error: initializing
argument 2 of boost::filesystem3::path::path(const Source&, typename
boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename
boost::decay<Source>::type> >::type*) [with Source =
std::basic_string<char>, typename
boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename
boost::decay<Source>::type> >::type = void] [-fpermissive]
core/filesystem/filesystem.cpp: In function bool
SMC::Create_Directory(const string&):
core/filesystem/filesystem.cpp:92:57: error: invalid conversion from bool
(*)(const string&) {aka bool (*)(const std::basic_string<char>&)} to
boost::enable_if_c<true, void>::type* {aka void*} [-fpermissive]
/usr/include/boost/filesystem/v3/path.hpp:130:5: error: initializing
argument 2 of boost::filesystem3::path::path(const Source&, typename
boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename
boost::decay<Source>::type> >::type*) [with Source =
std::basic_string<char>, typename
boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename
boost::decay<Source>::type> >::type = void] [-fpermissive]
core/filesystem/filesystem.cpp: In function
std::vector<std::basic_string<char> > SMC::Get_Directory_Files(const
string&, const string&, bool, bool):
[/code]
Any help would be much appreciated.
Thanks.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net