Hi Mark, With the offending code in LoggingException.hpp commented out, run_tests.sh passes for me with the following: ============================= 618 passed, 10 skipped in 121.98 seconds =============================
Then I grabbed your code changes from PR #302 and did a clean build. When I try to run run_tests.sh again I get the following error: _________________ ERROR collecting tests/unit/py2/nupic/algorithms/cells4_test.py __________________ tests/unit/py2/nupic/algorithms/cells4_test.py:31: in <module> > from nupic.bindings.math import Random ../nta/eng/lib/python2.7/site-packages/nupic/bindings/math.py:6: in <module> > import _math E ImportError: dlopen(/Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/bindings/_math.so, 2): Symbol not found: __ZN3nta16LoggingExceptionlsESt6vectorIjSaIjEE E Referenced from: /Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/bindings/_math.so E Expected in: flat namespace E in /Users/keith/Development/nta/eng/lib/python2.7/site-packages/nupic/bindings/_math.so So I don't think that adding the vector include and '<<' definition is working correctly. There it still something wrong with the namespace and templates. Thanks, Matt On Oct 26, 2013, at 5:11 AM, Marek Otahal <[email protected]> wrote: > Hi Matt, > please try with code from PR #302, also run run_tests.sh, mine fail on > py.CLARegion test.. > > > On Sat, Oct 26, 2013 at 5:03 AM, Matt Keith <[email protected]> wrote: > I just updated my MBP to Mavericks 10.9 and Xcode to 5.0.1. I was able to > get the code to compile by commenting out the use of the '<<' operator on > line 61 of nta/utils/LoggingException.hpp and adding a symlink to the vecLib > headers in my nupic directory with the following command: > ln -s > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/Headers > vecLib > > I also had to add a symlink for X11 to /usr/local with this command: > ln -s > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/X11 > /usr/local/include/X11 > > After these changes, running ./cleanbuild.sh completes successfully. The > htmtest passes all tests and I can run the hotgym.py example fine, but I get > the following errors in test_everything: > /Users/keith/Development/nupic-->$NTA/bin/testeverything > ******************************************************************* > * Numenta Unit Test summary > * > * Total categories = 41 > * Total tests = 2240 > * Total passed = 2237 > * Total disabled = 0 > * Total failed = 3 > FAILED: NetworkTest > FAILED: YAMLUtilsTest > * Total critical failures = 0 > * Success rate = 99.8661 > ******************************************************************* > > I am running Python 2.7.5, building with clang-500.2.79 and have the latest > code from github as of tonight. Any ideas on what is causing the YAML errors > or how I can debug it? > > Thanks, > > Matt > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > > > > -- > Marek Otahal :o) > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
_______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
