compile error with cvs scons/ming

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
adrian
Posts: 21
Joined: Fri Oct 18, 2002 1:31 pm

compile error with cvs scons/ming

Post 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.

ZanQdo
Posts: 0
Joined: Sun Apr 11, 2004 4:57 am

Post 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>
:-) Hosting for your test builds:
GraphicAll.org

jesterKing
Site Admin
Posts: 207
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

Post 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

adrian
Posts: 21
Joined: Fri Oct 18, 2002 1:31 pm

Post by adrian »

Thanks, compile from todays cvs builds fine now.

Post Reply