Jump to: navigation, search

Mouse Lock Implementation FAQ

1,119 bytes added, 14:13, 8 November 2011
no edit summary
Afterwards, you can freely clone the repository and the build should now work.
===How do I resolve the error where CL cannot be found?===
this is the error that comes up:
'''checking whether the C compiler (cl ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
Fix above errors and then restart with "make -f build"
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/d/proj/mozilla'
make: *** [/d/proj/mozilla/obj-i686-pc-mingw32/Makefile] Error 2'''
This error is due to the .bat file not being able to find the vcvars32 or 64 file. This is because when we run the wrong .bat file.
When the file says -x64 after it, for example 'start-msvc9-x64' it is not necessarily saying this needs to be run in a 64 bit operating
system but instead if you look inside the bat file you will see that this pretty much just means that it will be looking for the vcvars
file in %VC9EXPRESSDIR%\bin\'''amd64'''\vcvars64.bat instead of Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat so make sure you are running
the correct batch file and if you get this error check the path in the file to make sure it goes to the right place.

Navigation menu