How to deploy a simple enhancement program written in visual studio on other computers

I wrote a simple C ++ program that uses the boost file system library to organize some files. I am using Visual Studio 2013 Express for the Windows Desktop IDE. I would like my program to run on other computers without an installer or anything else. The user should be able to simply download the program and click on it.

I built my program in Release mode and it works on my computer. When I tried to deploy to another computer, the error I received was MSVCP120.dll missing. To fix this, I right-clicked on my project, clicked properties, then Configuration Properties> C / C ++> Code Generation, and I changed the runtime library from a multi-threaded DLL (/ MD) to a multi-threaded (/ MT). Now my program will not compile properly due to this build error:

Error 1 error LNK1104: cannot open file 'libboost_filesystem-vc120-mt-s-1_55.lib' C: \ Users \ inspection \ Desktop \ sortFile \ Project1 \ Project1 \ LINK Project1

I looked in the following folder:

C: \ Program Files \ boost \ boost_1_55_0 \ libs \ filesystem \ build \ msvc-12.0 \ release \ link-static \ threading-multi

libboost_filesystem-vc120-mt-s-1_55.lib, libboost_filesystem-vc120-mt-1_55.lib. , "-s", "-mt".

boost, , , - ?

+4
1

Boost , . Boost , , Boost . , Boost, stdlib.

+2

All Articles