Quote (AbDuCt @ Feb 14 2014 11:18pm)
Well... can't help you much without knowing what is error now can we lol.
Derp, good point.
Here's the command im using to compile incase it's any help:
Code
g++ -I /usr/include/boost -I ./html/ -I ./pugixml/ -I ./cpp/ -I ../include/ -L../lib -std=c++0x -lcurl -liconv -l boost_system -l boost_regex -o {source files}
Here's just a few errors it's dumping..
Code
/usr/include/boost/log/attributes/attribute_name.hpp: At global scope:
/usr/include/boost/log/attributes/attribute_name.hpp:70: error: ‘BOOST_CONSTEXPR’ does not name a type
/usr/include/boost/log/attributes/attribute_name.hpp:99: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_name.hpp:106: error: expected ‘;’ before ‘bool’
/usr/include/boost/log/attributes/attribute_name.hpp:106: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_name.hpp:114: error: expected ‘;’ before ‘bool’
In file included from /usr/include/boost/log/attributes/attribute_set.hpp:24,
from /usr/include/boost/log/sources/basic_logger.hpp:35,
from main.h:48,
from auth.cpp:9:
/usr/include/boost/log/attributes/attribute_name.hpp:143: error: only declarations of constructors can be ‘explicit’
/usr/include/boost/log/attributes/attribute_name.hpp:150: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_name.hpp:156: error: expected ‘;’ before ‘id_type’
/usr/include/boost/log/attributes/attribute_name.hpp:156: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_name.hpp:165: error: expected ‘;’ before ‘string_type’
/usr/include/boost/log/attributes/attribute_name.hpp: In member function ‘boost::log::v2s_mt_posix::attribute_name::operator bool() const’:
/usr/include/boost/log/attributes/attribute_name.hpp:143: error: ‘const class boost::log::v2s_mt_posix::attribute_name’ has no member named ‘operator!’
In file included from /usr/include/boost/log/attributes/attribute_set.hpp:25,
from /usr/include/boost/log/sources/basic_logger.hpp:35,
from main.h:48,
from auth.cpp:9:
/usr/include/boost/log/attributes/attribute.hpp: At global scope:
/usr/include/boost/log/attributes/attribute.hpp:79: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:96: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:101: error: expected ‘;’ before ‘attribute’
/usr/include/boost/log/attributes/attribute.hpp:101: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:108: error: expected ‘;’ before ‘explicit’
/usr/include/boost/log/attributes/attribute.hpp:108: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:113: error: expected ‘;’ before ‘attribute’
/usr/include/boost/log/attributes/attribute.hpp:113: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:122: error: expected ‘;’ before ‘attribute’
/usr/include/boost/log/attributes/attribute.hpp:122: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:129: error: expected ‘;’ before ‘attribute’
/usr/include/boost/log/attributes/attribute.hpp:129: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:135: error: only declarations of constructors can be ‘explicit’
/usr/include/boost/log/attributes/attribute.hpp:140: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:146: error: expected ‘;’ before ‘attribute_value’
/usr/include/boost/log/attributes/attribute.hpp:151: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:153: error: expected ‘;’ before ‘protected’
/usr/include/boost/log/attributes/attribute.hpp:157: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:163: error: expected ‘;’ before ‘void’
/usr/include/boost/log/attributes/attribute.hpp:163: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute.hpp:165: error: expected ‘;’ before ‘template’
/usr/include/boost/log/attributes/attribute.hpp: In member function ‘boost::log::v2s_mt_posix::attribute::operator bool() const’:
/usr/include/boost/log/attributes/attribute.hpp:135: error: ‘const class boost::log::v2s_mt_posix::attribute’ has no member named ‘operator!’
/usr/include/boost/log/attributes/attribute.hpp: At global scope:
/usr/include/boost/log/attributes/attribute.hpp:172: error: expected initializer before ‘BOOST_NOEXCEPT’
In file included from /usr/include/boost/log/sources/basic_logger.hpp:35,
from main.h:48,
from auth.cpp:9:
/usr/include/boost/log/attributes/attribute_set.hpp:56: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_set.hpp:63: error: expected ‘;’ before ‘operator’
/usr/include/boost/log/attributes/attribute_set.hpp:63: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_set.hpp:167: error: ‘BOOST_CONSTEXPR’ does not name a type
/usr/include/boost/log/attributes/attribute_set.hpp:168: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_set.hpp:169: error: expected ‘;’ before ‘iter’
/usr/include/boost/log/attributes/attribute_set.hpp:169: error: expected ‘;’ before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_set.hpp:172: error: expected ‘;’ before ‘template’
/usr/include/boost/log/attributes/attribute_set.hpp:173: error: expected initializer before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_set.hpp:181: error: expected initializer before ‘BOOST_NOEXCEPT’
/usr/include/boost/log/attributes/attribute_set.hpp:183: error: expected initializer before ‘BOOST_NOEXCEPT’
This post was edited by SelfTaught on Feb 15 2014 01:26am