CSVparser icon indicating copy to clipboard operation
CSVparser copied to clipboard

Compile Error in C++11

Open arsari opened this issue 6 years ago • 0 comments

I trying to text the example in the readme file and I get the following errors:

c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x77): undefined reference to `csv::Parser::Parser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, csv::DataType const&, char)'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0xa8): undefined reference to `csv::Parser::operator[](unsigned int) const'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0xc2): undefined reference to `csv::Row::operator[][abi:cxx11](unsigned int) const'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x107): undefined reference to `csv::Parser::operator[](unsigned int) const'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x11a): undefined reference to `csv::operator<<(std::ostream&, csv::Row const&)'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x164): undefined reference to `csv::Parser::operator[](unsigned int) const'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x17d): undefined reference to `csv::Row::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x1cf): undefined reference to `csv::Parser::rowCount() const'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x1fd): undefined reference to `csv::Parser::columnCount() const'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x239): undefined reference to `csv::Parser::getHeaderElement[abi:cxx11](unsigned int) const'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x277): undefined reference to `csv::Parser::~Parser()'
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\arqas\AppData\Local\Temp\ccrDVK6R.o:text-parser.cpp:(.text+0x30c): undefined reference to `csv::Parser::~Parser()'
collect2.exe: error: ld returned 1 exit status

I'm using minGW32 v8.2.0-3 on Eclipse 2018-12 and VS Code 1.30.2

arsari avatar Jan 20 '19 20:01 arsari