Am 28.02.2006 um 06:14 schrieb Peter Amstutz:

Both the wxWidgets installed by XCode and by Fink seemed to be broken (in different ways) so what I had to do was to download the wxMac 2.6.2 source and compile it myself. I suggest you try that and install it into /usr/local.

Following your advice, I compiled wxMac myself. It took some experimenting to get all
involved parties to work with it, here is what I did:

wxmac:

need OpenGL support for CS, and dynamic libs (static ones result in bus error)
mkdir osx-build
cd osx-build
../configure --with-opengl

CS:

must override broken system wx-config, and tell pkgconfig where to find vos:
export PATH=$HOME/opt/wxmac/osx-build:$PATH
export PKG_CONFIG_PATH=$HOME/opt/vos
configure

vos-browser:

tell vos-browser where everything is, tell dynamic linker where to find vos and wxmac: ./configure --with-wxwidgets=$HOME/opt/wxmac/osx-build --with-crystal= $CRYSTAL --with-vos=$HOME/opt/vos export DYLD_LIBRARY_PATH=$HOME/opt/vos/inplace/lib:$HOME/opt/wxmac/ osx-build/lib
apps/terangreal/wxterangreal

Unfortunately, wxterangreal does not work either. It shows all GUI and has no spinner like plain terangreal, but the GUI is completely unresponsive: No clicks, no resize, not even minimize or quit button work. Also, the world view is just black, assumedly since wxterangreal
does not try to connect to a local vos world.

gdb inspection shows three threads:

3 process 29305 thread 0x4d03 0x9002b888 in semaphore_wait_signal_trap ()
  2 process 29305 thread 0x3603  0x90023400 in recvfrom ()
* 1 process 29305 thread 0xd03  0x9000b1e8 in mach_msg_trap ()

Thread 3 is in VUtil::TaskQueue::getNextTask, so it is probably the queue handler.

Thread 2 involves VIP::SocketProcessorThread::operator(), so it is the idle the network thread.

Thread 1 thus must be the display thread (someone has got to do this, right?)

I am not very good with systems development on the mac yet, but if mac_msg_trap() is what it sounds like, this thread is stuck in some system call, which would explain the
unresponsive GUI. Full stack trace below:

#0  0x9000b1e8 in mach_msg_trap ()
#1  0x9000b13c in mach_msg ()
#2  0x9075d114 in __CFRunLoopRun ()
#3  0x9075ca18 in CFRunLoopRunSpecific ()
#4  0x9318f1e0 in RunCurrentEventLoopInMode ()
#5  0x9318e874 in ReceiveNextEventCommon ()
#6  0x93293dc8 in ReceiveNextEventInMode ()
#7  0x0783939c in wxApp::MacDoOneEvent ()
#8  0x07839484 in wxApp::MainLoop ()
#9  0x02d11d50 in wxEntry ()
#10 0x0000363c in main (argc=2, argv=0x3000006) at wxmain.cc:13


strange cluttered display

Could you explain this a bit more, and/or provide a screenshot?

After playing with it some more, I noticed that the "cluttered" world view is actually correct, a3dldemo just looks a bit different now than what I remember from last time. What confused me was the big box with the "Spartacus" label, which I now guess is the terangreal avatar. Shouldn't this be invisible in my view? Maybe terangreal never got around to adjust my
POV correctly. See attachment for screenshot.

<<attachment: terangreal.jpg>>



I'll keep working on it on my side. I am seriously considering getting a Mac Mini or MacBook Pro to be able to provide better support for OS X.

Hehe, nice to hear this. If I were you I'd go for one of the older Mac Mini still with PowerPC processor, you can get them cheap by now, and its nice to have a different architecture to catch
some weird endianness bugs etc.

Thanks for all the help,
Karsten (kao) 
_______________________________________________
vos-d mailing list
[email protected]
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to