|
|
| Allegro with VC++ 2003, pc.h not found |
|
Manuel Di Cerbo
Member #6,624
November 2005
|
I'd like to start programming with Allegro and use my Visual Studio C++ compiler. After I checked all the Manuals (http://www.allegro.cc/docs/windows-msvc-use.html, as well) I got the compiler-error "pc.h not found". After googleing looking for this file i found the code of "pc.h" and put the file into my include folder; the compiler was now easy with that but asked me for "dir.h" - same again, I found the code by googleing. Again the compiler did not want that file anymore, instead he asks for "dpmi.h". Am I doing something wrong? I've already found out that those headers have something to do with DOS. And now I can't find a version of "dpmi.h" anywhere on the net. Can someone help me out? Is this a common problem? Thanks and Greeting |
|
X-G
Member #856
December 2000
|
It's trying to compile the DJGPP port. You didn't run fix msvc or whatever the instructions tell you to do these days. -- |
|
ReyBrujo
Moderator
January 2001
|
pc.h, dir.h, dpmi.h... all those are DOS-specific headers, usually found in Borland Turbo C++ 3.0. As you can imagine, you won't find them in VC, as it is a pure Windows compiler. And just copying those headers to your VC include folder won't work, as you need the libraries associated to those headers too. Your best bet is deleting all those headers from the program you want to compile, and begin replacing the DOS-only functions the program uses with Windows-like ones. Or find a Windows source you can compile, instead of that old DOS program. The last option is installing a Turbo C++ 3.0 compiler, but good luck finding it somewhere. -- |
|
Evert
Member #794
November 2000
|
Quote: Am I doing something wrong?
Yes, you didn't compile Allegro for Windows. Please say what you did exactly and check with the manual that it's really what you should be doing. |
|
A J
Member #3,025
December 2002
|
did you read the allegro/docs/build/msvc.txt ___________________________ |
|
Manuel Di Cerbo
Member #6,624
November 2005
|
I used the binary version of Allegro and put the libs and headers into the corresponding folders of vc++. Now I'm trying to compile the other Version, hope that will work. |
|
|