LNK1181 errors when building ClamAV - c++

I am trying to build ClamAV and am running into Linker errors. I tried doing what was said here in the answer: OpenSSL errors - ClamAV build on Windows 10 for the Linker part, however, I don't see any Linker option in Visual Studio 2010.
This is what the project properties look like:
There is nothing in Common Properties either. These are the errors I'm getting:
error LNK1181: cannot open input file 'libeay32.lib'
error LNK1181: cannot open input file 'libeay32.lib'
warning C4090: '=' : different 'const' qualifiers
error LNK1181: cannot open input file 'C:\Users\Mo\Desktop\clamav-0.99\win32\Win32\Release\libclamav.lib'
error LNK1181: cannot open input file 'libeay32.lib'
error LNK1181: cannot open input file 'C:\Users\Mo\Desktop\clamav-0.99\win32\Win32\Release\libclamav.lib'
error LNK1181: cannot open input file 'C:\Users\Mo\Desktop\clamav-0.99\win32\Win32\Release\libclamav.lib'
error LNK1181: cannot open input file 'C:\Users\Mo\Desktop\clamav-0.99\win32\Win32\Release\libclamav.lib'
error LNK1181: cannot open input file 'C:\Users\Mo\Desktop\clamav-0.99\win32\Win32\Release\libclamav.lib'
Unable to find source file 'C:\clamdeps\win32\openssl\lib\ssleay32.dll' for file 'ssleay32.dll', located in '[TARGETDIR]', the file may be absent or locked.
Unable to find source file 'C:\clamdeps\win32\openssl\lib\libeay32.dll' for file 'libeay32.dll', located in '[TARGETDIR]', the file may be absent or locked.
Would anyone have any idea on how I can fix this? Any help would be appreciated, thanks!

Related

fatal error LNK1104: cannot open file - how to see why the file is required?

