Compiling my application against the vendor SDK an error occurs:

LINK : fatal error LNK1181: cannot open input file 'secchk.lib'


What's it? :-O

Mhaxx

Re: Cannot open input file 'secchk.lib' by John

John
Tue Sep 26 13:45:23 CDT 2006

The secchk.lib is not part of either Platform Builder or Windows CE/Mobile
SDK.
You can ask your vendor for this file.
You can simply remove it from link option whether you really need it or not.
Thanks
John Baik



"Mhaxx" <supermhaxx@despammed.com> wrote in message
news:%233mdkeY4GHA.1256@TK2MSFTNGP04.phx.gbl...
> Compiling my application against the vendor SDK an error occurs:
>
> LINK : fatal error LNK1181: cannot open input file 'secchk.lib'
>
>
> What's it? :-O
>
> Mhaxx
>
>



Re: Cannot open input file 'secchk.lib' by ctacke/>

ctacke/>
Tue Sep 26 15:12:31 CDT 2006

It's part of the PPC03 and later SDKs. You're compiling against a PPC SDK
but not adding it to your linker options. This typically happens when you
have a project targeting another SDK and then modify it to target a Pocket
PC.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--



"Mhaxx" <supermhaxx@despammed.com> wrote in message
news:%233mdkeY4GHA.1256@TK2MSFTNGP04.phx.gbl...
> Compiling my application against the vendor SDK an error occurs:
>
> LINK : fatal error LNK1181: cannot open input file 'secchk.lib'
>
>
> What's it? :-O
>
> Mhaxx
>
>



Re: Cannot open input file 'secchk.lib' by Mhaxx

Mhaxx
Wed Sep 27 03:50:53 CDT 2006

> The secchk.lib is not part of either Platform Builder or Windows
CE/Mobile
> SDK.
> You can ask your vendor for this file.

My vendor hasn't this file.

> You can simply remove it from link option whether you really need it or
not.

Ok, but now it gives me another error:

LINK : fatal error LNK1181: cannot open input file 'ccrtrtti.lib'

Mhaxx



Re: Cannot open input file 'secchk.lib' by Mhaxx

Mhaxx
Wed Sep 27 03:54:37 CDT 2006

> LINK : fatal error LNK1181: cannot open input file 'ccrtrtti.lib'

Removing this lib, too.. another error occurs:

oleaut32.lib(OLEAUT32.dll) : fatal error LNK1112: module machine type
'THUMB' conflicts with target machine type 'ARM'

Mhaxx



Re: Cannot open input file 'secchk.lib' by Mhaxx

Mhaxx
Wed Sep 27 09:31:27 CDT 2006

> oleaut32.lib(OLEAUT32.dll) : fatal error LNK1112: module machine type
> 'THUMB' conflicts with target machine type 'ARM'

Resolved changing /MACHINE:ARM in /MACHINE:THUMB and now everything seems to
work.

Excuse me, why all these changes? :-O

Mhaxx



Re: Cannot open input file 'secchk.lib' by John

John
Wed Sep 27 12:41:38 CDT 2006

Chris,
You got it.

I was able to find secchk.lib from both PocketPC 2003 and SmartPhone 2003
SDK in Visual Studio Net 2005.

But I could not find secchk.lib from either PocketPC 2003 SDK or Windwos
Mobile 2005 SDK from Microsoft.
So you'll have a link error if you download SDK from MS website.
I'm not sure why ?
Thanks
John Baik



"<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message
news:Of1gwga4GHA.696@TK2MSFTNGP06.phx.gbl...
> It's part of the PPC03 and later SDKs. You're compiling against a PPC SDK
> but not adding it to your linker options. This typically happens when you
> have a project targeting another SDK and then modify it to target a Pocket
> PC.
>
>
> --
> Chris Tacke
> OpenNETCF Consulting
> Managed Code in the Embedded World
> www.opennetcf.com
> --
>
>
>
> "Mhaxx" <supermhaxx@despammed.com> wrote in message
> news:%233mdkeY4GHA.1256@TK2MSFTNGP04.phx.gbl...
>> Compiling my application against the vendor SDK an error occurs:
>>
>> LINK : fatal error LNK1181: cannot open input file 'secchk.lib'
>>
>>
>> What's it? :-O
>>
>> Mhaxx
>>
>>
>
>



Re: Cannot open input file 'secchk.lib' by ctacke/>

ctacke/>
Wed Sep 27 13:51:15 CDT 2006

Good question. I've only seen this error when building in Studio, so I
lucked out and had the lib already. Not sure why it's not in the
downloadable SDKs - I'd think that would be a bug in the SDK.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"John Baik" <JohnBaik@hotmail.com> wrote in message
news:uW4Lwwl4GHA.3644@TK2MSFTNGP03.phx.gbl...
> Chris,
> You got it.
>
> I was able to find secchk.lib from both PocketPC 2003 and SmartPhone 2003
> SDK in Visual Studio Net 2005.
>
> But I could not find secchk.lib from either PocketPC 2003 SDK or Windwos
> Mobile 2005 SDK from Microsoft.
> So you'll have a link error if you download SDK from MS website.
> I'm not sure why ?
> Thanks
> John Baik
>
>
>
> "<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message
> news:Of1gwga4GHA.696@TK2MSFTNGP06.phx.gbl...
>> It's part of the PPC03 and later SDKs. You're compiling against a PPC
>> SDK but not adding it to your linker options. This typically happens
>> when you have a project targeting another SDK and then modify it to
>> target a Pocket PC.
>>
>>
>> --
>> Chris Tacke
>> OpenNETCF Consulting
>> Managed Code in the Embedded World
>> www.opennetcf.com
>> --
>>
>>
>>
>> "Mhaxx" <supermhaxx@despammed.com> wrote in message
>> news:%233mdkeY4GHA.1256@TK2MSFTNGP04.phx.gbl...
>>> Compiling my application against the vendor SDK an error occurs:
>>>
>>> LINK : fatal error LNK1181: cannot open input file 'secchk.lib'
>>>
>>>
>>> What's it? :-O
>>>
>>> Mhaxx
>>>
>>>
>>
>>
>
>