MIDL Compiler error [Solved]
Posted: 01 May 2007 12:04
I'm trying to change the uuid of the activex control so that my modified version can coexist on the same system as the official vlc activex. But when I try to compile using cygwin I get the following error.
The compilation works if I don't change the idl files. I've followed the readme and have written the following in cygwin
Visual C++ 6.0 is installed at C:\Program\Microsoft Visual Studio
The uuid was generated using http://www.famkruithof.net/uuid/uuidgen
Please help.
Code: Select all
midl -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_
axvlc.idl
Microsoft (R) MIDL Compiler Version 5.01.0164
Copyright (c) Microsoft Corp 1991-1997. All rights reserved.
Processing .\axvlc.idl
midl : command line error MIDL1004 : cannot execute C preprocessor cl.exe
make[3]: *** [axvlc_idl.c] Error 236
Code: Select all
export PATH=$PATH:"/cygdrive/c/Program/Microsoft Visual Studio/COMMON/MSDev98/Bin":"/cygdrive/c/Program/Microsoft Visual Studio/VC98/Bin"
export INCLUDE='C:\Program\Microsoft Visual Studio\VC98\Include'
export MIDL="midl"
The uuid was generated using http://www.famkruithof.net/uuid/uuidgen
Please help.