if u r using windows xp, and you upgraded from windows 98 heres a fact
i installed djgpp following instructions
but when trying to compile allegro, make just didnt worked
ERROR MESSAGE:
"Your PATH is not set correctly! This must include the djgpp bin directory: see the djgpp reamde.1st for details"
SOLUTION:
go to the directory C:\WINDOWS\SYSTEM32 and edit the file AUTOEXEC.NT, in this file you must include this lines
PATH=C:\WINDOWS\system32;c:\djgpp\bin
set DJGPP=c:\djgpp\DJGPP.ENV
NOTICE:
the autoexec.nt file exists just if u upgraded from win98 to winxp whitout formating your hd.
i already followed the instructions to add the djgpp/bin directory and to set djgpp environment variable, but my command just keep using autoexec.nt when running make, if u got the same problem this will work perfectly.
Do not use DJGPP under Windows XP. Get MinGW.
And for the love of Dog, please don't type like that.
!-marked as offtopic by author-!
Is Dog a member? I don't understand this joke.
But you are right, this kind of typing is bad
I must even acclimatize to typing without upper cases before each noun in english. That's because I'm german. And the crazy Germans are typing each "Noun with upper Cases".
"Ich bin Deutscher.Und die verrückten Deutschen schreiben jedes Nomen groß."
You can be sure: the upcased words in the sentence above are nouns.
Although I found it really silly, to type words in the middle of a sentence upcased, it may be amusing for non-german speakers.
Why did I post this? Well, if they are some soccer fans (for the britains:"football fans") between you, they want to go to the world cup next year in my homeland, they should just be warned!
For further informations, what you should attend, before you come to Germany next year, you can post here or email: don.gee[at]web.de
(This is off topic too)
for the britains:"football fans"
Actually only Americans and Germans say soccer (possibly Cnadians too, I don't know). Everyone else says football.
Though using DJGPP under XP is discouraged a much better solution would be to define these variables in windows environment variables located somewhere deep in My Computer -> properties
@miran: The Germans doesn't say soccer. They even says "football". But I try to use american english, so the people may can better understand me. You're right: football is another sport in the US and so "our" football is called "soccer" there.
OT:
Is Dog a member? I don't understand this joke.
I don't know the German version of the original saying, but try reading `dog' backwards and you should get the idea.
But I try to use american english, so the people may can better understand me.
Don't bother. `soccer' is one of those things I was taught early on not to bother with. Just stick to `football'. Everyone outside the USA will know what you're talking about and most people in the USA should also know because they call their version of football American Football (which I take it is more like rugby).
Confusing, isn't it?
But I try to use american english, so the people may can better understand me.
You even used American Bush English in this sentence. Sorry, couldn't resist .
[OFF TOPIC = ON]
[VERY STUPID = ON]
Ok, so let's say that you shouldn't post in english because it is not a good language to describe problems and the solution, post in another language, but don't use german, spanish, chinese, italian, danish, japanese, portuguese or anything like that too. Use the C language which is no doubt, very good to that.
Let's see how your first post would looks like if you post using C language instead of english:
1 | #include <stdio.h> |
2 | |
3 | void fix_djgpp(); |
4 | void install_djgpp(); |
5 | void solution(); |
6 | void notice(); |
7 | |
8 | int main() { |
9 | add_dir("djgpp/bin"); |
10 | set_variable("DJGPP"); |
11 | if (make_running("autoexec.nt")) fix_djgpp(); |
12 | } |
13 | |
14 | void fix_djgpp() { |
15 | if (u.using == WINDOWS_XP && windows.upgradefrom == WINDOWS_98) { |
16 | install_djgpp(); |
17 | notice(); |
18 | } |
19 | } |
20 | |
21 | void install_djgpp() { |
22 | const char *errormsg = "Your PATH is not set correctly! This must include the djgpp bin directory: see the djgpp reamde.1st for details"; |
23 | if (!strcmp(make(), errormsg)) solution(); |
24 | } |
25 | |
26 | void solution() { |
27 | chdir("C:\WINDOWS\SYSTEM32"); |
28 | FILE *edit = fopen("AUTOEXEC.NT", "a+b"); |
29 | include_lines(edit, "PATH=C:\WINDOWS\system32;c:\djgpp\bin"); |
30 | include_lines(edit, "set DJGPP=c:\djgpp\DJGPP.ENV"); |
31 | fclose(edit); |
32 | } |
33 | |
34 | void notice() { |
35 | autoexec_dot_nt->exists = !hd.formattedwhenupgrading; |
36 | } |
[VERY STUPID = OFF]
[OFF TOPIC = OFF]
Let's see how your first post would looks like if you post using C language instead of english:
Your function names, variable names and the error message are in English. So, not much point in doing that.