1. compile a simple program on Windows XP
- Posted by mojtaba May 23, 2011
- 1260 views
Hello,
i want to compile a very simple source code on windows but i have this error
"<0159>:: WATCOM environment variable is not set"
and when I want to compile with "-gcc" it is unable link to my directory.
please help me!
2. Re: compile a simple program on Windows XP
- Posted by mattlewis (admin) May 23, 2011
- 1268 views
Hello,
i want to compile a very simple source code on windows but i have this error
"<0159>:: WATCOM environment variable is not set"
and when I want to compile with "-gcc" it is unable link to my directory.
Do you have Watcom or MinGW installed?
Matt
3. Re: compile a simple program on Windows XP
- Posted by mojtaba May 23, 2011
- 1232 views
hi,
no, I didn't.
Excuse me how could I install that?
4. Re: compile a simple program on Windows XP
- Posted by mattlewis (admin) May 23, 2011
- 1253 views
hi,
no, I didn't.
Excuse me how could I install that?
You can download OpenWatcom from here:
http://openwatcom.org/index.php/Download
Matt
5. Re: compile a simple program on Windows XP
- Posted by mojtaba May 24, 2011
- 1250 views
Hello my dear friend,
I'd appreciate it, I installed watcom and the previous problem solved , but now I have this problem:
main-.c(6): Error! E1055: Unable to open 'Windows.h' main-.c(21): Error! E1009: Expecting ',' but found 'p' main-.c(21): Error! E1116: An id list not allowed except for function definition main-.c(24): Error! E1009: Expecting ',' but found 'hInstance' main-.c(40): Error! E1011: Symbol 'szCmdLine' has not been declared main-.c(41): Error! E1011: Symbol 'hInstance' has not been declaredNow,please say me what is the problem?