Closed Raulpb49 closed 6 years ago
We don't normally build ELL itself on raspberry Pi zero, because ELL is actually a cross-compiler, you can build "ELL Models to run on raspberry pi" by using "ELL on your PC". but if you really do want to compile ELL on the pi0, you may need to upgrade your GCC compiler to 6.4. It could also be the compiler needs some swap space.
Great ! Thanks for the information. Rgds Rp
On Tue, 10 Jul 2018 at 6:31 AM, Chris Lovett notifications@github.com wrote:
We don't normally build ELL itself on raspberry Pi zero, because ELL is actually a cross-compiler, you can build "ELL Models to run on raspberry pi" by using "ELL on your PC". but if you really do want to compile ELL on the pi0, you may need to upgrade your GCC compiler to 6.4. It could also be the compiler needs some swap space http://raspberrypimaker.com/adding-swap-to-the-raspberrypi/.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/ELL/issues/161#issuecomment-403665752, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab53dHYjVK-PR9K5Cf-uBsFOL-Gd3qekks5uE_zagaJpZM4U96KP .
I tried installing it on raspberry Pi . I followed all the instructions(till SWIG(excluding) Below are the steps I skipped as I think they are mentioned optional.
1.curl -O --location http://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz tar zxvf swig-3.0.12.tar.gz && cd swig-3.0.12 ./configure --without-pcre && make && sudo make install Using ELL in Python
2.conda create -n py36 numpy python=3.6 Next, activate the environment you just created by typing
3.source activate py36
4.conda install -c conda-forge opencv -y
after I build , >>
my build is not getting past 37% After below lines ,it seems to stuck forever.
/usr/include/c++/6/bits/stl_vector.h: In member function 'void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = gnu_cxx::normal_iterator<const double*, std::vector >; = void; _Tp = double; _Alloc = std::allocator]':
/usr/include/c++/6/bits/stl_vector.h:508:9: note: parameter passing for argument of type ' gnu_cxx::normal_iterator<const double, std::vector >' will change in GCC 7.1
assign(_InputIterator first, _InputIterator __last)
^ , std::vector >' will change in GCC 7.1
/usr/include/c++/6/bits/stl_vector.h:509:11: note: parameter passing for argument of type 'gnu_cxx::normal_iterator<const double*, std::vector >' will change in GCC 7.1
{ _M_assign_dispatch( first, last, false_type()); }
^ >' will change in GCC 7.1
/usr/include/c++/6/bits/stl_vector.h:509:11: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const double , std::vector >' will change in GCC 7.1**
~/usr/include/c++/6/bits/stl_vector.h:508:9: note: parameter passing for argument of type 'gnu_cxx::__normal_iterator<const double~~~~~ **/usr/include/c++/6/bits/stl_vector.h:509:11: note: parameter passing for argument of type '__gnu_cxx::normal_iterator<const double, std::vectorWhat have I missed? Is there a binary which I can refer instead of building from the sources?
Many thanks in advance ! Rgds, Rp