Porting Murex to Mac OS X, Part I
Finally I have set out to port Murex (the name of my home-brew cross platform GUI library) to Mac OS X. I still want to stick with GNU make and therefore I have tried to modify the make file to make it work on OS X. Here is the results after a lot of hard work and head scratching.
Also it seems like compiling static library is possible but not-quite-supported in OS X. May be I would abandon the idea of having a static library.
$ make -f Makefile.mac g++ -dynamiclib -framework GLUT -framework OpenGL bin/murex.lib -o bin/murex-glut.lib bin/murex-glut/GLUTEngine.obj bin/murex-glut/GLApplication.obj bin/murex-glut/GLFactory.obj bin/murex-glut/GLMenu.obj bin/murex-glut/GLTimer.obj bin/murex-glut/GLWindow.obj ld: Undefined symbols: __ZN5boost7signals10connectionD1Ev __ZN5boost7signals6detail11signal_baseC2ERKNS_9function2IbNS1_12stored_groupES4_SaINS_13function_baseEEEERKNS_3anyE __ZN5boost7signals6detail11signal_baseD2Ev __ZN5boost7signals6detail14named_slot_map3endEv __ZN5boost7signals6detail14named_slot_map5beginEv __ZN5boost7signals6detail16signal_base_impl12connect_slotERKNS_3anyERKNS1_12stored_groupENS_10shared_ptrINS1_9slot_base6data_tEEENS0_16connect_positionE __ZN5boost7signals6detail17call_notificationC1ERKNS_10shared_ptrINS1_16signal_base_implEEE __ZN5boost7signals6detail17call_notificationD1Ev __ZN5boost7signals6detail9slot_base17create_connectionEv __ZN5boost7signals9trackableD2Ev /usr/bin/libtool: internal link edit command failed make: *** [bin/murex-glut.lib] Error 1
Nice error, isn't it? Next milestone: compiles the required boost library (preferably in Universal Binary) on OS X.
After some struggling I have decided to drop my porting effort and go to EKS rehearsal. I was very happy today, except that Johnny and Kenneth didn't have dinner with us!
0 Comments:
Post a Comment
<< Home