Find the answer to your Linux question:
Results 1 to 6 of 6
everytime i compile a C program with gcc i get the error "windows.h: No such file...blah blah blah". any directions or line would be greatly appreciated. tnx!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Nov 2002
    Posts
    420

    knoppix missing windows.h


    everytime i compile a C program with gcc i get the error "windows.h: No such file...blah blah blah". any directions or line would be greatly appreciated. tnx!

  2. #2
    Just Joined!
    Join Date
    Oct 2003
    Location
    The Netherlands
    Posts
    89
    as far as i know windows.h is specifically for windows, this means that the sourcecode that depends on windows.h can only be compiled on windows, not linux...

  3. #3
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    no, it should be compileable, you just need to find it, probably just download it, is this programming that you have written yourself? in witch case you should know where windows.h is and just need to point the compiler to it.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Oct 2003
    Location
    The Netherlands
    Posts
    89
    o, didn't knew that, but what i do know is that in a lot of exploits <windows.h> is included...

  6. #5
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    wait, are you typing
    Code:
    make
    or are you typing
    Code:
    gcc filename.c -0 yadda daaa yadda
    ??
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  7. #6
    Linux User
    Join Date
    Nov 2002
    Posts
    420
    first of all thanks for ur e4rts....,
    i'm typing the gcc proggy.c -o proggy.
    am i doing something wrong?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •