Thanks. I think I figured out my trouble. Or at least one trouble. Our system has a root set of libraries used to install system patches from the vendor. They are very old but consistent with model of supercomputer. As software maintainers, we have multiple versions of compilers in modules. These can be in the front of the path, ex: /N/soft/rhel6/gcc/5.3.0/bin:/usr/bin However, the package is jumping on the /ust/bin. How do I tell it to do look where I would like? Somehow multiple loading of the cmake module got it to look at the newer version, but that has not helped with the compiler. Below may help. Thanks for looking at this. Ray
[rsheppar@h1 rspm] which g++
/N/soft/rhel6/gcc/5.3.0/bin/g++
[rsheppar@h1 rspm] export CXX=/N/soft/rhel6/gcc/5.3.0/bin/g++
[rsheppar@h1 rspm] export CPP=/N/soft/rhel6/gcc/5.3.0/bin/g++
[rsheppar@h1 rspm] cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DIR=/N/soft/rhel6/nonmem/rstudio/1.1.463/release -DCMAKE_INSTALL_PREFIX=/N/soft/rhel6/nonmem/rstudio/1.1.463/release
CMake Error at src/cpp/CMakeLists.txt:57 (message):
The compiler /usr/bin/c++ has no C++11 support. Please use a different C++
compiler.
-- Configuring incomplete, errors occurred!
See also "/N/soft/rhel6/nonmem/rstudio/1.1.463/rstudio/rspm/CMakeFiles/CMakeOutput.log".
See also "/N/soft/rhel6/nonmem/rstudio/1.1.463/rstudio/rspm/CMakeFiles/CMakeError.log".