I’m currently working on my project and I’m trying to test it on other computers. First I build the project with Visual C++ express as release and run the exe. It runs fine on my computer, but after I send it to other computer and try to run my program the problems start.
First on the other computers, it requires MSVCP.dll. After downloading the dll, it requires another dll, MSVCR.dll. After the both dll’s are downloaded and pasted into the projects folder it gives this error message:
This happens when I compile the project to release with Multi-threaded Dll. I’ve also tried to compile it with Multi-threaded, but it gives an error message like:
1> Unit.cpp
1>msvcrt.lib(ti_inst.obj) : error LNK2005: “private: __thiscall type_info::type_info(class type_info const &)” (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
1>msvcrt.lib(ti_inst.obj) : error LNK2005: “private: class type_info & __thiscall type_info::operator=(class type_info const &)” (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
1>msvcrt.lib(MSVCR100.dll) : error LNK2005: _exit already defined in LIBCMT.lib(crt0dat.obj)
1>msvcrt.lib(MSVCR100.dll) : error LNK2005: _atoi already defined in LIBCMT.lib(atox.obj)
1>LIBCMT.lib(crt0init.obj) : warning LNK4098: defaultlib ‘msvcrt.lib’ conflicts with use of other libs; use /NODEFAULTLIB:library
1>C:\Users\Mikko\documents\visual studio 2010\Projects\tbs\Release\tbs.exe : fatal error LNK1169: one or more multiply defined symbols found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thanks in advance for the answers.