|
Allegro and Open Watcom Install Problems |
Alysher
Member #8,406
March 2007
|
several days ago, alomost a week ago i stumbled upon allegro and realized that i would be able to use it for DOS-32bit Graphics games, but the realized that i needed other things for it as well. My Personal computer(not the one im currently on) is a 486 ~75Mhz running Windows 95 i also have Microsoft Developer Studio 6.0(i.e. Microsoft Visual C++ 6.0) and was able to install allegro for it without any problems. but now I have serious Problems trying to install the Watcom version for DOS, and i don't know why! this is what i have installed in regaurds to allegro and its dependent programs. microsoft windows 95 when i type set at a dos prompt i get this: CONFIG=WINDOWS when i type make at the command prompt every thing runs fine until this point: obj/watcom/runner.exe wcc386 \\ demo/demo.c @ -w1 -bt=dos4g -5s -ox -zq -fr=nul -I. -I./include -fo=obj/watcom/alleg/demo.obj when i type make install it runs perfect and installs the library when i type make install DEBUGMODE=1 at the cp it runs until this point: misc\mdhelper.bat C:\WATCOM\lib386 <D:\ALLEGRO> <D:\ALLEGRO> <D:\ALLEGRO> <D:\ALLEGRO> <D:\ALLEGRO> <D:\ALLEGRO> and when i type make install PROFILEMODE=1 at the cp it also installs properly can any one tell me what is wrong and what i need to do to fix this problem. and if any one needs the full output from the commands i will be glad to provied them upon request. thanks, I didn't lose my marbles, I never had any to begin with!!! |
Matthew Leverton
Supreme Loser
January 1999
|
The Watcom is a rarely used port. Unless you have a compelling reason, I'd stick with DJGPP for DOS. |
Alysher
Member #8,406
March 2007
|
i can't stand using a non-ide compiler, sorry i'm too inpatient to continusliy type my commands I didn't lose my marbles, I never had any to begin with!!! |
Matthew Leverton
Supreme Loser
January 1999
|
RHIDE is a good IDE for DOS. Also, any of the Windows ones (Code Blocks, Dev-C++, etc) would work with DJGPP as well. |
Alysher
Member #8,406
March 2007
|
but will they do win-16, dos-16,dos-32, win-32,programs as well? i know that dev-C++ won't but i don't know about the others. OPEN Watcom does all these and will allow me,a budding c++ programmer, to be able to look at the help docs and know how to do what i need to do. I didn't lose my marbles, I never had any to begin with!!! |
Matthew Leverton
Supreme Loser
January 1999
|
Most free IDEs will work with both MingW and DJGPP. Dev-C++ isn't a compiler. It's an IDE. It produces whatever executables the compiler you are using creates. Open Watcom with Allegro will only create 32-bit DOS executables. They will run fine under DOS, Windows 95, 98 and ME. They will not work very well under Windows XP. They will not work at all under 64-bit Windows. |
Alysher
Member #8,406
March 2007
|
OK i will do that , but i still want to know why the watcom version was having problems, and if it can be fixed I didn't lose my marbles, I never had any to begin with!!! |
Matthew Leverton
Supreme Loser
January 1999
|
Your first error is this: Quote: demo\display.h(7): Error! E1115: Incomplete enum declaration That means it doesn't like something on line number 7 in that file. |
Alysher
Member #8,406
March 2007
|
i'm still new to c and c++ programing so i don' quite understand it i know that their is a problem in the code on line 7 but i don't know what an enum declartion is and im not sure how to fix it. I didn't lose my marbles, I never had any to begin with!!! |
Peter Wang
Member #23
April 2000
|
There's nothing wrong with that line. It's almost as if Watcom is compiling that code as C++, instead of C. There is a problem on line 340 of dfile.c, which has a statement before a variable declaration, which is not allowed in older versions of C. If you're new to this, try to stick to the well trodden path. That means MinGW or MSVC on Windows and djgpp for DOS.
|
Alysher
Member #8,406
March 2007
|
well i tried to compile for djgpp and ended up with problems on the dfile.c for all make commands(ie make, make install, make install DEBUGMODE=1,...) that are similar to the watcom version, i even changed my djgpp gcc compilier to 2.9.5.3 and my bin utilties to 2.9.5.1 and i still got the same problem. what is wrong and what can be done??? I didn't lose my marbles, I never had any to begin with!!! |
BAF
Member #2,981
December 2002
|
Are you using DJGPP to compile or still the watcom compiler? |
Alysher
Member #8,406
March 2007
|
I believe its using gcc, the last 10 lines of output after runing make are: gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mcpu=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/dfile.o -c src/dos/dfile.c EDIT:This looks like the same type of problem http://www.allegro.cc/forums/thread/590170 any sugestions???????????? I didn't lose my marbles, I never had any to begin with!!! |
|