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

Problem Building github version of HPX #743

Closed
jmellorcrummey opened this issue Mar 21, 2013 · 1 comment
Closed

Problem Building github version of HPX #743

jmellorcrummey opened this issue Mar 21, 2013 · 1 comment

Comments

@jmellorcrummey
Copy link

I am a cmake novice. I ran into a problem with cake 2.6, so I downloaded and built my own cmake 2.8. I run into the same problem trying to configure HPX.

In my hpx directory, I created a subdirectory BUILD. From within it, I ran the cmake command shown a few lines below. It didn't like the following:

CMake Error at components/CMakeLists.txt:20 (add_hpx_pseudo_target):
Unknown CMake command "add_hpx_pseudo_target".

[johnmc@les BUILD]$ pwd
/home/johnmc/develop/HPX/hpx-git/BUILD
[johnmc@les BUILD]$ ~/pkgs/cmake-2.8/bin/cmake -DBOOST_ROOT=/projects/pkgs/boost_1_47_0 ../src
-- The C compiler identification is GNU 4.1.2
-- The CXX compiler identification is GNU 4.1.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
CMake Error at components/CMakeLists.txt:20 (add_hpx_pseudo_target):
Unknown CMake command "add_hpx_pseudo_target".

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

@ghost ghost assigned hkaiser Mar 21, 2013
@hkaiser
Copy link
Member

hkaiser commented Mar 21, 2013

Please run cmake as:

~/pkgs/cmake-2.8/bin/cmake -DBOOST_ROOT=/projects/pkgs/boost_1_47_0 ..

(i.e. point it to the cmake file in the HPX root directory instead.

@hkaiser hkaiser closed this as completed Mar 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants