I’m trying to get an Xcode project to play with Bio++. I can compile just fine in the terminal if I use a Makefile, but it is annoying me that I cannot do the same within Xcode.
I’ve debugged the build process and found that the two compiler flags -D_GLIBCXX_DEBUG=1 and -D_GLIBCXX_DEBUG_PEDANTIC=1 are the sinners.
They are supposed to enable some stronger debugging code with assertions and stuff, I think, but if they are enabled I can compile my program just fine but the linker croaks on me.
It probably is something I should worry about since it could be symptoms of a problem in Bio++ (the code I’m compiling isn’t really doing anything except linking with Bio++), but right now I would be happy to just turn the flags off.
Figuring out how to do that took some time as well, but under the Target Info there is a <multiple values> under Preprocessor Macros and if I deleted that the flags went away.
Whether that is good or bad I don’t know, but at least I can build Bio++ applications in Xcode now.
I should probably try to compile the Bio++ source with an Xcode build process at some point. It is a bit of work to port the Automake file, but if there are some issues that could be brought to light from the debug flags it might be worth it… Anyway, I’m not up for that today.
–
253-274=-21