hi
I ve download Psychtoolbox. I would like to add a custom getTablet
function in the project. I work on windows and i use matlab R2006b. I
try to build the projet with the "makeit.m" file in matlab which i've
modified :
function makeit2
dos('copy
D:\psych\osxptb\trunk\PsychSourceGL\Source\Common\Base\PsychScriptingGlue.cc
D:\psych\osxptb\trunk\PsychSourceGL\Source\Common\Base\PsychScriptingGlue.c');
mex -v -outdir
D:\psych\osxptb\trunk\PsychSourceGL\Projects\Windows\build\ -output
Screen -IC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Include
-LC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Lib
-IC:\Program\QuickTimeSDK\CIncludes
-LC:\Program\QuickTimeSDK\Libraries -ICommon\Base -ICommon\Screen
-IWindows\Base -IWindows\Screen Windows\Screen\*.c Windows\Base\*.c
Common\Base\*.c Common\Screen\*.c user32.lib gdi32.lib advapi32.lib
glu32.lib opengl32.lib qtmlClient.lib ddraw.lib
dos('copy
D:\psych\osxptb\trunk\PsychSourceGL\Projects\Windows\build\Screen.dll
D:\psych\osxptb\trunk\Psychtoolbox\PsychBasic\');
dos('copy
D:\psych\osxptb\trunk\PsychSourceGL\Projects\Windows\build\Screen.dll
C:\Program Files\MATLAB\R2006b\toolbox\Psychtoolbox\PsychBasic\');
delete('D:\psych\osxptb\trunk\PsychSourceGL\Source\Common\Base\PsychScriptingGlue.c');
return;
I've installed QuickTime 7.1 SDK for Windows. but i've got an error :
--> "cl -IC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Include
-IC:\Program\QuickTimeSDK\CIncludes -ICommon\Base -ICommon\Screen
-IWindows\Base -IWindows\Screen -c -Zp8 -G5 -GR -W3 -DMATLAB_MEX_FILE
-nologo
/FoC:\DOCUME~1\ANDREI~1\LOCALS~1\Temp\mex_6A509BAA-D86C-40E6-73A5-1A0AFF494E2E\PsychAlphaBlending.obj
-IC:\PROGRA~1\MATLAB\R2006b\extern\include /MD -O2 -Oy- -DNDEBUG
-DMX_COMPAT_32 Windows\Screen\PsychAlphaBlending.c"
PsychAlphaBlending.c
C:\Program\QuickTimeSDK\CIncludes\MacTypes.h(278) : error C2059:
syntax error : '('
C:\Program\QuickTimeSDK\CIncludes\GNUCompatibility\stdbool.h(16) :
error C2371: 'bool' : redefinition; different basic types
c:\Program Files\MATLAB\R2006b\extern\include\tmwtypes.h(698)
: see declaration of 'bool'
C:\Program\QuickTimeSDK\CIncludes\GNUCompatibility\stdbool.h(19) :
warning C4005: 'false' : macro redefinition
c:\Program Files\MATLAB\R2006b\extern\include\tmwtypes.h(701)
: see previous definition of 'false'
C:\Program\QuickTimeSDK\CIncludes\GNUCompatibility\stdbool.h(20) :
warning C4005: 'true' : macro redefinition
c:\Program Files\MATLAB\R2006b\extern\include\tmwtypes.h(704)
: see previous definition of 'true'
C:\Program\QuickTimeSDK\CIncludes\CarbonEventsCore.h(185) : error
C2065: 'false' : undeclared identifier
C:\Program\QuickTimeSDK\CIncludes\CarbonEventsCore.h(185) : error
C2057: expected constant expression
C:\Program\QuickTimeSDK\CIncludes\CarbonEventsCore.h(187) : error
C2065: 'true' : undeclared identifier
C:\Program\QuickTimeSDK\CIncludes\CarbonEventsCore.h(187) : error
C2057: expected constant expression
C:\Program\QuickTimeSDK\CIncludes\DriverServices.h(1263) : error
C2057: expected constant expression
C:\Program\QuickTimeSDK\CIncludes\DriverServices.h(1265) : error
C2057: expected constant expression
C:\Program\QuickTimeSDK\CIncludes\Folders.h(67) : error C2057:
expected constant expression
C:\Program\QuickTimeSDK\CIncludes\Folders.h(69) : error C2057:
expected constant expression
C:\Program\QuickTimeSDK\CIncludes\MacWindows.h(2221) : error C2057:
expected constant expression
C:\Program\QuickTimeSDK\CIncludes\MacWindows.h(2228) : error C2057:
expected constant expression
d:\psych\osxptb\stable\PsychSourceGL\Source\Common\Base\PsychConstants.h(168)
: warning C4005: 'mxCreateLogicalMatrix' : macro redefinition
c:\Program Files\MATLAB\R2006b\extern\include\matrix.h(2072) :
see previous definition of 'mxCreateLogicalMatrix'
C:\PROGRA~1\MATLAB\R2006B\BIN\MEX.PL: Error: Compile of
'Windows\Screen\PsychAlphaBlending.c' failed.
??? Error using ==> mex
Unable to complete successfully.
Error in ==> makeit2 at 3
mex -v -outdir
D:\psych\osxptb\trunk\PsychSourceGL\Projects\Windows\build\ -output
Screen -IC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Include
-LC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Lib -IC:\Progra
can anyone help me?
thanks
delphine
I ve download Psychtoolbox. I would like to add a custom getTablet
function in the project. I work on windows and i use matlab R2006b. I
try to build the projet with the "makeit.m" file in matlab which i've
modified :
function makeit2
dos('copy
D:\psych\osxptb\trunk\PsychSourceGL\Source\Common\Base\PsychScriptingGlue.cc
D:\psych\osxptb\trunk\PsychSourceGL\Source\Common\Base\PsychScriptingGlue.c');
mex -v -outdir
D:\psych\osxptb\trunk\PsychSourceGL\Projects\Windows\build\ -output
Screen -IC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Include
-LC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Lib
-IC:\Program\QuickTimeSDK\CIncludes
-LC:\Program\QuickTimeSDK\Libraries -ICommon\Base -ICommon\Screen
-IWindows\Base -IWindows\Screen Windows\Screen\*.c Windows\Base\*.c
Common\Base\*.c Common\Screen\*.c user32.lib gdi32.lib advapi32.lib
glu32.lib opengl32.lib qtmlClient.lib ddraw.lib
dos('copy
D:\psych\osxptb\trunk\PsychSourceGL\Projects\Windows\build\Screen.dll
D:\psych\osxptb\trunk\Psychtoolbox\PsychBasic\');
dos('copy
D:\psych\osxptb\trunk\PsychSourceGL\Projects\Windows\build\Screen.dll
C:\Program Files\MATLAB\R2006b\toolbox\Psychtoolbox\PsychBasic\');
delete('D:\psych\osxptb\trunk\PsychSourceGL\Source\Common\Base\PsychScriptingGlue.c');
return;
I've installed QuickTime 7.1 SDK for Windows. but i've got an error :
--> "cl -IC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Include
-IC:\Program\QuickTimeSDK\CIncludes -ICommon\Base -ICommon\Screen
-IWindows\Base -IWindows\Screen -c -Zp8 -G5 -GR -W3 -DMATLAB_MEX_FILE
-nologo
/FoC:\DOCUME~1\ANDREI~1\LOCALS~1\Temp\mex_6A509BAA-D86C-40E6-73A5-1A0AFF494E2E\PsychAlphaBlending.obj
-IC:\PROGRA~1\MATLAB\R2006b\extern\include /MD -O2 -Oy- -DNDEBUG
-DMX_COMPAT_32 Windows\Screen\PsychAlphaBlending.c"
PsychAlphaBlending.c
C:\Program\QuickTimeSDK\CIncludes\MacTypes.h(278) : error C2059:
syntax error : '('
C:\Program\QuickTimeSDK\CIncludes\GNUCompatibility\stdbool.h(16) :
error C2371: 'bool' : redefinition; different basic types
c:\Program Files\MATLAB\R2006b\extern\include\tmwtypes.h(698)
: see declaration of 'bool'
C:\Program\QuickTimeSDK\CIncludes\GNUCompatibility\stdbool.h(19) :
warning C4005: 'false' : macro redefinition
c:\Program Files\MATLAB\R2006b\extern\include\tmwtypes.h(701)
: see previous definition of 'false'
C:\Program\QuickTimeSDK\CIncludes\GNUCompatibility\stdbool.h(20) :
warning C4005: 'true' : macro redefinition
c:\Program Files\MATLAB\R2006b\extern\include\tmwtypes.h(704)
: see previous definition of 'true'
C:\Program\QuickTimeSDK\CIncludes\CarbonEventsCore.h(185) : error
C2065: 'false' : undeclared identifier
C:\Program\QuickTimeSDK\CIncludes\CarbonEventsCore.h(185) : error
C2057: expected constant expression
C:\Program\QuickTimeSDK\CIncludes\CarbonEventsCore.h(187) : error
C2065: 'true' : undeclared identifier
C:\Program\QuickTimeSDK\CIncludes\CarbonEventsCore.h(187) : error
C2057: expected constant expression
C:\Program\QuickTimeSDK\CIncludes\DriverServices.h(1263) : error
C2057: expected constant expression
C:\Program\QuickTimeSDK\CIncludes\DriverServices.h(1265) : error
C2057: expected constant expression
C:\Program\QuickTimeSDK\CIncludes\Folders.h(67) : error C2057:
expected constant expression
C:\Program\QuickTimeSDK\CIncludes\Folders.h(69) : error C2057:
expected constant expression
C:\Program\QuickTimeSDK\CIncludes\MacWindows.h(2221) : error C2057:
expected constant expression
C:\Program\QuickTimeSDK\CIncludes\MacWindows.h(2228) : error C2057:
expected constant expression
d:\psych\osxptb\stable\PsychSourceGL\Source\Common\Base\PsychConstants.h(168)
: warning C4005: 'mxCreateLogicalMatrix' : macro redefinition
c:\Program Files\MATLAB\R2006b\extern\include\matrix.h(2072) :
see previous definition of 'mxCreateLogicalMatrix'
C:\PROGRA~1\MATLAB\R2006B\BIN\MEX.PL: Error: Compile of
'Windows\Screen\PsychAlphaBlending.c' failed.
??? Error using ==> mex
Unable to complete successfully.
Error in ==> makeit2 at 3
mex -v -outdir
D:\psych\osxptb\trunk\PsychSourceGL\Projects\Windows\build\ -output
Screen -IC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Include
-LC:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\Lib -IC:\Progra
can anyone help me?
thanks
delphine