|
setting up allegro with VC6.0 |
IOI-RLZ
Member #8,321
February 2007
|
Hi, I downloaded the files from here "http://www.allegro.cc/files/" This is what I did then i copied all the lib and include files into the lib and include folder of my VC6.0 #3 then I set the directories in VC6.0 as follows #4 now when I compile a program it says pc.h not found . #5 I read another thread in this forum itself of another person with the same problem and it seems there was some conflict as follows >> "DJGPP instead of the MSVC ", but as far as I am concerned I think I have used the msvc version only! |
Saros69
Member #8,196
January 2007
|
This probably will not help directly IOI-RLZ said: then i copied all the lib and include files into the lib and include folder of my VC6.0 #3 then I set the directories in VC6.0 as follows Why do you still need to set directories if you have already copied the files over? IOI-RLZ said:
This is what I did If you have the binaries you don't need the source, but maybe you're keeping them for future use, so I dunno. IOI-RLZ said: #4 now when I compile a program it says pc.h not found . Whoa, pc.h? Isn't that only used for the DJGPP version of Allegro? Something wonky's going on with your compile (hang on, are you compiling or using pre-compiled libraries? ) I suggest you either stick with the precompiled libraries only, or compile from the source only, but don't try to do both at the same time. |
IOI-RLZ
Member #8,321
February 2007
|
ok thanks a lot! that got me thinking and well I corrected the mistakes ( I just used the binaries as I didn't have DJGPP installed, but now if I try to compile the code this is what i get ( I am using VC6.0 by the way !) Quote:
Compiling... tester.exe - 11 error(s), 0 warning(s)
|
Saros69
Member #8,196
January 2007
|
It looks like you might be missing some linker inputs. In your Project -> Settings -> Link -> Input -> Object/library modules, are you including alleg.lib or alld.lib? alleg.lib for release version, alld.lib for debug version. I could be wrong on the settings order as I'm using MSVC8 these days so just look around in your project settings for the Linker -> Input option somewhere. |
IOI-RLZ
Member #8,321
February 2007
|
Brilliant just brilliant, It worked thanks a gazillion !!! |
Skax459
Member #8,290
February 2007
|
Will there be a difference for someone playing the game if you include alleg.lib instead of alld.lib? |
Milan Mimica
Member #3,877
September 2003
|
The produced executable will be larger and slower if linked to alld.lib.
-- |
GoldenPhoenix
Member #8,197
January 2007
|
How do you link files? Meh, the first week of programming with VC++ is ridiculously complicated. |
BAF
Member #2,981
December 2002
|
Wait, what is pc.h and why is the Windows version of Allegro for MSVC depending on it from DJGPP? Is this supposed to happen? |
gnolam
Member #2,030
March 2002
|
No. Methinks someone hasn't followed the build instructions. -- |
Evert
Member #794
November 2000
|
Quote: but as far as I am concerned I think I have used the msvc version only! Strictly speaking, there is only one version of Allegro, that can be configured to compile on different compilers. Quote: why is the Windows version of Allegro for MSVC depending on it from DJGPP?
It doesn't, but by default the ZIP file download is still configured for DJGPP (which is why you need to run fix.bat). Thus, if you use the downloaded include files directly, you will get that warning. |
|