Compiling with cygwin on Windows64 / AMD64

Help
2006-07-17
2013-06-03
  • Alexandre Lins
    Alexandre Lins
    2006-07-17

    Hello,

    I can't compile using "make" on a Windows64 based system. With version 1.8 I get the following error :

    C:\cygwin\usr\include\w32api\winnt.h(1965): fatal error C1189: # error: "undefined precessor type"
    make[2]: *** [../built/crutil/WIN_NT/bbox.obj] error 2
    make[1]: *** [dep] error 2
    make: *** [util.subdir] error 2

     
    • Garland Stern
      Garland Stern
      2006-07-24

      Interesting.  Your machine is probably reporting an unexpected architecture or machine type.  In a CygWin window type 'uname' and 'uname -m'.  Compare the results with those expected in arch.mk and make appropriate mods to arch.mk.  Just out of curiosity, what does uname say for a Windows64 system?

       
    • Alexandre Lins
      Alexandre Lins
      2006-07-24

      I found the solution. I had a 64 bits version of 'cl.exe'. I downgrade for a 32 bits version and the problem was fixed.