Форум программистов «Весельчак У»
  *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

  • Рекомендуем проверить настройки временной зоны в вашем профиле (страница "Внешний вид форума", пункт "Часовой пояс:").
  • У нас больше нет рассылок. Если вам приходят письма от наших бывших рассылок mail.ru и subscribe.ru, то знайте, что это не мы рассылаем.
   Начало  
Наши сайты
Помощь Поиск Календарь Почта Войти Регистрация  
 
Страниц: [1]   Вниз
  Печать  
Автор Тема: WinXP Build Environment из WinXP DDK  (Прочитано 5921 раз)
0 Пользователей и 1 Гость смотрят эту тему.
Postum
Гость
« : 28-06-2004 10:29 » 

Пытаюсь собрать драйвер плоттера из WinXP DDK 2600

...\src\print\msplot\plotter -

Цитата
C:\WINDDK\2600>cd C:\WINDDK\2600\src\print\msplot\plotter

C:\WINDDK\2600\src\print\msplot\plotter>build
BUILD: Object root set to: ==> objfre
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: /i switch ignored
BUILD: Using 2 child processes
BUILD: Compile and Link for i386
BUILD: Loading C:\WINDDK\2600\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining c:\winddk\2600\src\print\msplot\plotter directory for files to
compile.
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\wxp
\windows.h: cannot find include file <cderr.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\wxp
\windows.h: cannot find include file <lzexpand.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\wxp
\windows.h: cannot find include file <winperf.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\wxp
\windows.h: cannot find include file <ole.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\crt
\winbase.h: cannot find include file <macwin32.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\crt
\wingdi.h: cannot find include file <macwin32.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\crt
\winuser.h: cannot find include file <macwin32.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\crt
\winnls.h: cannot find include file <macwin32.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\wxp
\winreg.h: cannot find include file <macwin32.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\crt
\mmsystem.h: cannot find include file <macwin32.h>
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\crt
\winscard.h: cannot find include file "scarderr.h"
BUILD: c:\winddk\2600\src\print\msplot\plotter\precomp.h: c:\winddk\2600\inc\crt
\d3dtypes.h: cannot find include file "d3dvec.inl"
BUILD: Linking c:\winddk\2600\src\print\msplot\plotter directory
1>NMAKE : U1073: don't know how to make '../lib/km/objfre/i386/plotlib.lib'
BUILD: nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= MAKED
LL=1 386=1 failed - rc = 2
BUILD: Done
видимо что-то с source файлом - может кто-нибудь подскажет...
вот сам source-файл:

Цитата
!IF 0

Copyright (c) 1989 - 1991 Microsoft Corporation

Module Name:

sources.

Abstract:

This file specifies the target component being built and the list of
sources files needed to build that component. Also specifies optional
compiler switches and libraries that are unique for the component being
built.


Author:

Steve Wood (stevewo) 12-Apr-1990

NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl

02-Apr-1995 Sun 11:26:22 updated -by- Daniel Chou (danielc)
Add libprt.lib to the linklib list

!ENDIF


TARGETNAME=plotter
TARGETPATH=obj
TARGETLIBS=../lib/km/obj$(BUILD_ALT_DIR)/*/plotlib.lib

INCLUDES=./;../inc;../lib;../../lib;../../../inc

C_DEFINES=$(C_DEFINES) -DSTRICT -DUNICODE

!ifndef KM_DRIVER

C_DEFINES=$(C_DEFINES) -DUSERMODE_DRIVER

TARGETTYPE=DYNLINK

USE_MSVCRT=1

TARGETLIBS=$(TARGETLIBS) \
$(SDK_LIB_PATH)\winspool.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(DDK_LIB_PATH)\umpdddi.lib \
$(SDK_LIB_PATH)\ntdll.lib


USE_NOLIBS=1

DLLENTRY=DllEntryPoint
NTPROFILEINPUT=yes

!else

TARGETTYPE=GDI_DRIVER

TARGETLIBS=$(TARGETLIBS) \
$(SDK_LIB_PATH)\libcntpr.lib

!endif

!IFNDEF MSC_WARNING_LEVEL
MSC_WARNING_LEVEL=/W3
!ENDIF
MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX

SOURCES=pdevinfo.c \
enable.c \
plotform.c \
bitblt.c \
ropblt.c \
htblt.c \
transpos.c \
htbmp1.c \
htbmp4.c \
compress.c \
brush.c \
pencolor.c \
output.c \
page.c \
path.c \
polygon.c \
textout.c \
escape.c \
plotter.rc

#UMRES=obj\*\plotter.res

PRECOMPILED_INCLUDE=precomp.h
PRECOMPILED_PCH=precomp.pch
PRECOMPILED_OBJ=precomp.obj
Записан
Mayor
Специалист

ru
Offline Offline

« Ответ #1 : 01-07-2004 02:23 » 

Возможно ты  не прописал путь к SDK header файлам, которые болтаются в ...\vc98\include или еще где - это зависит от того чем ты компилируешь приложения.
Записан

1n c0de we trust
Страниц: [1]   Вверх
  Печать  
 

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines