breznak / nupic Goto Github PK
View Code? Open in Web Editor NEWThis project forked from numenta/nupic-legacy
License: GNU Affero General Public License v3.0
This project forked from numenta/nupic-legacy
License: GNU Affero General Public License v3.0
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.