I suspect you need only "-DCAPNPC_IMPORT_DIRS=/if21/mp3t/install" On Sep 7, 2015 11:05 AM, "Mateja Putic" <[email protected]> wrote:
> Richard, thank you! That worked, to a point. Now I am getting the error: > > CMake Error at CMakeLists.txt:727 (install): > install FILES given directory "/if21/mp3t/install/lib" to install. > > when I run: > > cmake $NUPIC_CORE/src > -DCAPNPC_IMPORT_DIRS=/if21/mp3t/install/bin:/if21/mp3t/install/include:/if21/mp3t/install/lib > > from $NUPIC_CORE/build/scripts > > I don't understand what the error is. It's simply stating that it was > given the directory "/if21/mp3t/install/lib" to install, and I have > permission to install there, so I don't understand what other problem it > could be. > > Many thanks, > > On Mon, Sep 7, 2015 at 1:13 AM, Richard Crowder <[email protected]> wrote: > >> Hi Mateja, >> >> Cap'n'Proto is discovered using the src/cmake/FindCapnProto.cmake file. >> Inside that text file the header comment mentions variables that it can use >> to discover where capnp is installed. >> >> When you run cmake can you try the following option; >> -DCAPNPC_IMPORT_DIRS=/home/mateja/install >> >> >> https://github.com/numenta/nupic.core/blob/master/src/cmake/FindCapnProto.cmake >> >> >> On Mon, Sep 7, 2015 at 8:57 AM, Mateja Putic <[email protected]> wrote: >> >>> How do I instruct CMake to look for the capnp libraries in a directory >>> other than the default? >>> >>> I am trying to build nupic.core on a machine where I don't have root >>> access. I am following instructions from >>> https://github.com/numenta/nupic.core. Currently nupic.core won't build >>> because CMake can't find capnproto. >>> >>> I have downloaded capnproto from capnproto.org, built it, and installed >>> it in /home/mateja/install >>> >>> What changes can I make to nupic.core/src/CMakeLists.txt to instruct >>> CMake that the capnproto libs are installed in /home/mateja/install? >>> >>> Many thanks, >>> >>> -- >>> Mr. Mateja Putic >>> Ph.D Candidate >>> Department of Electrical and Computer Engineering >>> University of Virginia >>> (703) 303-2099 >>> >> >> > > > -- > Mr. Mateja Putic > Ph.D Candidate > Department of Electrical and Computer Engineering > University of Virginia > (703) 303-2099 >
