-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X 10.10 compiling issues #98
Comments
I have been able to get rid of the first two errors by forcing configure to change architecture, but I am still having trouble with the undeclared identifier. So far i have been using this to create the makefile I have tried to build from master too, but i still get undeclared identifier. edit: |
wxMac/wxWidgets-3 was not supported yet. |
Hi
I am having trouble compiling wxMEdit 2.9.9 on OS X 10.10, using wxWidgets 3.0.2 I have been able to get so far.. but atm. I am getting 'Processes.h' file not found.
If i am correct in assuming that is it looking for this header file?
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
HIServices.framework/Versions/A/Headers/Processes.h
if so, then I get these 2 errors and 3 warnings.
src/mad_utils.cpp:199:32: warning: implicit conversion of NULL constant to
'UInt32' (aka 'unsigned int') [-Wnull-conversion]
procno.highLongOfPSN = NULL ;
~ ^~~~
0
src/mad_utils.cpp:203:21: error: no member named 'processAppSpec' in
'ProcessInfoRec'; did you mean 'processAppRef'?
processinfo.processAppSpec = &fsSpec;
^~~~~~~~~~~~~~
processAppRef
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:176:23: note:
'processAppRef' declared here
FSRefPtr processAppRef;
^
src/mad_utils.cpp:203:36: error: assigning to 'FSRefPtr' (aka 'FSRef *') from
incompatible type 'FSSpec *'
processinfo.processAppSpec = &fsSpec;
^ ~~~~~~~
src/mad_utils.cpp:205:9: warning: 'GetProcessInformation' is deprecated: first
deprecated in OS X 10.9 [-Wdeprecated-declarations]
GetProcessInformation( &procno , &processinfo ) ;
^
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:513:1: note:
'GetProcessInformation' has been explicitly marked deprecated here
GetProcessInformation(
^
src/mad_utils.cpp:206:16: error: use of undeclared identifier
'wxMacFSSpec2MacFilename'
path = wxMacFSSpec2MacFilename(&fsSpec);
^
2 warnings and 3 errors generated.
It seems to be relate to my OS being 64 Bit and the function processAppSpec only being available on 32 bit.
I would appreciate some help
The text was updated successfully, but these errors were encountered: