Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build on Ubuntu 15.10 #1

Open
techzilla opened this issue Dec 18, 2015 · 0 comments
Open

Failed to build on Ubuntu 15.10 #1

techzilla opened this issue Dec 18, 2015 · 0 comments

Comments

@techzilla
Copy link

Failed to build on Ubuntu 15.10


/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"ssphys\" -DPACKAGE_TARNAME=\"ssphys\" -DPACKAGE_VERSION=\"0.20.1\" -DPACKAGE_STRING=\"ssphys\ 0.20.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ssphys\" -DVERSION=\"0.20.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBBOOST_PROGRAM_OPTIONS=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -I.  -I./utils -I./SSPhysLib  -Wno-deprecated -g -O2 -MT libSSPhys_la-SSItemInfoObject.lo -MD -MP -MF .deps/libSSPhys_la-SSItemInfoObject.Tpo -c -o libSSPhys_la-SSItemInfoObject.lo `test -f './SSPhysLib/SSItemInfoObject.cpp' || echo './'`./SSPhysLib/SSItemInfoObject.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"ssphys\" -DPACKAGE_TARNAME=\"ssphys\" -DPACKAGE_VERSION=\"0.20.1\" "-DPACKAGE_STRING=\"ssphys 0.20.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ssphys\" -DVERSION=\"0.20.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBBOOST_PROGRAM_OPTIONS=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -I. -I./utils -I./SSPhysLib -Wno-deprecated -g -O2 -MT libSSPhys_la-SSItemInfoObject.lo -MD -MP -MF .deps/libSSPhys_la-SSItemInfoObject.Tpo -c ./SSPhysLib/SSItemInfoObject.cpp  -fPIC -DPIC -o .libs/libSSPhys_la-SSItemInfoObject.o
./SSPhysLib/SSItemInfoObject.cpp: In member function 'std::__cxx11::string SSItemInfoObject::GetDataFileName() const':
./SSPhysLib/SSItemInfoObject.cpp:163:68: error: no matching function for call to 'boost::filesystem::path::path(std::__cxx11::string&, bool (&)(const string&))'
   boost::filesystem::path fpath(fileName, boost::filesystem::native);
                                                                    ^
In file included from /usr/include/boost/filesystem/operations.hpp:25:0,
                 from ./SSPhysLib/SSItemInfoObject.cpp:11:
/usr/include/boost/filesystem/path.hpp:167:5: note: candidate: template boost::filesystem::path::path(InputIterator, InputIterator, const codecvt_type&)
     path(InputIterator begin, InputIterator end, const codecvt_type& cvt)
     ^
/usr/include/boost/filesystem/path.hpp:167:5: note:   template argument deduction/substitution failed:
./SSPhysLib/SSItemInfoObject.cpp:163:68: note:   deduced conflicting types for parameter 'InputIterator' ('std::__cxx11::basic_string' and 'bool (*)(const string&) {aka bool (*)(const std::__cxx11::basic_string&)}')
   boost::filesystem::path fpath(fileName, boost::filesystem::native);
                                                                    ^
In file included from /usr/include/boost/filesystem/operations.hpp:25:0,
                 from ./SSPhysLib/SSItemInfoObject.cpp:11:
/usr/include/boost/filesystem/path.hpp:155:5: note: candidate: template boost::filesystem::path::path(InputIterator, InputIterator)
     path(InputIterator begin, InputIterator end)
     ^
/usr/include/boost/filesystem/path.hpp:155:5: note:   template argument deduction/substitution failed:
./SSPhysLib/SSItemInfoObject.cpp:163:68: note:   deduced conflicting types for parameter 'InputIterator' ('std::__cxx11::basic_string' and 'bool (*)(const string&) {aka bool (*)(const std::__cxx11::basic_string&)}')
   boost::filesystem::path fpath(fileName, boost::filesystem::native);
                                                                    ^
In file included from /usr/include/boost/filesystem/operations.hpp:25:0,
                 from ./SSPhysLib/SSItemInfoObject.cpp:11:
/usr/include/boost/filesystem/path.hpp:149:5: note: candidate: template boost::filesystem::path::path(const Source&, const codecvt_type&)
     path(Source const& source, const codecvt_type& cvt)
     ^
/usr/include/boost/filesystem/path.hpp:149:5: note:   template argument deduction/substitution failed:
./SSPhysLib/SSItemInfoObject.cpp:163:68: note:   cannot convert 'boost::filesystem::native' (type 'bool(const string&) {aka bool(const std::__cxx11::basic_string&)}') to type 'const codecvt_type& {aka const std::codecvt&}'
   boost::filesystem::path fpath(fileName, boost::filesystem::native);
                                                                    ^
In file included from /usr/include/boost/filesystem/operations.hpp:25:0,
                 from ./SSPhysLib/SSItemInfoObject.cpp:11:
/usr/include/boost/filesystem/path.hpp:146:5: note: candidate: boost::filesystem::path::path(boost::filesystem::path::string_type&)
     path(string_type& s) : m_pathname(s) {}
     ^
/usr/include/boost/filesystem/path.hpp:146:5: note:   candidate expects 1 argument, 2 provided
/usr/include/boost/filesystem/path.hpp:145:5: note: candidate: boost::filesystem::path::path(const string_type&)
     path(const string_type& s) : m_pathname(s) {}
     ^
/usr/include/boost/filesystem/path.hpp:145:5: note:   candidate expects 1 argument, 2 provided
/usr/include/boost/filesystem/path.hpp:144:5: note: candidate: boost::filesystem::path::path(boost::filesystem::path::value_type*)
     path(value_type* s) : m_pathname(s) {}
     ^
/usr/include/boost/filesystem/path.hpp:144:5: note:   candidate expects 1 argument, 2 provided
/usr/include/boost/filesystem/path.hpp:143:5: note: candidate: boost::filesystem::path::path(const value_type*)
     path(const value_type* s) : m_pathname(s) {}
     ^
/usr/include/boost/filesystem/path.hpp:143:5: note:   candidate expects 1 argument, 2 provided
/usr/include/boost/filesystem/path.hpp:136:5: note: candidate: boost::filesystem::path::path(const Source&, typename boost::enable_if::type> >::type*) [with Source = std::__cxx11::basic_string; typename boost::enable_if::type> >::type = void] 
     path(Source const& source,
     ^
/usr/include/boost/filesystem/path.hpp:136:5: note:   conversion of argument 2 would be ill-formed:
./SSPhysLib/SSItemInfoObject.cpp:163:68: error: invalid conversion from 'bool (*)(const string&) {aka bool (*)(const std::__cxx11::basic_string&)}' to 'boost::enable_if_c::type* {aka void*}' [-fpermissive]
   boost::filesystem::path fpath(fileName, boost::filesystem::native);
                                                                    ^
In file included from /usr/include/boost/filesystem/operations.hpp:25:0,
                 from ./SSPhysLib/SSItemInfoObject.cpp:11:
/usr/include/boost/filesystem/path.hpp:133:5: note: candidate: boost::filesystem::path::path(const boost::filesystem::path&)
     path(const path& p) : m_pathname(p.m_pathname) {}
     ^
/usr/include/boost/filesystem/path.hpp:133:5: note:   candidate expects 1 argument, 2 provided
/usr/include/boost/filesystem/path.hpp:131:5: note: candidate: boost::filesystem::path::path()
     path(){}                                          
     ^
/usr/include/boost/filesystem/path.hpp:131:5: note:   candidate expects 0 arguments, 2 provided
./SSPhysLib/SSItemInfoObject.cpp:167:36: error: conversion from 'boost::filesystem::path' to non-scalar type 'std::__cxx11::string {aka std::__cxx11::basic_string}' requested
     std::string lcLeaf = fpath.leaf();
                                    ^
./SSPhysLib/SSItemInfoObject.cpp:168:36: error: conversion from 'boost::filesystem::path' to non-scalar type 'std::__cxx11::string {aka std::__cxx11::basic_string}' requested
     std::string ucLeaf = fpath.leaf();
                                    ^
Makefile:677: recipe for target 'libSSPhys_la-SSItemInfoObject.lo' failed
make: *** [libSSPhys_la-SSItemInfoObject.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant