Build Error

Posts 13 of 3 · Page 1 of 1
Build Error
Well I just installed C++ on my new Computer,
and I was creating a hack for CrossFire EU.
When I tried to (debug)build it, it gives me an error.

This is the error it gives me:
Code:
1>------ Build started: Project: CrossFire EU V1.0, Configuration: Debug Win32 ------
1>  Hacks.cpp
1>Hacks.cpp(1): warning C4627: '#include "Hacks.h"': skipped when looking for precompiled header use
1>          Add directive to 'StdAfx.h' or rebuild precompiled header
1>Hacks.cpp(44): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
1>  Main.cpp
1>Main.cpp(1): warning C4627: '#include "Hacks.h"': skipped when looking for precompiled header use
1>          Add directive to 'StdAfx.h' or rebuild precompiled header
1>Main.cpp(34): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
1>  Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
This is my first hack since 4 years, and also the first time since 4 years I even opened C++.
Can someone help me fixing this?
I can remember their were "packs" with precompiled headers or something u need.
And d3d9 right??

Please get me back on track, really want to get back at coding.
Want to help via TeamViewer? then comment here or PM me :-)
Ty!!
Why do you say to your compiler you want to use StdAfx.. and don't include it?
You need to include StdAfx if you tell to your compiler if you want to use it.

And btw, how do you want to make a hack if you can't read?
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?