Witam, probuje skompilować swój projekt pod Visual'em. Na C::B działa, a w visualu wywala mi błąd linkera, przeglądnąłem w googlach rozwiązania problemu, jednak nie działają w moim przypadku. Zamieszczam pełen bląd:
main.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: class samochod const & __thiscall std::list<class samochod,class std::allocator<class samochod> >::_Const_iterator<1>::operator*(void)const " (??D?$_Const_iterator@$00@?$list@Vsamochod@@V?$allocator@Vsamochod@@@std@@@std@@QBEABVsamochod@@XZ)
projekt dotyczy symulatora skrzyzowania, zamiescilem w nim biblioteki:
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <list>
#include <string>
#include <iomanip>
#include <sstream>
#include <windows.h>
#include <SDL.h>
main.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: class samochod const & __thiscall std::list<class samochod,class std::allocator<class samochod> >::_Const_iterator<1>::operator*(void)const " (??D?$_Const_iterator@$00@?$list@Vsamochod@@V?$allocator@Vsamochod@@@std@@@std@@QBEABVsamochod@@XZ)
projekt dotyczy symulatora skrzyzowania, zamiescilem w nim biblioteki:
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <list>
#include <string>
#include <iomanip>
#include <sstream>
#include <windows.h>
#include <SDL.h>