Look at the second error message: It looks for Boost includes /Users/Niraj/src/boost_1_42_0 since you set the Boost_INCLUDE_DIR variable to that path. You must have played a lot with settings and now have a messed up CMakeCache.txt file/ The best solution might be to remove the build directory and start a clean configuration, or at least remove all the Boost settings and set only Boost_ROOT_DIR
On 26 Mar 2014, at 23:12, Niraj Ghimire niraj.ghimire@gmail.com wrote:
The output message I can see on CMake is as follows. I have also attached the CMakeCache.txt file.
CMake Error: Could not open file for write in copy operation /CMakeSystem.cmake.tmp CMake Error: : System Error: Permission denied CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:182 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): CMakeLists.txt:110 (include)
Build type: Release ALPS version: 2.1.1 Looking for Boost Source CMake Error at config/FindBoostSrc.cmake:85 (file): file Internal CMake error when trying to open file: C:/Users/Niraj/src/boost_1_42_0/boost/version.hpp for reading. Call Stack (most recent call first): config/FindBoostForALPS.cmake:61 (find_package) CMakeLists.txt:248 (find_package)