Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation problem using Quicktime



I found the matter :

I was defining EVENT_H in one of my include files and it conflicts with a define inside ApplicationServices framework.


Philippe BERNERY <email@hidden> http://dev.openwengo.com


Le 9 déc. 05 à 18:22, Henry Mason a écrit :

Looks like you need to include the IOKit framework too.

-Henry

On Dec 9, 2005, at 12:02 PM, Philippe BERNERY wrote:

Hi,

I am writing a piece of code to manage webcam on MacOS X and I have got this error while I simply included <Quicktime/ Quicktime.h> in WebcamDriver.cpp:

g++ -fno-common -g -Wall -Idebug/libs/webcam-ng/include -Ilibs/ webcam-ng/include -I/System/Library/Frameworks/Quicktime.framework/ Headers -Idebug/libs/global/include -Ilibs/global/include -Idebug/ libs/util/include -Ilibs/util/include -I/opt/local/include -Idebug/ libs/curl/include -Ilibs/curl/include -Idebug/libs/curl/lib -Ilibs/ curl/lib -Idebug/libs/pixertool/include -Ilibs/pixertool/include - Idebug/libs/ffmpeg/libavcodec -Ilibs/ffmpeg/libavcodec -Idebug/ libs/ffmpeg/libavutil -Ilibs/ffmpeg/libavutil -c -o debug/libs/ webcam-ng/src/WebcamDriver.o libs/webcam-ng/src/WebcamDriver.cpp
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:45: error: 'NX_ALPHASHIFTMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:46: error: 'NX_SHIFTMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:47: error: 'NX_CONTROLMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:48: error: 'NX_ALTERNATEMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:49: error: 'NX_COMMANDMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:52: error: 'NX_HELPMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:53: error: 'NX_SECONDARYFNMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:56: error: 'NX_NUMERICPADMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:59: error: 'NX_NONCOALSESCEDMASK' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:79: error: 'NX_NULLEVENT' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:81: error: 'NX_LMOUSEDOWN' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:82: error: 'NX_LMOUSEUP' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:83: error: 'NX_RMOUSEDOWN' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:84: error: 'NX_RMOUSEUP' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:85: error: 'NX_MOUSEMOVED' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:86: error: 'NX_LMOUSEDRAGGED' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:87: error: 'NX_RMOUSEDRAGGED' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:90: error: 'NX_KEYDOWN' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:91: error: 'NX_KEYUP' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:92: error: 'NX_FLAGSCHANGED' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:95: error: 'NX_SCROLLWHEELMOVED' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:96: error: 'NX_TABLETPOINTER' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:97: error: 'NX_TABLETPROXIMITY' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:98: error: 'NX_OMOUSEDOWN' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:99: error: 'NX_OMOUSEUP' was not declared in this scope
/System/Library/Frameworks/ApplicationServices.framework/ Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:100: error: 'NX_OMOUSEDRAGGED' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/ Ink.framework/Headers/Ink.h:676: error: 'NX_TABLET_POINTER_UNKNOWN' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/ Ink.framework/Headers/Ink.h:681: error: 'NX_TABLET_POINTER_PEN' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/ Ink.framework/Headers/Ink.h:686: error: 'NX_TABLET_POINTER_CURSOR' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/ Ink.framework/Headers/Ink.h:691: error: 'NX_TABLET_POINTER_ERASER' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/ Ink.framework/Headers/Ink.h:719: error: 'NX_TABLET_BUTTON_PENTIPMASK' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/ Ink.framework/Headers/Ink.h:724: error: 'NX_TABLET_BUTTON_PENLOWERSIDEMASK' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/ Ink.framework/Headers/Ink.h:729: error: 'NX_TABLET_BUTTON_PENUPPERSIDEMASK' was not declared in this scope
scons: *** [debug/libs/webcam-ng/src/WebcamDriver.o] Error 1
scons: building terminated because of errors.


As you can I am using scons to compile. If anyone has anything to help me, thanks a lot.

Philippe BERNERY <email@hidden>
http://dev.openwengo.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden




_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >Compilation problem using Quicktime (From: Philippe BERNERY <email@hidden>)
 >Re: Compilation problem using Quicktime (From: Henry Mason <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.