![]() |
|
#1
|
|||
|
|||
Problems With Visual StudioI recently installed Visual Studio 2005 Express Edition and have been learning opengl and I wanted to use stdafx.h but visual studio said that there was no such file or directory. What should I do?
|
|
#2
|
|||
|
|||
Re: Problems With Visual Studiotry checking the include folder within your visual studio folder if there is indeed the file stadfx.h. but i believe that the file is there. perhaps, there is just something wrong with how you declare it.
|
|
#3
|
|||
|
|||
Re: Problems With Visual StudioThe express edition, (if I'm not mistaken) doesn't include MFC. Therefore, "stdafx.h" may NOT be a part of the package. The code examples that you are looking at for OpenGL code can probably be compiled without that include directive...but, anything that is "included" in that file, should probably be added to your own file. A simple choice is to simply create a stdafx.h file with anything in it that you may need.
Of course, please remember that I'm a Linux guy and I don't know much about Windoze or MFC, so YMMV (your mileage may vary). :davis: |
Recent GIDBlog
Meeting the populace by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple questions for C++ project | devster420 | C++ Forum | 1 | 20-Apr-2007 21:26 |
| Major newbie problem | cynack | MS Visual C++ / MFC Forum | 1 | 08-Apr-2007 11:25 |
| Visual Studio .Net 2002 | Silent | MS Visual C++ / MFC Forum | 1 | 01-Apr-2007 14:22 |
| How Visual C++ only from Visual Studio .net | Picstudent | .NET Forum | 2 | 28-May-2006 20:52 |
| What is "Ambigious symbol" ??*( a compilation error) | small_ticket | C++ Forum | 2 | 07-Jan-2005 21:10 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The