/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.15.00/thrift/compiler/generate/t_mstch_rust_generator.cc:1571:13: error: implicit instantiation of undefined template 'std::basic_ifstream<char>' auto in =
but I changed it do a static library and removed the dll export things. Then I want to use this library in a C++ project.I wrapped an extern "C" around the include of the header files to eliminate name mangling. However, I got linker errors for the library functions (undefined ...
obj/Debug/main.o||In function `readFile(std::vector<cars, std::allocator<cars> >&)' /home/packetpirate/Documents/C++ Projects/CIS225_Midterm/main.cpp|51|undefined reference to `cars::cars(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char...
error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>, error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall error LNK2026: module unsafe for SAFESEH image._ error LNK2038: mismatch...