Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with lua--imgraph, when installation #8

Open
jiangfeng15 opened this issue Apr 28, 2015 · 1 comment
Open

problems with lua--imgraph, when installation #8

jiangfeng15 opened this issue Apr 28, 2015 · 1 comment

Comments

@jiangfeng15
Copy link

when I install the package on ubuntu 14.04
jyf@jyf-Lenovo:~$ sudo luarocks install imgraph
Installing https://github.com/torch/rocks/master/imgraph-1.0-0.rockspec...
Using https://github.com/torch/rocks/master/imgraph-1.0-0.rockspec... switching to 'build' mode
...............
Note: checking out '38e28ad2acace46f12be5c74ffed2135633d1ee1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

cmake -E make_directory build;
cd build;
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/local/bin/.." -DCMAKE_INSTALL_PREFIX="/usr/local/lib/luarocks/rocks/imgraph/1.0-0";
make

-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Torch7 in /usr/local
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:10 (FIND_PACKAGE)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /tmp/luarocks_imgraph-1.0-0-2887/lua---imgraph

-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_imgraph-1.0-0-2887/lua---imgraph/build/CMakeFiles/CMakeOutput.log".

@codeAC29
Copy link

Try installing latest boost libraries:

sudo apt-get install libboost-all-dev

Look into this link for details:
http://askubuntu.com/questions/449348/why-are-boost-package-libs-installed-to-usr-lib-x86-64-linux-gnu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants