This is a discussion on Apache 2.0.50: Error executing cl.exe within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi, after the build InstallBin process (win32), VC Studio reports following error: --- Generating code... Error executing cl.exe I searched ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
after the build InstallBin process (win32), VC Studio reports following error: --- Generating code... Error executing cl.exe I searched the whole drive for that file but couldn't find it. Is it part of an external package which is required to build Apache2? (Cygwin is installed) Thanks for your help! |
|
|||
|
H. Jörg wrote:
> after the build InstallBin process (win32), VC Studio reports following > error: > --- > Generating code... > Error executing cl.exe > > I searched the whole drive for that file but couldn't find it. Is it part of > an external package which is required to build Apache2? (Cygwin is > installed) cl.exe is the compiler part of Visual C++. Since you say the error was reported from VC Studio, I assume you have it installed, so it should be somewhere within \Program Files\Microsoft Visual Studio. Maybe you should try reinstalling Visual C++ - it definitely should be there. Cygwin is another story. I think some people have got Apache to build with Cygwin, but it's not exactly a supported configuration. Go with Visual C++ if you can. In any case, Cygwin's compiler is gcc.exe, not cl.exe, and you would not be building it via VC Studio. -- Jim Patterson Ottawa, Ont CANADA |
|
|||
|
You're right, its in the Visual Studio \bin directory. Perhaps I really
should reinstall it. I installed Cygwin, because I thought I need it for the Apache2 build. I don't use the gcc compiler but I've less warnings/errors while building since cygwin is installed. "Jim Patterson" <jim-patterson@ncf.ca> schrieb im Newsbeitrag news:zyO4d.27671$pA.1845772@news20.bellglobal.com. .. > H. Jörg wrote: > > after the build InstallBin process (win32), VC Studio reports following > > error: > > --- > > Generating code... > > Error executing cl.exe > > > > I searched the whole drive for that file but couldn't find it. Is it part of > > an external package which is required to build Apache2? (Cygwin is > > installed) > > cl.exe is the compiler part of Visual C++. Since you say the error was > reported from VC Studio, I assume you have it installed, so it should be > somewhere within \Program Files\Microsoft Visual Studio. Maybe you > should try reinstalling Visual C++ - it definitely should be there. > > Cygwin is another story. I think some people have got Apache to build > with Cygwin, but it's not exactly a supported configuration. Go with > Visual C++ if you can. In any case, Cygwin's compiler is gcc.exe, not > cl.exe, and you would not be building it via VC Studio. > > -- > Jim Patterson > Ottawa, Ont > CANADA |
|
|||
|
H. Jörg wrote:
> You're right, its in the Visual Studio \bin directory. Perhaps I really > should reinstall it. > > I installed Cygwin, because I thought I need it for the Apache2 build. I > don't use the gcc compiler but I've less warnings/errors while building > since cygwin is installed. If you're compiling from the command line, then look for and "CALL" a batch file called VCVARS32.BAT before running NMAKE. That file will set up your PATH etc. so that it can find the compiler; maybe that's all you need to do. None of this should be necessary if running from Developer Studio, though; it maintains its own path settings. You can find them under Tools/Options. It's possible that they have been messed up somehow, which would explain the compile error you're getting. -- Jim Patterson Ottawa, Ont CANADA |
|
|||
|
VCVARS32.BAT - I know, this file is has been executed. I can launch cl.exe
from command line. However, the build process will not successfully terminated. It says: > xlate.c > Fatal Error C1083 can not open include file apr_iconv.h - no such file or directory > apr_xml.c > Generating Code... > Error executing cl.exe. During the build process I still have some error dialogs which I closed to continue. I usually have not problems with building applications this is the first time. So I think the Apache2 build package is not complete or something is missing. Anyway for hints to get me out there thanks in advance! "Jim Patterson" <jim-patterson@ncf.ca> schrieb im Newsbeitrag news:mm45d.29613$bL1.1438101@news20.bellglobal.com ... > H. Jörg wrote: > > You're right, its in the Visual Studio \bin directory. Perhaps I really > > should reinstall it. > > > > I installed Cygwin, because I thought I need it for the Apache2 build. I > > don't use the gcc compiler but I've less warnings/errors while building > > since cygwin is installed. > > If you're compiling from the command line, then look for and "CALL" a > batch file called VCVARS32.BAT before running NMAKE. That file will set > up your PATH etc. so that it can find the compiler; maybe that's all you > need to do. > > None of this should be necessary if running from Developer Studio, > though; it maintains its own path settings. You can find them under > Tools/Options. It's possible that they have been messed up somehow, > which would explain the compile error you're getting. > > > -- > Jim Patterson > Ottawa, Ont > CANADA |