I am trying to compile smartcoind.exe, but I am bumping in the following error
C:/deps/boost_1_53_0/boost/program_options/eof_iterator.hpp:75: undefined refere
nce to `boost::program_options::detail::common_config_file_iterator::get()'
obj/util.o: In function `ZN5boost15program_options6detail26basic_config_file_ite
ratorIcEC1ERSiRKSt3setISsSt4lessISsESaISsEEb':
C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:145: undefined
reference to `boost::program_options::detail::common_config_file_iterator::comm
on_config_file_iterator(std::set<std::string, std::less<std::string>, std::alloc
ator<std::string> > const&, bool)'
C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:148: undefined
reference to `boost::program_options::detail::common_config_file_iterator::get(
)'
collect2.exe: error: ld returned 1 exit status
makefile.mingw:76: recipe for target 'smartcoind.exe' failed
mingw32-make: *** [smartcoind.exe] Error 1
Anybody experience this before?
C:/deps/boost_1_53_0/boost/program_options/eof_iterator.hpp:75: undefined refere
nce to `boost::program_options::detail::common_config_file_iterator::get()'
obj/util.o: In function `ZN5boost15program_options6detail26basic_config_file_ite
ratorIcEC1ERSiRKSt3setISsSt4lessISsESaISsEEb':
C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:145: undefined
reference to `boost::program_options::detail::common_config_file_iterator::comm
on_config_file_iterator(std::set<std::string, std::less<std::string>, std::alloc
ator<std::string> > const&, bool)'
C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:148: undefined
reference to `boost::program_options::detail::common_config_file_iterator::get(
)'
collect2.exe: error: ld returned 1 exit status
makefile.mingw:76: recipe for target 'smartcoind.exe' failed
mingw32-make: *** [smartcoind.exe] Error 1
Anybody experience this before?
Fixing the makefile seems to solve the linking error
LIBS= \
-l boost_system-mgw48-mt-s-1_5x \
-l boost_filesystem-mgw48-mt-s-1_5x \
-l boost_program_options-mgw48-mt-s-1_5x \
-l boost_thread-mgw48-mt-s-1_5x \
Thank you very much, That did it for me.