Re: question about sysgen and build
- From: "xuhaoz" <xuhaoz@xxxxxxx>
- Date: Wed, 18 May 2005 09:54:55 +0800
I add SD Memory and Standard SDIO Host Controller, didn't add Samsung 2410
SDIO Host and SDIO WiFi[SyChip] .Would you please help to solve this problem
again? I really need you help.
Thank you very much.
"xuhaoz" <xuhaoz@xxxxxxx> wrote in message
news:eoKtEaoWFHA.584@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Steve :
>
> I do as you told me , wipe away the anything I added before in the
> project "setting", and only add WINCEOEM=1 in the sources file, this time
,
> system report "can't open include file: 'sdcardddk.h'.No such file or
> directory."
>
> If I comment this line on the top of my c file like this "//#include
> <sdcardddk.h>", then build project(I have build and sysgen successfully
> before), this time system report "error LINK2019:unsolved external symbol
> SDDeinitializeCardLib referenced in function DllMain","error
> LINK2019:unsolved external symbol SDInitializeCardLib referenced in
function
> DllMain","error LINK2019:unsolved external symbol SD_DEBUG_ZONE_REGISTER
> referenced in function DllMain".
>
> Would you please help again to solve this problem?
>
> "xuhaoz" <xuhaoz@xxxxxxx> wrote in message
> news:%23dGIcedWFHA.3076@xxxxxxxxxxxxxxxxxxxxxxx
> > Hi :
> >
> > I am new to this hall. I met a question about sysgen and build
> process.
> >
> > I do the following things:
> >
> > 1 New a platform in PB, and select Mainstone BSP, drag SD component
> > from catalog
> >
> > 2 New a project focus on dll in the same workspace with my
platform.
> >
> > 3 New a c file and wite these code in it .
> >
> > #include <windows.h>
> > #include <wtypes.h>
> > #inclue <types.h>
> > #include <sdcardddk.h>
> > extern "C"
> > BOOL DllEntry(HINSTANCE hInstance,
> > ULONG Reason,
> > LPVOID pReserved)
> > {
> > BOOL fRet = TRUE;
> >
> > if ( Reason == DLL_PROCESS_ATTACH ) {
> > s_pSDBusDriver = NULL;
> > DEBUGMSG(SDCARD_ZONE_INIT, (TEXT("SDBusDriver: PROCESS_ATTACH
> > \n")));
> > DisableThreadLibraryCalls((HMODULE) hInstance);
> > SD_DEBUG_ZONE_REGISTER(hInstance, NULL);
> >
> > if (!SDInitializeCardLib()) {
> > fRet = FALSE;
> > }
> > }
> > else if ( Reason == DLL_PROCESS_DETACH ) {
> > DEBUGMSG(SDCARD_ZONE_INIT, (TEXT("SDBusDriver: PROCESS_DETACH
> > \n")));
> > SDDeinitializeCardLib();
> > }
> >
> > return fRet;
> > }
> >
> > 4 I right click my project name , and select "settings....", select
> the
> > c/c++ tab, in the "Include Directories"
> > I add the path of the sdcardddk.h, like this
> > "G:\wince50\public\common\ddk\inc\"
> >
> > in the Link tab, I added
> > "$(_PROJECTROOT)\cesysgen\oak\lib\$(_CPUINDPATH)\sdcardlib.lib" after
the
> > $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\coredll.lib and separate
> > them with "\".
> >
> > 5 I click OK, and build my project, the system report "don't know
how
> to
> > make
> >
>
\G:\wince50\pbworkspace\xscale_test\mainsotoneII_armv4I\wince50\cesysgen\oak
> > \lib\armv4I\debug\sdcardlib.lib"
> >
> > Would you please help me solve this problem?
> >
> > Many thanks
> >
> > yours xuhaoz
> >
> >
>
>
.
- References:
- question about sysgen and build
- From: xuhaoz
- Re: question about sysgen and build
- From: xuhaoz
- question about sysgen and build
- Prev by Date: Re: question about sysgen and build
- Next by Date: Re: [Stack fault] ?
- Previous by thread: Re: question about sysgen and build
- Next by thread: Error in building on Release version
- Index(es):