Re: Problems compiling in Platform directory; in Public it works



Hi,

i assume that you are trying to clone the ASP httpadmasp.dll code located in
$(_WINCEROOT)\PUBLIC\SERVERS\SDK\SAMPLES\HTTP\ASP ?

I did the same and it worked.
Modify the RELEASETYPE, the paths for your targetlibs and add the INCLUDES
macro.
I builded this from the command line and from a sysgen.

Do you installed all QFE's?
What are your (build)steps?
can you list your sources file?

Hope this helps,

Erwin Zwart

"lagu2653" <lagu2653@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:16E32465-5EB6-47DD-A51B-B483E4A7C1C6@xxxxxxxxxxxxxxxx
I always delete all Build.dat, Build.err, Build.log, Build.wrn files before
compiling. After editing my files I can compile in the Public directory (I
restore the default files afterwards), but when compiling in
C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP I get this error:

BUILD: [01:0000000034:ERRORE] midl : command line error MIDL1012 :
argument
illegal for switch / O
BUILD: [01:0000000035:ERRORE] midl : command line error MIDL1012 :
argument
illegal for switch / O

How do I make it compile in C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP ?

This is the full output:

C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP>build
Build for Windows CE (Release) (Built on Apr 22 2004 10:38:01)
File names: Build.log Build.wrn Build.err Build.dat
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:PROGC ] Checking for
\WINCE500\sdk\bin\i386\srccheck.exe.
BUILD: [00:0000000001:PROGC ] SrcCheck exit code: 0 (dec).
BUILD: [00:0000000002:PROGC ] Compile and Link for x86.
BUILD: [00:0000000003:PROGC ] Computing include file dependencies:
BUILD: [00:0000000004:PROGC ] Checking for SDK include directory:
C:\WINCE500\sd
k\ce\inc.
BUILD: [00:0000000005:PROGC ] Scan \WINCE500\PLATFORM\CCPXS_IXC1100\ASP\
BUILD: [00:0000000006:WARNS ] Macro: __PROJROOT not found in
$(__PROJROOT)\oak\l
ib\$(__CPUDIR)\$(TARGETDEFNAME).def.
BUILD: [00:0000000007:WARNS ] Macro: __PROJROOT not found in
$(__PROJROOT)\oak\l
ib\$(__CPUDIR)\$(TARGETNAME).res.
BUILD: [00:0000000008:WARNS ] Macro: __PROJROOT not found in
$(__PROJROOT)\oak\t
arget\$(__CPUDIR).
BUILD: [00:0000000009:WARNS ] Macro: __PROJROOT not found in
$(__PROJROOT)\oak\l
ib\$(__CPUDIR).
BUILD: [00:0000000010:WARNN ] \WINCE500\PLATFORM\CCPXS_IXC1100\ASP\:
Missing
sou
rce file: admin_i.c.
BUILD: [00:0000000011:WARNS ] Directory:
C:\WINCE500\platform\Emulator\inc\
does
not exist.
BUILD: [00:0000000019:PROGC ] Saving
C:\WINCE500\PLATFORM\CCPXS_IXC1100\Build.da
t.
BUILD: [00:0000000021:PROGC ] Total of 1 pass zero files to compile in 1
directo
ries.
BUILD: [00:0000000022:PROGC ] Building generated files in
\WINCE500\PLATFORM\CCP
XS_IXC1100\ASP\.
BUILD: [01:0000000032:PROGC ] Midl Compiling .\admin.idl
BUILD: [01:0000000034:ERRORE] midl : command line error MIDL1012 :
argument
ille
gal for switch / O
BUILD: [01:0000000035:ERRORE] midl : command line error MIDL1012 :
argument
ille
gal for switch / O
BUILD: [00:0000000037:PROGC ] Files Warnings
Erro
rs
BUILD: [00:0000000038:PROGC ] Midl 1 0
2
BUILD: [00:0000000039:PROGC ] Resource 0 0
0
BUILD: [00:0000000040:PROGC ] Message 0 0
0
BUILD: [00:0000000041:PROGC ] Precomp Header 0 0
0
BUILD: [00:0000000042:PROGC ] C/Cpp/Cxx 0 0
0
BUILD: [00:0000000043:PROGC ] Assembler 0 0
0
BUILD: [00:0000000044:PROGC ] Static Libraries 0 0
0
BUILD: [00:0000000045:PROGC ] Dll's 0 0
0
BUILD: [00:0000000046:PROGC ] Exe's 0 0
0
BUILD: [00:0000000047:PROGC ] Resx 0 0
0
BUILD: [00:0000000048:PROGC ] Csharp Targets 0 0
0
BUILD: [00:0000000049:PROGC ] Other 0 5
1
BUILD: [00:0000000050:PROGC ]
BUILD: [00:0000000051:PROGC ] Total 1 5
3
BUILD: [00:0000000052:PROGC ]
BUILD: [00:0000000053:PROGC ] 5 Warnings, 3 Errors

C:\WINCE500\PLATFORM\CCPXS_IXC1100\ASP>


.



Relevant Pages


Loading