Page 1 of 1

compile error with cvs scons/ming

Posted: Tue Nov 07, 2006 1:12 am
by adrian
With the tablet code addition, compiling gives the following errors.
winxp scons-ming.

"intern\ghost\intern\GHOST_SystemWin32.cpp:636: error: `WT_CSRCHANGE' undeclared
(first use this function)
intern\ghost\intern\GHOST_SystemWin32.cpp:637: error: `WT_PROXIMITY' undeclared
(first use this function)
scons: *** [C:\build\install\intern\ghost\intern\GHOST_SystemWin32.o] Error 1
scons: building terminated because of errors."

I have updated cvs (current now) with this included.
"sirdude (Kent Mein) 2006/11/06 17:58:28 CET

Modified files:
blender/source nan_definitions.mk
blender/intern/ghost/intern Makefile

Log:
Fix for makefiles so it can find wintab headers in the libdir."

Help appreciated.

Posted: Tue Nov 07, 2006 6:22 am
by ZanQdo
go to \blender\intern\ghost\intern\GHOST_WindowWin32.h and change this lines

Code: Select all

#include <wintab.h>
#define PACKETDATA	(PK_BUTTONS | PK_NORMAL_PRESSURE | PK_CURSOR)
#define PACKETMODE	PK_BUTTONS
#include <pktdef.h>
to this one (or what ever your absolute path to wintablet libs is)

Code: Select all

#include <C:\blender\lib\windows\wintab\INCLUDE\wintab.h>
#define PACKETDATA	(PK_BUTTONS | PK_NORMAL_PRESSURE | PK_CURSOR)
#define PACKETMODE	PK_BUTTONS
#include <C:\blender\lib\windows\wintab\INCLUDE\pktdef.h>

Posted: Tue Nov 07, 2006 12:48 pm
by jesterKing
That is not the way to correct the problem. I've committed a fix for this, so please do a cvs update, and retry.

/Nathan

Posted: Tue Nov 07, 2006 2:23 pm
by adrian
Thanks, compile from todays cvs builds fine now.