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 >
