Hi, On 11. Jan 2010, at 17:54, Stephen Furlani wrote:
> Hello, > > I've gone ahead and edited some files to try and fix these issues. After > searching the internet, I found the define __OBJC__ for XCode which I used. [...] > I used > #ifdef __OBJC__ > #define id eqID > #endif > > ...As close to the offending block of code as possible. > > #ifdef __OBJC__ > #undef id > #endif We can also rename the parameter to 'identifier' or 'objectID', whatever fits best in the situation. It shouldn't be in 900 places, since most of them will be re-includes of the same file. If you send me diff of these changes, I'll apply them to trunk. > It goes fine until it gives me a 'config init successful' and then a > 'receiver thread not waiting' and then later a 'config exit 1'. I've bolded > what I think is the source of the error. [...] > 4879 2955579392 > //Users/pebble/Documents/equalizer/XCode/../server/config.cpp:1241 122 > Config init successful > 4879 2953449472 > //Users/pebble/Documents/equalizer/XCode/../lib/client/aglMessagePump.cpp:48 > 125 Receiver thread not waiting? > 4879 2693596960 > //Users/pebble/Documents/equalizer/XCode/../lib/client/config.cpp:790 125 > handle init reply packet dt 1 cmd 22 session id 4138345580 > 4879 2956644352 > //Users/pebble/Documents/equalizer/XCode/../lib/client/channel.cpp:78 126 > Delete eq::Channel @0x109da00 > 4879 2956644352 > //Users/pebble/Documents/equalizer/XCode/../lib/client/aglWindow.cpp:547 > 127 set Carbon window 0 > 4879 2956644352 > //Users/pebble/Documents/equalizer/XCode/../lib/client/aglWindow.cpp:578 > 127 set AGL PBuffer 0 > 4879 2956644352 > //Users/pebble/Documents/equalizer/XCode/../lib/client/aglWindow.cpp:92 134 > Destroyed AGL window and context > 4879 2956644352 > //Users/pebble/Documents/equalizer/XCode/../lib/client/aglPipe.cpp:118 134 > Reset CG displayID > 4879 2956644352 > //Users/pebble/Documents/equalizer/XCode/../lib/client/pipe.cpp:769 135 > Leaving pipe thread > 4879 2956644352 > //Users/pebble/Documents/equalizer/XCode/../lib/base/thread.cpp:221 135 > Exiting thread > 4879 2956111872 > //Users/pebble/Documents/equalizer/XCode/../lib/base/thread.cpp:140 135 > Thread finished with result 0 > 4879 2956111872 > //Users/pebble/Documents/equalizer/XCode/../lib/base/thread.cpp:221 135 > Exiting thread > 4879 2693596960 > //Users/pebble/Documents/equalizer/XCode/../lib/client/config.cpp:774 136 > Handle destroy node packet dt 1 cmd 27 session id 4138345580 > 4879 2693596960 > //Users/pebble/Documents/equalizer/XCode/../lib/client/node.cpp:76 136 > Delete eq::Node @0xa17830 > 4879 2955579392 > //Users/pebble/Documents/equalizer/XCode/../server/config.cpp:1260 136 > config exit result: 1 Apparently the config initialized successfully, but for some reason eqHello exits it immediately. The 'Receiver thread not waiting' is harmless, and config exit result 1 means true, aka. 'successful'. I would set a breakpoint after config->init in eqHello and see why he doesn't enter the main loop. _______________________________________________ eq-dev mailing list [email protected] http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

