Closed j-joshua closed 5 years ago
j-joshua
I have pushed an update that should address this. I tested on Linux (Ubuntu 16) and Mac OSX. One challenge is that some of the code examples (most notably the normapp) directly access NORM C++ objects instead of using the API and thus linking fails when the compiler links to the shared library where those objects are protected vs. the static library. With gcc, waf is able to properly dictate the linking, but 'clang' links to shared libraries by default. I was able to resolve that with the wscript forcing linkage to the static library for the examples. However, a number of these examples will link against the shared library so I'm not fond of this 'hack' for 'clang'. I may refine the wscript so that only examples that require the static library are relegated to this 'hack'. Thanks for your feedback.