I precompiled a simple command line program that used Poco C ++ (by the way, I like it). The program works fine for several months.
Several things have changed on my computer, because now when I run the program, I get the following error.
dyld: Symbol not found: __ZN4Poco4Util11Application12handleOptionERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEESA_
Referenced from: /Users/me/bin/sqlmerge
Expected in: /usr/local/opt/poco/lib/libPocoUtil.16.dylib
in /Users/me/bin/sqlmerge
Can someone tell me why this is happening? I compiled Poco 1.4.6 and worked with Poco 1.4.6, although for some reason Poco was not on my computer and I had to reinstall using brew install poco(I obviously do this on a Mac).
EDIT . I am not sure about this reason, but reinstalling with the option turned on --c++11fixes the problem. For instance:.
brew install poco
Perhaps the C ++ name change has changed a bit from older versions of the C ++ standard to C ++ 11?
source
share