Marcos,

You need to make sure that you pass the correct path to the nupic code base to 
the cmake command.  If you clone the nupic repo to ~/nupic, then you would 
usually create the ~/nupic/build_system directory, cd into ~/nupic/build_system 
and then issue the 'cmake ..' command to generate the makefile.  Once that has 
completed, you can issue the 'make' (or 'make -j3') command to build the 
project.

Matt

On Apr 2, 2014, at 1:02 PM, Marcos Romero <[email protected]> wrote:

> ok, first i have to install Cmake, after when i run "cmake ../.."
> 
> marcos@ubuntu:~/builds/scripts$ cmake ../..
> CMake Error: The source directory "/home/marcos" does not appear to contain 
> CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.
> 
> The path of "CMakeLists.txt" is $NUPIC, if i try this 
> 
> marcos@ubuntu:~/builds/scripts$ cmake ../../nupic
> CMake Error at CMakeLists.txt:181 (message):
>   $NTA environment variable cannot be the same as the $NUPIC environment
>   variable!
> 
> 
> -- Configuring incomplete, errors occurred!
> 
> 
> 2014-04-02 20:22 GMT+02:00 Marcos Romero <[email protected]>:
> 
> Yea, i use the lastest version (cloned this morning). Now i´m installing 
> ubuntu to try again and soon as i see the error i show you. Another thing is 
> that there are a simple minspritn:
> 
> mkdir -p builds/scripts
> cd build/scripts
> 
> builds or build, missing the letter "s" i think.
> 
> 
> 2014-04-02 19:50 GMT+02:00 Matthew Taylor <[email protected]>:
> 
> Ok, what are the errors you see? Also, are you certain you have the latest 
> code?
> 
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
> 
> 
> On Wed, Apr 2, 2014 at 10:37 AM, Marcos Romero <[email protected]> wrote:
> just today i'm trying to install with this new instructions and i have 
> problems to build with the command "cmake ../..". I don´t know much of linux 
> but i think the problem is with the "CMakeLists.txt" path.
> 
> 
> 2014-04-02 19:26 GMT+02:00 Matthew Taylor <[email protected]>:
> Can someone pull the latest nupic and help me test and update this doc?
> 
> https://github.com/numenta/nupic/wiki/Installing-NuPIC-on-Ubuntu
> 
> I have Ubuntu on a VM, but I don't have time to test it out today. Someone is 
> trying to get NuPIC installed, but the instructions need to be updated since 
> we've made build changes. 
> 
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
> 
> _______________________________________________
> 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
> 
> 
> 
> _______________________________________________
> 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

_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to