Skip to content

Get errors with running example. #7

@Meolax

Description

@Meolax

/tmp/ccuGj3Z9.o: In function main': kw.cpp:(.text+0x5d): undefined reference to bprinter::TablePrinter::TablePrinter(std::ostream*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
kw.cpp:(.text+0xc2): undefined reference to bprinter::TablePrinter::AddColumn(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' kw.cpp:(.text+0x127): undefined reference to bprinter::TablePrinter::AddColumn(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)'
kw.cpp:(.text+0x18c): undefined reference to bprinter::TablePrinter::AddColumn(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' kw.cpp:(.text+0x1f1): undefined reference to bprinter::TablePrinter::AddColumn(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)'
kw.cpp:(.text+0x21b): undefined reference to bprinter::TablePrinter::PrintHeader()' kw.cpp:(.text+0x26b): undefined reference to bprinter::TablePrinter::operator<<(double)'
kw.cpp:(.text+0x2bb): undefined reference to bprinter::TablePrinter::operator<<(double)' kw.cpp:(.text+0x347): undefined reference to bprinter::TablePrinter::operator<<(double)'
kw.cpp:(.text+0x397): undefined reference to bprinter::TablePrinter::operator<<(double)' kw.cpp:(.text+0x45f): undefined reference to bprinter::TablePrinter::operator<<(double)'
/tmp/ccuGj3Z9.o:kw.cpp:(.text+0x50f): more undefined references to bprinter::TablePrinter::operator<<(double)' follow /tmp/ccuGj3Z9.o: In function main':
kw.cpp:(.text+0x51b): undefined reference to bprinter::TablePrinter::PrintFooter()' kw.cpp:(.text+0x527): undefined reference to bprinter::TablePrinter::~TablePrinter()'
kw.cpp:(.text+0x624): undefined reference to bprinter::TablePrinter::~TablePrinter()' /tmp/ccuGj3Z9.o: In function bprinter::TablePrinter& bprinter::TablePrinter::operator<< <char const*>(char const*)':
kw.cpp:(.text.ZN8bprinter12TablePrinterlsIPKcEERS0_T[ZN8bprinter12TablePrinterlsIPKcEERS0_T]+0xc3): undefined reference to bprinter::TablePrinter::get_num_columns() const' /tmp/ccuGj3Z9.o: In function bprinter::TablePrinter& bprinter::TablePrinter::operator<< (int)':
kw.cpp:(.text.ZN8bprinter12TablePrinterlsIiEERS0_T[ZN8bprinter12TablePrinterlsIiEERS0_T]+0xc0): undefined reference to `bprinter::TablePrinter::get_num_columns() const'
collect2: error: ld returned 1 exit status
kw.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions