Giter Club home page Giter Club logo

nupic's People

Contributors

akamlani avatar akhilaananthram avatar baroobob avatar breznak avatar chetan51 avatar cogmission avatar csimons avatar danstanton avatar fergalbyrne avatar gilsho avatar hernan-erasmo avatar iandanforth avatar keithcom avatar lithix-src avatar macrintr avatar marionleborgne avatar mihail911 avatar mrcslws avatar numenta-ci avatar oxtopus avatar passiweinberger avatar rcrowder avatar rhyolight avatar saganbolliger avatar scottpurdy avatar subutai avatar tomsilver avatar utensil avatar vitaly-krugl avatar ywcui1990 avatar

Watchers

 avatar  avatar  avatar  avatar

nupic's Issues

Can't build c++11-clang-modernizer branch on OSX 10.9

I'm trying to build the c++11 branch, but am encountering errors:

(My nta related env variables are all set to point to breznak_nupic rather than my actual nupic installation)

I've been attempting ./build.sh:
first, got this error

clang: error: unknown argument: '-falign-loops=16' [-Wunused-command-line-argument-hard-error-in-future]

Exporting ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" didn't fix the problem, nor did switching to g++ instead of clang++.

I also tried adding -Wunused-command-line-argument-hard-error-in-future to the NTA_CXXFLAGS_BASE in build_system/unix/Includes.am, but that also had no effect.

In build_system/unix/Includes.am I removed the -falign-loops=16 flag altogether. This brings us to the next failure:

/Users/vjsinha/nta/breznak_nupic/nta/types/Exception.hpp:93:21: error: no member named 'move' in namespace 'std'
  message_(std::move(message)),

I'm getting about 6 of these: std::move isn't included in libstdc++ as apple provides it. Recommended solutions are to add -std=c++11 -stdlib=libc++ to the CXXFLAGS to force c++ and libc++. (Adding only the -std=c++11 flag doesn't change the error at all) Doing so creates a zillion other errors including, but not limited to:

/Users/vjsinha/nta/breznak_nupic/nta/types/Exception.hpp:184:17: error: implicit     instantiation of undefined template 'std::__1::basic_string<char,
  std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string filename_;
            ^

and

/Users/vjsinha/nta/breznak_nupic/nta/utils/LoggingException.hpp:40:7: error: no matching constructor for initialization of 'nta::Exception'
  Exception(filename, lineno, std::string()), ss_(std::string()),
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vjsinha/nta/breznak_nupic/nta/types/Exception.hpp:86:5: note: candidate constructor not viable: requires 4 arguments, but 3 were provided
Exception(std::string  filename,
^
/Users/vjsinha/nta/breznak_nupic/nta/types/Exception.hpp:70:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1
  argument, but 3 were provided
class Exception : public std::runtime_error
      ^

Any ideas? What system are you building on, @breznak? Can you still get this to build?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.