L
L
LittleBuster2016-06-26 16:46:26
Qt
LittleBuster, 2016-06-26 16:46:26

The program with boost:: filesystem does not compile?

When working on Windows with boost::filesystem, errors occur:

C:\Users\Serg\Documents\Cloud\filesender.cpp:-1: ошибка: undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'

I collect in QtCreator, I link:
LIBS += -lws2_32 -lboost_filesystem-mgw49-mt-1_61 -lboost_system-mgw49-mt-1_61

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LittleBuster, 2016-06-26
@LittleBuster

It seems that boost compiled crookedly, even some libraries are missing.
I downloaded the compiled version for windows 1.58 from the Fedora 24 repositories and everything worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question