| View previous topic :: View next topic |
| Author |
Message |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Wed Sep 05, 2007 1:23 pm Post subject: |
|
|
Do you not understand English? It's giving you an error message, it's not giving you an error code, you are supposed to read it.
And if you don't understand it, do a web search on the error code (C1083) and some additional info to read about people with similar problems and how they solved them.
You are putting forth no effort in trying to solve your problem and expect that if you post with OMGG IT DOESNT WORK HALP we will solve all your problems. That is an attitude that will not serve you well when programming or solving any problem.
|
|
| Back to top |
|
 |
zart Master Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 351 Location: russia
|
Posted: Wed Sep 05, 2007 1:31 pm Post subject: |
|
|
| aviram1994 wrote: | MS Express edition shows error when i try to compile X_X
1>------ Build started: Project: , Configuration: Debug Win32 ------
1>Compiling...
1>StdAfx.cpp
stdafx.h(15) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
1>Build log was saved at Debug\BuildLog.htm"
1>- 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skip |
So I'm pretty sure it's exactly like app said. You didn't read the error at all.
Does it not say 'Cannot open include file: 'afxwin.h': No such file or directory'?
So maybe one would... I'm not sure - download the SDK?
_________________
0x7A 0x61 0x72 0x74
TEAM RESURRECTiON |
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Wed Sep 05, 2007 5:33 pm Post subject: |
|
|
make sure u do "#Include <header.h>" not "#Include "header.h" "
" " = must be within project
< > = link to project.
_________________
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Wed Sep 05, 2007 5:35 pm Post subject: |
|
|
| That's completely ridiculous, the actual compiler has no concept of a "project".
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Wed Sep 05, 2007 6:05 pm Post subject: |
|
|
w/e it doesnt matter how i say it... it means the same thing
_________________
|
|
| Back to top |
|
 |
Lorrenzo Moderator
Reputation: 4
Joined: 02 Jun 2006 Posts: 3744
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Sep 05, 2007 9:12 pm Post subject: |
|
|
| lurc wrote: | make sure u do "#Include <header.h>" not "#Include "header.h" "
" " = must be within project
< > = link to project. |
<> - Looks in the include directory.
" " - Looks in the current directory.
|
|
| Back to top |
|
 |
Aviram Grandmaster Cheater
Reputation: 0
Joined: 30 Jun 2006 Posts: 633
|
Posted: Thu Sep 06, 2007 6:19 am Post subject: |
|
|
I'll try that now :\
dont work its
#include <afxwin.h>
#include <afxext.h>
#include <afxdtctl.h>
#include <afxcmn.h>
#include <afxmt.h>
still not finding it , Where can i get these files manually?
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Thu Sep 06, 2007 11:08 am Post subject: |
|
|
1. add them to ur project in the headers category
2. u have Express Edition? if so, it might not include those librarys so u have to get SDK
3. if u have full then make sure its in the include directory
_________________
|
|
| Back to top |
|
 |
Losplagos Expert Cheater
Reputation: 0
Joined: 21 Mar 2006 Posts: 172 Location: Knee deep in a c++ book
|
Posted: Thu Sep 06, 2007 11:30 am Post subject: |
|
|
| aviram1994 wrote: | MS Express edition shows error when i try to compile X_X
1>------ Build started: Project: , Configuration: Debug Win32 ------
1>Compiling...
1>StdAfx.cpp
stdafx.h(15) : fatal error C1083: Cannot open include file: 'afxwin.h':No such file or directory
1>Build log was saved at Debug\BuildLog.htm"
1>- 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skip |
If i remember correctly stdafx.h is a general include file that includes generally used libraries. So it could be a broken install since the express edition should have all those files since it uses the auto include stdafx.h as a place for the program to start compiling if i remember correctly.
I may not know much about c++ but i looked into vc++ a little.
Also you should really learn normal c++ and debuging before windows api.
_________________
Earthbound = 31337 |
|
| Back to top |
|
 |
Aviram Grandmaster Cheater
Reputation: 0
Joined: 30 Jun 2006 Posts: 633
|
Posted: Thu Sep 06, 2007 11:24 pm Post subject: |
|
|
| Cant i get these Include files manually?
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Fri Sep 07, 2007 12:08 am Post subject: |
|
|
| But then you'd miss the mfc libraries and if not that then another thing... just copy the function you want, it's too much trouble trying to get the whole thing to compile.
|
|
| Back to top |
|
 |
|