Re: undefined reference to `get_driver_instance'
Update: I downloaded the windows version not the linux. Big mistake. Yet I updated my code appropriately and I get different undefined references.
Error: /tmp/ccGbB3Jd.o: In function `check_lib()':
sqlTest.cpp:(.text+0x1d): undefined reference to `check(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
sqlTest.cpp:(.text+0x68): undefined reference to `check(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
collect2: error: ld returned 1 exit status
There were a lot more headerfiles in other directories. Do I need to include all of those as well? or do I need to edit my PATH env to those directories?