Unnable to compile on Windows

  • Gaël Décosterd


    I can't compile using "make" on a Windows based system. With version 1.7 and 1.8 I get the following error eatch times:

    Building crutil.dll for WIN_NT ....
    rebuilding dependencies for .....
    Compiling make[2]: cl: command not found
    make[2]: *** [../built/crutil/WIN_NT/bbox.obj] error 127

    What the is this command cl ? How can I get it with cygwin ?

    • Garland Stern

      Garland Stern - 2006-04-20

      'cl' is the MicroSoft name for their C compiler under various versions of MS Visual Studio.  The Chromium makefiles for Windows are set up to use this compiler.  I don't know if it's possible to use the GNU tools instead (...anybody?), but I'm sure it would involve extra effort.

  • nickhunter

    nickhunter - 2010-05-11

    if anyone is still trying to do this: The way I managed to build Chromuim 1.9 in win32 with msvc is to run vsvars32.bat (this is in the Program Files\Microsoft Visual Studio 8\Common7\Tools directory) from the cygwin shell before make. In the Chromium directory under config/WIN_NT.MK you will need to remove the /WX compiler switch to disable the compiler treating some of the warnings as errors, alter the old /GX flag to be /Ehsc, and its worth removing the old /QIfist flags. Make sure glut is installed for msvc in your GL directory….


Log in to post a comment.