VC++ 2000 express compiling error

Miscellaneous Forums/General Discussion/VC++ 2000 express compiling error

Hi all,

(Please correct the title 2000 to 2008 - typing mistake :( )
I formated my harddisk and installed VC++ 2008 express.
When I run the following prg to build a console exe, it returns error.
Any ideas?

Thanks in advance

#include <iostream>

int main()
{
	std::cout << "Hello, world!" << std::endl;
	return 0;
}


Build log:
Command Lines
=============
Creating temporary file "e:\0Vcpp\start\start\Debug\RSP0000043484672.rsp" with contents
[
/out:.\Debug\start.exe.embed.manifest /notify_update /manifest

.\Debug\start.exe.intermediate.manifest
]
Creating command line "mt.exe @e:\0Vcpp\start\start\Debug\RSP0000043484672.rsp /nologo"

Output Window
=============
Embedding manifest...
.\Debug\start.exe.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. {q~0H

Results
========
Build log was saved at "file://e:\0Vcpp\start\start\Debug\BuildLog.htm"
start - 1 error(s), 0 warning(s)



I am not using VC++ 2008 Express but are you sure that your project it is a console application?
I think you have to 'tell' somehow to VC++ 2008 that this project is a console application

Hi Moraldi,

How could I check this information (console)?



After this you can find the attributes in the projekt managment.

bye

Alternatively use DevC++ :D

Wouldn't it be better to join a c++ forum and ask?

I like the multilingual nature of the Blitz forum personally :D

Worked fine here:-

Screenie

I've never run into this error before, but try building the app at default paths, e.g. build your solution inside the Visual Studio 2008 folder located in My Documents.

Also, check out the 'Project/Properties/Configuration Properties/Manifest Tool/Input and Output' section, more notably, check out if you are trying to use additional manifests in the 'Additional Manifest Files' bit... If theres any in there... clear them out!

Other than that... ???

Thank you, Moraldi,Abrexxes,EdzUp,boomboom and Dabhand.

I tried to create another console app. with
additional setting -precompiled header (instead of empty project)
It included "stdafx.h".
int _tmain(int argc, _TCHAR* argv[])

is used instead of
int main()

It compiled successfully.

Then I returned to original projects (using "int main()") and checked the manifest tools as mentioned by Dabhand. Nothing was needed to be changed.
I compiled it successfully! Very strange!!!

The compilation of Dev C++ is ok, but the filesize is relatively large 490 kb. (VC++: 10kb only)

Thank you for you help.