Skip to main content
GameDev.net gamedev.net
🔒 Locked

Error PRJ0002

Started by Ced1 Feb 8, 2006 at 9:05 AM 4 replies 1.4k views
Original Post
Ced1
Ced1
I just installed the new VC++ Express 2 days ago and to test it with SDL I made a simple project(just makes a blue window). The project compiles but it wont build because of a strange error. This is part of the output: Linking... Embedding manifest... Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. I really dont get what is happening, or going wrong rather. The truth is I have no idea what a manifest is but this seems to be where its having a problem. I actually turned off "Generate Manifest" in the project options and the error went away but of course the program would not run. I've done some google'ing but I cant find out how to fix it. Anybody else have this problem? TIA, Ced P.S.: When did 'main' get replaced with '_tmain' ?
Ced1
Ced1
OK, it seems any program I try to compile fails. I made a simple 'hello world' project and I get the same result. I figure it has to be some sort of configuration problem on my part, but I dont know where to start. Nobody has had a similar problem?


TIA, Ced
dbzprogrammer
dbzprogrammer
Do you have the .NET platform? It sounds like it can't call the command executable that defaultly comes with the system to call different commands. Other than that, I don't know.
We should do this the Microsoft way: "WAHOOOO!!! IT COMPILES! SHIP IT!"
Mastaba
Mastaba
Quote:
Original post by Ced1
P.S.: When did 'main' get replaced with '_tmain' ?

When microsoft decided to include tchar.h by default. Makes it easier to write UTF-16 compatible code.
Ced1
Ced1
I got .NET 2 installed. It is definately confusing, but I think I'll let it alone and work with Csharp for now. Much appreciated though dbzprogrammer ^^
Ced1
Ced1
Quote:
Original post by Mastaba
Quote:
Original post by Ced1
P.S.: When did 'main' get replaced with '_tmain' ?

When microsoft decided to include tchar.h by default. Makes it easier to write UTF-16 compatible code.


OK, I'm assuming that is to do with unicode/charset stuff heh.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.