You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
When using CMake to build my project, CMake grabs /usr/bin/c++ to compile my code which is set to gcc 4.8.5. This is not the compiler that I have loaded (gcc/6.3.0). This is the error I see:
-- WARNING: Compilers do not match. In order to compile HPX application it is recommended to use the same compiler as you did for HPX. HPX_CXX_COMPILER=/opt/mn/gcc/6.3.0/bin/c++, CMAKE_CXX_COMPILER=/usr/bin/c++. HPX_CXX_COMPILER_ID=GNU, CMAKE_CXX_COMPILER_ID=GNU. To disable this message set HPX_IGNORE_COMPILER_COMPATIBILITY to On.
-- Using tcmalloc allocator.
CMake Warning at CMakeLists.txt:9 (find_package):
Found package configuration file:
but it set HPX_FOUND to FALSE so package "HPX" is considered to be NOT
FOUND. Reason given by package:
Compilers do not match. In order to compile HPX application it is;
recommended to use the same compiler as you did for HPX.
;HPX_CXX_COMPILER=/opt/mn/gcc/6.3.0/bin/c++,
;CMAKE_CXX_COMPILER=/usr/bin/c++. ;HPX_CXX_COMPILER_ID=GNU,
;CMAKE_CXX_COMPILER_ID=GNU. ;To disable this message set
HPX_IGNORE_COMPILER_COMPATIBILITY to On.
I was able to work around the problem by manually setting the compiler path.
The text was updated successfully, but these errors were encountered:
When using CMake to build my project, CMake grabs /usr/bin/c++ to compile my code which is set to gcc 4.8.5. This is not the compiler that I have loaded (gcc/6.3.0). This is the error I see:
I was able to work around the problem by manually setting the compiler path.
The text was updated successfully, but these errors were encountered: