My C++ application compile and runs great without any warnings or errors on DEBUG mode.
When I try to compile it on RELEASE mode, I got this compile time error:
Symbol not resolved __imp_strtod
app.obj:-1: error: LNK2019: s¡mbolo externo nÆo resolvido, __imp_strtod,
referenciado na fun‡Æo "private: enum nlohmann::detail::lexer_base<class nlohmann::basic_json<class std::map,class std::vector,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool,__int64,unsigned __int64,double,class std::allocator,struct nlohmann::adl_serializer,class std::vector<unsigned char,class std::allocator<unsigned char> > > >::token_type __cdecl nlohmann::detail::lexer<class nlohmann::basic_json<class std::map,class std::vector,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool,__int64,unsigned __int64,double,class std::allocator,struct nlohmann::adl_serializer,class std::vector<unsigned char,class std::allocator<unsigned char> > >,class nlohmann::detail::input_stream_adapter>::scan_number(void)" (?scan_number@?$lexer@V?
$basic_json@Vmap@std@@Vvector@2@V?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@2@_N_J_KNVallocator@2@Uadl_serializer@nlohmann@@V?$vector@EV?$allocator@E@std@@@2@@nlohmann@@Vinput_stream_adapter@detail@2@@detail@nlohmann@@AEAA?AW4token_type@?$lexer_base@V?$basic_json@Vmap@std@@Vvector@2@V?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@2@_N_J_KNVallocator@2@Uadl_serializer@nlohmann@@V?$vector@EV?
$allocator@E@std@@@2@@nlohmann@@@23@XZ)
My C++ application compile and runs great without any warnings or errors on DEBUG mode.
When I try to compile it on RELEASE mode, I got this compile time error:
How can I fix it?
My system: