We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm trying to compile the C:\Keil\C166\Examples\EC++\complex\complex.cpp file from my command line.
C:\>SET C166INC=C:\KEIL\C166\INC C:\>c:\Keil\C166\bin\EC166.EXE "c:\keil\C166\Examples\EC++\complex\COMPLEX.CPP" EC166 EC++ COMPILER V1.07 COPYRIGHT KEIL ELEKTRONIK GmbH 2000 - 2005 "C:\\KEIL\\C166\\EXAMPLES\\EC++\\COMPLEX\\COMPLEX.CPP", line 6: error: could not open source file "stdio.h" #include <stdio.h> ^ Compilation terminated.
The C166INC env variable is obviously set...
Thanks a lot!
Pierre
Hello,
For EC166, use INCDIR directive like:
ec166 d:\keil353\c166\examples\ec++\complex\complex.cpp INCDIR(d:\keil353\c166\inc)
--Nikolay.
Hi Nokolay,
I knew this INCDIR option (extracted from a LST file) but I would like to be able to call the EC166.exe on a .cpp file without any other arg. Therefore I would like EC166 to behave like C166, ie having some args passed through env vars.
Thanks anyway!