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::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 >::type*) [with Source =
std::basic_string<char>, typename
boost::enable_if >::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::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 >::type*) [with Source =
std::basic_string<char>, typename
boost::enable_if >::type = void]’ [-fpermissive]
core/filesystem/filesystem.cpp: In function
‘std::vector SMC::Get_Directory_Files(const
string&, const string&, bool, bool)’:
[/code]
Any help would be much appreciated.
Thanks.