Mike, greetings --
Michael Muratet
if (boost::regex_match(edit.c_str(), matches, eparse)) {
As an aside, is 'edit' a std::string? regex_match should be able to deal with that directly, no need for c_str().
It links but will not load:
Macintosh-8:~/Documents/workspace/CrossMapper mmuratet$ ./CrossMapper dyld: Library not loaded: libboost_regex-xgcc40-mt-1_39.dylib Referenced from: /Users/mmuratet/Documents/workspace/CrossMapper/./ CrossMapper Reason: image not found Trace/BPT trap Macintosh-8:~/Documents/workspace/CrossMapper mmuratet$
I've been chasing this for several hours and can't get anywhere. Can anyone offer any suggestions?
Is /lib in your runtime library search path? On linux, that's LD_LIBRARY_PATH. Looks like it's DYLD_LIBRARY_PATH on OSX. You might also be able to use rpath in the link step, where the link stores the path to the library as found at link time, instead of having dyld search for it at runtime. I think you want: -Wl,-rpath On the g++ command line. Good luck! Tony