1. compile a simple program on Windows XP

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!

new topic     » topic index » view message » categorize

2. Re: compile a simple program on Windows XP

mojtaba said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: compile a simple program on Windows XP

hi,

no, I didn't.

Excuse me how could I install that?

new topic     » goto parent     » topic index » view message » categorize

4. Re: compile a simple program on Windows XP

mojtaba said...

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: compile a simple program on Windows XP

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 declared 
Now,please say me what is the problem?

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu