hi,
...I've been trying to make an OSX port of GEM using Project Builder, which is basically an IDE built around using GCC and GDB...unfortunately, I'm having problems with symbol exports.
...I followed the project builder documentation and made a text file with all of the symbols that I need exported (I think), then added that to the project and did a clean recompile...unfortunately projectbuilder spits this out after some warnings (mostly unused variables, but also alot of "shadow declarations", which I'm unfamiliar with):
/usr/bin/jam -d1 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=2.95.2 _GCC3_IS_IN_OFFICIAL_LOCATION=YES BUILD_STYLE=Development CPP_HEADERMAP_FILE=/Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build/gem_darwin.build/Gem_d_w-oPart.build/Gem_darwin.hmap SRCROOT=/Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin OBJROOT=/Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build SYMROOT=/Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build DSTROOT=/tmp/gem_darwin.dst ...updating 8 target(s)... MasterObjectFile.Combine /Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build/gem_darwin.build/Gem_d_w-oPart.build/Objects-normal/ProjectBuilderMasterObjectFile.o MasterObjectFile.EditExports /Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build/gem_darwin.build/Gem_d_w-oPart.build/Objects-normal/ProjectBuilderMasterObjectFile.o /usr/bin/nmedit: symbols names listed in: symbols.exp not in: /Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build/gem_darwin.build/Gem_d_w-oPart.build/Objects-normal/ProjectBuilderMasterObjectFile.o atom_getfloat atom_getfloatarg atom_getint atom_getsymbol atom_string canvas_getcurrent canvas_makefilename class_addbang class_addcreator class_addlist class_addmethod class_addsymbol class_doaddfloat class_new class_sethelpsymbol clock_delay clock_free clock_getsystime clock_gettimesince clock_new clock_unset cosf dsp_add error floatinlet_new freebytes garray_class garray_getfloatarray garray_redraw gensym getbytes inlet_free inlet_new model_setup multimodel_setup nullfn outlet_anything outlet_bang outlet_float outlet_free outlet_list outlet_new outlet_symbol pd_findbyclass pd_new post resizebytes s_ s_bang s_float s_list s_signal sinf
/usr/bin/nmedit -s "symbols.exp" "/Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build/gem_darwin.build/Gem_d_w-oPart.build/Objects-normal/ProjectBuilderMasterObjectFile.o" -o "/Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build/gem_darwin.build/Gem_d_w-oPart.build/Objects-normal/ProjectBuilderMasterObjectFile.o"
...failed MasterObjectFile.EditExports /Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build/gem_darwin.build/Gem_d_w-oPart.build/Objects-normal/ProjectBuilderMasterObjectFile.o ... ...removing /Users/tigital/Desktop/gem-0.87/src/PBprojects/gem_darwin/build/gem_darwin.build/Gem_d_w-oPart.build/Objects-normal/ProjectBuilderMasterObjectFile.o
How do I fix this? These symbols are the ones that were spit out before I added the "symbols.exp" file...btw, here are the flags I'm using: is anything missing?
OTHER_LDFLAGS= -bundle -undefined suppress -flat_namespace WARNING_CFLAGS= -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -Wno-four-char-constants -Wno-unknown-pragmas
I'm assuming that the frameworks and stuff are automatically linked by virtue of the IDE...
Any Ideas?
tanx, jamie