Hi I am trying to compile Sandboxie v5.40
I have VS 2015
I have MS Windows Device Driver Kit (DDK) 7.1.0 with Build Environments
I have set some debugging options also symbol modules
I have to compile solution with alphabetical order. they mentioned that in read me , however except 3 solutions
these ones must be studied first
but when I come to SboxDrv I got this error
1> process.obj: error LNK2001: unresolved external symbol _memcmp 1> C: \ Users \ dark \ Desktop \ sandboxie-master \ Bin \ Win32 \ SbieDebug \ SbieDrv.sys: fatal error LNK1120: 1 unresolved externals ===== ===== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
I have tried some solutions but still I'm getting this error, whatever I try
How can I solve it ?
1> process.obj: error LNK2001: unresolved external symbol _memcmp 1> C: \ Users \ dark \ Desktop \ sandboxie-master \ Bin \ Win32 \ SbieDebug \ SbieDrv.sys: fatal error LNK1120: 1 unresolved externals
Please try this solution:
Solution
Copy C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\vcruntime.lib
into Additional Dependencies(Right-click on the project-->Properties
-->Linker
-->Input
-->Additional Dependencies
)
=====================================
PS:
If your OS is not win10, you can ignore it.
If your OS is win10, I suggest you could install WDK for Windows 10 and then also copy C:\Program Files (x86)\Windows Kits\10\Lib\10.0.xxx.0\ucrt\x86\ucrt.lib
into Additional Dependencies in case your project uses CRT Library.
Update 1
Please right-click on SdoxDrv-->Properties-->Linker-->Input-->Additional Dependencies.
Input this:
Then click OK and then right-click on project SdoxDrv-->first click clean and thenBuild.
This will cause any errors in my side.