Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'GeekBind - Useful window handling features' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
GeekBind - Useful window handling features
Authored by: murali1080 on Apr 18, '06 06:07:32PM

Within the GeekBind directory that you downloaded (Volumes/Anaconda/Code/Objective C/GeekBind) create a directory called doc and create an empty doc.texi file inside it. Similarly create an empty TODO file in the GeekBind directory itself. Now try 'Build' in xcode. I am using the latest xcode and it works on PPC. It should work on Intel Macs too.



[ Reply to This | # ]
No it won't work in Intel...yet...
Authored by: dl on Apr 18, '06 06:50:24PM

I get 5 errors all related to PPC Threading and someone will have to figure out what to use under i386 in the injection code. It's probably simple (famous last words ;-) :
/Users/daniello/tmp/GeekBind/src/external/mach_inject.c:102: error: 'ppc_thread_state_t' undeclared (first use in this function)
/Users/daniello/tmp/GeekBind/src/external/mach_inject.c:102: error: parse error before 'remoteThreadState'
/Users/daniello/tmp/GeekBind/src/external/mach_inject.c:107: error: 'remoteThreadState' undeclared (first use in this function)
/Users/daniello/tmp/GeekBind/src/external/mach_inject.c:135: error: 'PPC_THREAD_STATE' undeclared (first use in this function)
/Users/daniello/tmp/GeekBind/src/external/mach_inject.c:136: error: 'PPC_THREAD_STATE_COUNT' undeclared (first use in this function)



[ Reply to This | # ]
GeekBind - Useful window handling features
Authored by: toshoklabs on Apr 18, '06 08:57:58PM

1) you can just remove those missing files from the target

2) to compile for intel or Universal Binary, you need to update the mach_inject code to the latest version which does support Intel architecture, and then you need to set the target to x86 or PPC + x86, and also make sure that you use the 10.4 universal SDK. I have created a UniBin, and will be submitting the patch to sourceforge shortly...



[ Reply to This | # ]