So, I'm trying to start up my first C++ program on my long road to learning the language:
----------------------------------------
#include <iostream>
int main()
{
using namespace std;
cout << "All I want is this shit to fucking WORK"; endl;
cout << "Please?";
return 0;
}
------------------------------------------------
I keep getting this linking error; here's the output I copypasta'd from the output. (BTW, I use Visual Studio 2008)
---------------------------------------------
1>Embedding manifest...
1>.\Debug\MyFirst.exe.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
1>Build log was saved at "file://e:\Worskhop MASTER FOLDER\Videogame Workshop\C++ Workshop\MyFirst\MyFirst\Debug\BuildLog.htm"
1>MyFirst - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
----------------------------------------
------------------------------------------------
---------------------------------------------
That's not a [code] tag.
Name:
Anonymous2011-02-22 15:42
Sorry guys, I rarely visit the text boards. I'm just seriously wanting to figure out what the heck is wrong with VS2008. Google seems to say that it has something to do with the manifest settings; I set it to 'no,' and it's still giving me the damn error. Short of reinstalling Visual Studio, I'm ripping my hair out.
>>5
That manifest should be generated by VS, however it's perfectly possible to compile an application without it as long as you pass the right command line to the compiler/linker/resource compiler/etc. Look around your project settings.
Name:
Anonymous2011-02-22 16:10
that's just it. I went into Project > Properties > Manifest Tool > Embed Manifest set to NO, and it still gives me the damn error.
I have a 1000+ page primer and this is the program it starts me off with, lol. Anyways, I'm reinstalling Visual Studio 2008 to see if that'll fix my problem...
Many people have problems with getting their first C++ program to compile, they thought they just needed to set their ``manifest'' settings to `no', now they have two problems.
Name:
Anonymous2011-02-23 12:40
Gotta love how noobs always get caught in trying to set up a project correctly in MSVS.
Name:
Anonymous2011-02-25 8:34
<----- check mah singles
Name:
Anonymous2013-01-19 23:09
/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.