So I inherited code written in C++ that uses the Boost library. I could compile (using Code Blocks) and run the code on Linux Ubuntu but when I ported it over to the mac and installed the boost library, I can compile it using code blocks (and specifying the location of the regex libraries) but it won't run.
It just gives me the error:
$ ./BLAH_PD
dyld: Library not loaded: libboost_regex.dylib Referenced from: /Users/spinach/Desktop/B/BLAH/bin/Release/./BLAH_PD Reason: image not found Trace/BPT trap
I'm not sure what to do next but any help would be greatly appreciated.
David