--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"Danny Gilbert" <DannyG...@discussions.microsoft.com> wrote in message
news:78106835-49CC-416C...@microsoft.com...
>I need to build a driver for my "special" parallel port (aDIO = Advance
> Digital IO) on a GeodeLX800 (CEPC). The driver does not compile because
> the
> following file ( coredll.lib ) is missing under:
> C:\WINCE600\PBWorkspaces\OS_TSCP\WINCE500\CME147786CX_x86\cesysgen\sdk\lib\x86\retail\
>
> (NOTE: OS_TSCP is my os design "name", my solution. )
>
> There is NOTHING in my PBWorkspace. I only see the directory and
> sub-directory names but there is no files. Other thing: If I remove the
> aDIO
> project from the solution, the image NK.BIN is well BUILD and Windows CE
> works on my platform.
> I can do anything except building the solution with the driver for aDIO.
>
> 2 Question:
> -------------
>
> 1- What is the purpose/goal of this DIRECTORY:
> C:\WINCE600\PBWorkspaces\OS_TSCP\WINCE500\CME147786CX_x86\cesysgen\sdk\lib\x86\retail\
>
> and why there is nothing inside it ?
>
> 2- Do I need to build something else or do I miss something ?
>
>
> Other info:
> ------------
> To build my image, I always do "Build Solution" or "Rebuild Solution" and
> it
> always work. With aDIO driver as sub-project, I have the following warning
> and error:
>
> Warning 1 BUILD: [00:0000000011:WARNN ]
> C:\BSPFournisseur\WindowsCE6.0BSPGeodeLXV1.00.00\aDIO_wince_v1.00.00_src\aDIOLibrary\:
> Missing source file:
> C:\WINCE600\PBWorkspaces\OS_TSCP\WINCE500\CME147786CX_x86\cesysgen\sdk\lib\x86\retail\coredll.lib.
>
> Error 2 BUILD: [01:0000000032:ERRORE] NMAKE : U1073: don't know how to
> make
> 'C:\WINCE600\PBWorkspaces\OS_TSCP\WINCE500\CME147786CX_x86\cesysgen\sdk\lib\x86\retail\coredll.lib'
>
> (NOTE:
> C:\BSPFournisseur\WindowsCE6.0BSPGeodeLXV1.00.00\aDIO_wince_v1.00.00_src\aDIOLibrary\
> is the directory of the sub-project, where the pbpxml file is.
>
> If I move (or copy) the coredll.lib file in this directory, I will have
> other problem. Other files are missing and so on.
>
> The file coredll.lib is inside:
> C:\OSDesign_TSCP\OS_TSCP\OS_TSCP\Wince600\GeodeLX800_x86\cesysgen\sdk\lib\x86\retail
>
> So for me, my WORKSPACE is there: C:\OSDesign_TSCP\OS_TSCP\OS_TSCP\
> but it is not WINCE500....
>
> I don't understand the name of the directory....
>
> Thanks.
>
>
>
>
> --
> Software Engineer
My understanding is the following:
---------------------------------------
The supplier of this driver had before a BSP for WinCE 5.0 for it's hardware.
Now, we want to make it work under WinCE 6.0. My supplier is RTD Embedded
Technology (platform PC-104 with Geode LX 800). The enginneer from RTD says
that it works with WinCE 6.0 (but he is a WinCE 6.0 ROOKIE like me). He
simply adds the "source" as a sub-project and he can build without error. I
did the same using the same source files (using pbpxml).
I "guess" that the project "info" like library directory and header files
directory for the compiler/linker issue has "reference" on the old
directories they use before (in RTD development system)... and they still
have the required files for the compilation. So it works on it's side, he is
LUCKY !
So I am trying to edit right now the source of this project (right-click,
open, the sub-project) in order to change the path.
Does it sounds good for you or there is another issue to think about ?
--
Software Engineer
Your sources file is probably about 20-30 lines. Note that "sources" is a
file, not a collection of files.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"Danny Gilbert" <DannyG...@discussions.microsoft.com> wrote in message
news:D82B810E-0D8A-456C...@microsoft.com...
Look the following code:
_PROJECTROOT=$(_WINCEROOT)\PBWorkspaces\$(_TGTPROJ)\WINCE500\CME147786CX_x86
WINCEREL=1
RELEASETYPE=LOCAL
_ISVINCPATH=$(_WINCEROOT)\public\common\sdk\inc;
_OEMINCPATH=$(_WINCEROOT)\public\common\oak\inc;$(_WINCEROOT)\public\common\sdk\inc;
TARGETNAME=aDIOLibrary
FILE_VIEW_ROOT_FOLDER= \
FILE_VIEW_RESOURCE_FOLDER= \
FILE_VIEW_INCLUDES_FOLDER= \
aDIOLib_Error.h \
aDIOLib.h \
aDIOLib_Port.h \
aDIOLib_Interrupt.h \
SOURCES= \
aDIOLib.c \
aDIOLib_Port.c \
aDIOLib_Interrupt.c \
TARGETTYPE=DYNLINK
TARGETLIBS= \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\coredll.lib \
CDEFINES=$(CDEFINES) -DaDIOLibrary_EXPORTS
FILE_VIEW_PARAMETER_FOLDER= \
aDIOLibrary.bib \
aDIOLibrary.reg \
INCLUDES= \
..\Include\;$(_WINCEROOT)\PUBLIC\COMMON\OAK\INC\;$(_WINCEROOT)\PUBLIC\COMMON\DDK\INC\ \
WINCE_LMEM_DEBUG=1
=====================
The first line IS the problem. They "re-define" my PROJECTROOT variable with
bad directory (bad value). I only need to remove it to keep my variable as
it is defined.
Thanks for your help.
:)
--
Software Engineer