/tmp/ccO5zfdR.o(.text+0x26): undefined reference to `std::basic_ifstream<char,std::char_traits<char> >::basic_ifstream[in-charge](char const*, std::_Ios_Openmode)' /tmp/ccO5zfdR.o(.text+0x38): undefined reference to `std::basic_ifstream<char,std...
/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 = std::ifstream(path); ^ /u...
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 ...
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...