Until very recently (as in a few hours ago), line 821, cited in the error message you posted, was related to gtest, which would have caused an error if you were passing -DNUPIC_CORE and -DNUPIC_CORE_SOURCE to cmake during the build (for example, #2 in https://github.com/numenta/nupic/wiki/NuPIC's-Dependency-on-nupic.core#user-overrides). We have since fixed that specific bug with the merge of https://github.com/numenta/nupic/pull/1469
Would you mind pulling in the latest master and doing `git clean -fdx` again, as well as delete extensions/core, if it exists and try building again? On Wed, Oct 29, 2014 at 3:12 AM, sarah berenji <[email protected]> wrote: > Hi Matthew, > Thanks, the git problem solved by running "git clean -dfx". Now I have a > new error :/ > > CMake Warning (dev) at CMakeLists.txt:192 (add_library): > Policy CMP0002 is not set: Logical target names must be globally unique. > Run "cmake --help-policy CMP0002" for policy details. Use the > cmake_policy > command to set the policy and suppress this warning. > Call Stack (most recent call first): > CMakeLists.txt:821 (generate_static_library) > This warning is for project developers. Use -Wno-dev to suppress it. > > -- > -- Configuring incomplete, errors occurred! > Unable to generate build scripts! > > > I also added -Wno-dev option but still the same error. > > Thanks, > Sarah > > > On Sun, Oct 26, 2014 at 6:09 PM, Matthew Taylor <[email protected]> wrote: > >> Sarah, >> >> A couple of things you should test: >> >> - do you have an internet connection? >> - is your checkout clean? (do "git clean -dfx") >> >> --------- >> Matt Taylor >> OS Community Flag-Bearer >> Numenta >> >> >> On Sun, Oct 26, 2014 at 3:21 AM, Sarah Berenji <[email protected]> >> wrote: >> > Hi, >> > I'm trying to install Nupic on our cluster and I faced several errors. >> > Platform: CentOS6, cmake/2.8.12.1, python/2.7.8, gcc/4.8.1, >> binutils/2.24, >> > apr/1.4.8, apr-util/1.5.2 >> > >> > source nupic-linux64/bin/activate >> > >> > python setup.py install --prefix=<INSTALLATIOM_PATH> >> > >> --install-option='--cmake_options="-DPYTHON_LIBRARY=<INSTALLATIOM_PATH>/python/2.7.8/ >> libpython2.7.so" >> > -DPYTHON_INCLUDE="<INSTALLATIOM_PATH>/python/2.7.8/include"' >> > >> > >> > I have the following error: >> > >> > fatal: reference is not a tree: 07bdf1205ba73d6d5dbed932df57f15d096433b7 >> > CMake Error at CMakeLists.txt:280 (message): >> > Unable to checkout 07bdf1205ba73d6d5dbed932df57f15d096433b7 in >> > /afs/pdc.kth.se/pdc/vol/nupic/20141009/src/nupic/extensions/core >> > Call Stack (most recent call first): >> > CMakeLists.txt:798 (generate_submodule_library) >> > >> > >> > -- Configuring incomplete, errors occurred! >> > Unable to generate build scripts! >> > >> > Which apparently is related to git. What should I do now? >> > >> > Regards, >> > Sarah >> > -- >> > >> > Researcher at PDC Lab. >> > KTH Royal Institute of Technology >> >> > > >