I keep getting this error after switching from boost 159 to boost 155:
LINK : fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-1_59.lib`
I searched all project files in the solution and did not find any occurence of 1_59 string. What I need to do is to track the .obj or .lib file that is causing my project to require libboost_system-vc100-mt-1_59.lib instead of libboost_system-vc100-mt-1_55.lib.
Is there anything like dependency tree that I could observe to find source of the problem?

error LNK1104: cannot open file 'mfc90u.lib'

error LNK1104: cannot open file 'mfc90u.lib'
I have converted VC++ project from VS2008 to VS2012. After the conversion i am getting the linker error, error LNK1104: cannot open file 'mfc90u.lib' . I am not explicitly referring mfc90u.lib in my vcproj file. I added vc110u.lib under Configuration Properties-> Linker -> Input -> Additional Dependencies. but still the issue is not resolved. Any help to resolve this issue will be appreciated.

Error when build source in VC6.0

I have a project that develop in VC2005, when i build this source code in VC6.0 it give this follow error:
INK : fatal error LNK1104: cannot open file "mfc80d.lib" Error
executing link.exe. Creating browse info file... BSCMAKE: error
BK1505 : cannot read from file
'../../PB/bin/TmpOut/ICReplay/Debug/ICReplay_PB.bsc' Error executing
bscmake.exe.
Some body help me?Plsz! thanks so much

vs2012 main.cpp(2): fatal error C1083: “********.hpp”: No such file or directory

I had a problem about vs2012. when I compiled my project , I got error message
"fatal error C1083: can't open file:“MultiWidgets\Application.hpp”: No such file or directory".
however the file exist as shown in Figure.
how to fix it ? Thank you!
You should probably fix the Additional Include Directories as per this screenshot

c1xx : fatal error C1083: Cannot open source file - with some Chinese or Javanese

I am getting the following compilation errors:**
4>c1xx : fatal error C1083: Cannot open source file: '䀀∀䤀渀挀氀甀搀攀倀愀琀栀猀䘀漀爀䴀甀氀琀椀刀愀挀欀䌀漀爀攀䰀椀戀⸀琀砀琀∀': No such file or directory
4> ∀䐀㨀尀瀀㐀挀氀椀攀渀琀尀倀爀漀䄀甀搀椀漀尀搀攀瘀开瘀猀㄀㈀尀倀爀漀䄀甀搀椀漀尀堀倀氀愀琀昀漀爀洀尀䄀瀀瀀猀ⴀ䌀漀洀洀漀渀尀䌀漀搀攀尀吀栀爀攀愀搀猀尀圀䌀䔀爀爀愀渀搀䴀愀渀愀最攀爀⸀挀瀀瀀∀
4>c1xx : fatal error C1083: Cannot open source file: '∀䐀㨀尀瀀㐀挀氀椀攀渀琀尀倀爀漀䄀甀搀椀漀尀搀攀瘀开瘀猀㄀㈀尀倀爀漀䄀甀搀椀漀尀堀倀氀愀琀昀漀爀洀尀䄀瀀瀀猀ⴀ䌀漀洀洀漀渀尀䌀漀搀攀尀吀栀爀攀愀搀猀尀圀䌀䔀爀爀愀渀搀䴀愀渀愀最攀爀⸀挀瀀瀀∀': No such file or directory
4> 匀漀甀爀挀攀猀尀圀䌀䰀漀最最攀爀⸀挀瀀瀀
4>c1xx : fatal error C1083: Cannot open source file: '匀漀甀爀挀攀猀尀圀䌀䰀漀最最攀爀⸀挀瀀瀀': No such file or directory
4> 匀漀甀爀挀攀猀尀圀䌀䴀甀氀琀椀刀愀挀欀䌀漀爀攀⸀挀瀀瀀
4>c1xx : fatal error C1083: Cannot open source file: '匀漀甀爀挀攀猀尀圀䌀䴀甀氀琀椀刀愀挀欀䌀漀爀攀⸀挀瀀瀀': No such file or directory
4> 匀漀甀爀挀攀猀尀圀䌀䴀甀氀琀椀刀愀挀欀䌀漀爀攀开䄀倀䤀⸀挀瀀瀀
4>c1xx : fatal error C1083: Cannot open source file: '匀漀甀爀挀攀猀尀圀䌀䴀甀氀琀椀刀愀挀欀䌀漀爀攀开䄀倀䤀⸀挀瀀瀀': No such file or directory
4> 匀漀甀爀挀攀猀尀圀䌀䴀甀氀琀椀刀愀挀欀䌀漀爀攀开䄀甀搀椀漀⸀挀瀀瀀
4>c1xx : fatal error C1083: Cannot open source file: '匀漀甀爀挀攀猀尀圀䌀䴀甀氀琀椀刀愀挀欀䌀漀爀攀开䄀甀搀椀漀⸀挀瀀瀀': No such file or directory
4> 匀漀甀爀挀攀猀尀圀䌀䴀甀氀琀椀刀愀挀欀䌀漀爀攀开䄀甀搀椀漀䜀爀椀搀⸀挀瀀瀀
Any ideas?
How can I fix the language settings?
Solved.
There was an invalid flag in .vcxproj file.
<Link>
<AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
</Link>
Problem dissapeared when flag was removed.
We had same issue when upgrading our solution from VS2005 to VS2012. Problem was inside vcxproj files. We had new line character in command line options. After removing it, our project compiled without any problem.
changed this
<AdditionalOptions>/MP4
/Zm200</AdditionalOptions>
to this
<AdditionalOptions>/MP4 /Zm200</AdditionalOptions>
Any ideas?
How can I fix the language settings?
This is not a language issue. The compiler cannot open the files you want it to compile. Do those files exist? Are you invoking the compiler from the right directory?
Also, you might get better help if you call your source files foo.cpp, bar.cpp, and baz.cpp. I guesstimate 80% of potential answerers will have a hard time telling your files apart or discovering simple spelling errors in their names.
restart the Visual studio(VS2013) is worked for me.
As per my understanding , linking was improper, restarting will help to auto link and will resolve c1xx issues.
Please follow the steps to encounter this problem:
1. Unload your project
2. Open vcxproj or csproj file in notepad++
3. remove the entry from ->
4. Load the project and try to compile it.
This will solve your issue. Thanks
Check also the Additional Options you specified in the Command Line tag of your project setttings. The compiler will treat none option arguments as source file.
I once specified /MP 1 (which should be /MP1) and the compiler complained that C1083 Cannot open source file: '1': No such file or directory.