'I phasing this "clang: error: no such file or directory: 'cryptlib.lib'" in visual studio

I am developing the .so file in visual studio. when i am trying to build the project it's give the error which is below. below is my output log.

Build started...
1>------ Build started: Project: SharedObject1, Configuration: Debug ARM ------
1>ANDROID_HOME=C:\\Microsoft\AndroidSDK\25
1>ANT_HOME=C:\Program Files\Microsoft Visual Studio\2022\Community\Apps\apache-ant-1.9.3
1>JAVA_HOME=C:\Program Files\Android\jdk\jdk-8.0.302.8-hotspot\jdk8u302-b08
1>NDK_ROOT=C:\\Microsoft\AndroidNDK\android-ndk-r21e

1>clang: error: no such file or directory: 'cryptlib.lib'
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Application Type\Android\3.0\Android.Common.targets(119,5): error MSB6006: "clang.exe" exited with code 1.
1>Done building project "SharedObject1.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have put the folder of cryptopp library folder inside the project folder. and also i have added the

Additional Include Directories

in the property>C/C++>General of project into visual studio project property. in this I have add the path of include header files.

also add the Additional Library Directories

Additional Library Directories

in the property>Linker>General of project into visual studio project property.in this i have add the .lib file path.

and also add the Input

Additional Dependencies

in the property>Linker>Input of project into visual studio project property. here i write the name of .lib file. which is "cryptlib.lib".

Please anyone help me to solve this error why i am getting clang error ? please help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source