I keep getting this error when I try to conifg my Eclipse to debug my VC6 program:
NMAKE : fatal error U1073: don't know how to make 'LN_BASE.CPP'
Any advice?
this is because nmake cannot find the src file;
i
move the code file from src dir to project root dir, then the problem solved.
Related
I am using openssl ssleay.lib my project say MyProj which is also an library project.
There are many other project under this workspace which are using MyProj library.
I did the settings in MyProj library for using openssl.
Which compiles and links fine.
But when I try to compile whole workspace.
then I am getting the error
fatal error LNK1104: cannot open file "libeay32.lib"
al error LNK1104: cannot open file "ssleay32.lib"
How can i solve this issue ?
Any hint will be appreciated.
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
I downloaded the Qt for Windows Runtime Technology Preview from this location:
http://download.qt-project.org/development_releases/qt/winrt-tp/
When I try to build it using the instructions mentioned here, I eventually run into the following error:
win_flex --noline --nounistd --outfile=Tokenizer.cpp ..\..\..\..\3rdparty\angle\src\compiler\preprocessor\Tokenizer.l
'win_flex' is not recognized as an internal or external command, operable program or batch file.
NMAKE : fatal error U1077: 'win_flex' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
How do I fix this?
Try this:
When you extract the sources, it will have a directory structure like this:
.....\qtbase-opensource-src-5.3.0-WinRT-TP\qtbase-opensource-src-5.3.0-WinRT-TP\bin
.....\qtbase-opensource-src-5.3.0-WinRT-TP\qtbase-opensource-src-5.3.0-WinRT-TP\src
The compilation script just looking for win_flex in a directory named gnuwin32.
This directory and its content can be found at https://qt.gitorious.org/qt/qt5/source/4c925babf9e7f516479a0e418e9b3f509d3cd4b7:gnuwin32 or in the complete Qt5-Sources (WinRT Technology Preview Sources are just a subset).
Copy this directory to the path, then it should look like this:
.....\qtbase-opensource-src-5.3.0-WinRT-TP\qtbase-opensource-src-5.3.0-WinRT-TP\bin
.....\qtbase-opensource-src-5.3.0-WinRT-TP\qtbase-opensource-src-5.3.0-WinRT-TP\src
.....\qtbase-opensource-src-5.3.0-WinRT-TP\gnuwin32\
NOTE 1: Downloading win_flex from sourceforge or add it to the PATH variable does not work! Compilation script searching win_flex hard-coded in the gnuwin32 directory!
NOTE 2: I posted a comment on the official blog post, maybe the guys from Digia will fix the WinRT-TP-Source-Package soon...
I installed win_flex from http://sourceforge.net/projects/winflexbison/
Then in my source, I went to the directory:
.....\qtbase-opensource-src-5.3.0-WinRT-TP\qtbase-opensource-src-5.3.0-WinRT-TP\src\angle\src\compiler\preprocessor
and changed both Makefile.debug and Makefile.release to make sure that "win_flex" and "bison" commands are executed with their full paths specified from their install directories. This fixed the above mentioned problem.
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
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.