I got an error when installing MiXeR using the third method.
I'd like to ask what I should do.
[root@localhost build]# /home/huawei/xb/Du_Qing/MIXER/cmake-3.30.4/bin/cmake .. -DBOOST_ROOT=$/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0 && make bgmg -j16
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Build type: Release
-- C++ compiler: GNU
-- Found OpenMP_C: -fopenmp (found version "3.1")
-- Found OpenMP_CXX: -fopenmp (found version "3.1")
CMake Deprecation Warning at zlib/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Build type: Release
-- C++ compiler: GNU
-- Found OpenMP_C: -fopenmp (found version "3.1")
-- Found OpenMP_CXX: -fopenmp (found version "3.1")
CMake Error at zlib/CMakeLists.txt:49 (add_subdirectory):
add_subdirectory given source "zlib" which is not an existing directory.
CMAKE_C_FLAGS is -fPIC -march=native -mfpmath=sse -ggdb -fopenmp -fPIC -march=native -mfpmath=sse -ggdb -fopenmp
CMAKE_C_FLAGS_DEBUG is -g -O0 -O0
CMAKE_C_FLAGS_RELEASE is -O3 -DNDEBUG
CMAKE_CXX_FLAGS is -std=c++11 -fPIC -march=native -mfpmath=sse -ggdb -fopenmp -std=c++11 -fPIC -march=native -mfpmath=sse -ggdb -fopenmp
CMAKE_CXX_FLAGS_DEBUG is -g -O0 -O0
CMAKE_CXX_FLAGS_RELEASE is -O3 -DNDEBUG
CMake Warning (dev) at zlib/CMakeLists.txt:59 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /home/huawei/xb/Du_Qing/MIXER/boost_1_69_0 (found version "1.69.0") found components: program_options filesystem system date_time
-- Boost_LIBRARIES: /home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_program_options.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_filesystem.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_system.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_date_time.so
CMAKE_C_FLAGS is -fPIC -march=native -mfpmath=sse -ggdb -fopenmp
CMAKE_C_FLAGS_DEBUG is -g -O0
CMAKE_C_FLAGS_RELEASE is -O3 -DNDEBUG
CMAKE_CXX_FLAGS is -std=c++11 -fPIC -march=native -mfpmath=sse -ggdb -fopenmp
CMAKE_CXX_FLAGS_DEBUG is -g -O0
CMAKE_CXX_FLAGS_RELEASE is -O3 -DNDEBUG
CMake Warning (dev) at CMakeLists.txt:59 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Boost_LIBRARIES: /home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_program_options.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_filesystem.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_system.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_date_time.so
CMake Error at CMakeLists.txt:100 (add_library):
add_library cannot create target "bgmg-static" because another target with
the same name already exists. The existing target is a static library
created in source directory "/home/huawei/xb/Du_Qing/MIXER/mixer/src/zlib".
See documentation for policy CMP0002 for more details.
CMake Error at CMakeLists.txt:109 (add_library):
add_library cannot create target "bgmg" because another target with the
same name already exists. The existing target is a shared library created
in source directory "/home/huawei/xb/Du_Qing/MIXER/mixer/src/zlib". See
documentation for policy CMP0002 for more details.
CMake Error at CMakeLists.txt:110 (target_link_libraries):
Attempt to add link library "bgmg-static" to target "bgmg" which is not
built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
CMake Error at CMakeLists.txt:125 (add_executable):
add_executable cannot create target "bgmg-test" because another target with
the same name already exists. The existing target is an executable created
in source directory "/home/huawei/xb/Du_Qing/MIXER/mixer/src/zlib". See
documentation for policy CMP0002 for more details.
CMake Error at CMakeLists.txt:126 (target_link_libraries):
Attempt to add link library "bgmg-static" to target "bgmg-test" which is
not built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
Hi,
I got an error when installing MiXeR using the third method.
I'd like to ask what I should do.
[root@localhost build]# /home/huawei/xb/Du_Qing/MIXER/cmake-3.30.4/bin/cmake .. -DBOOST_ROOT=$/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0 && make bgmg -j16 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Build type: Release -- C++ compiler: GNU -- Found OpenMP_C: -fopenmp (found version "3.1") -- Found OpenMP_CXX: -fopenmp (found version "3.1") CMake Deprecation Warning at zlib/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Build type: Release -- C++ compiler: GNU -- Found OpenMP_C: -fopenmp (found version "3.1") -- Found OpenMP_CXX: -fopenmp (found version "3.1") CMake Error at zlib/CMakeLists.txt:49 (add_subdirectory): add_subdirectory given source "zlib" which is not an existing directory.
CMAKE_C_FLAGS is -fPIC -march=native -mfpmath=sse -ggdb -fopenmp -fPIC -march=native -mfpmath=sse -ggdb -fopenmp CMAKE_C_FLAGS_DEBUG is -g -O0 -O0 CMAKE_C_FLAGS_RELEASE is -O3 -DNDEBUG CMAKE_CXX_FLAGS is -std=c++11 -fPIC -march=native -mfpmath=sse -ggdb -fopenmp -std=c++11 -fPIC -march=native -mfpmath=sse -ggdb -fopenmp CMAKE_CXX_FLAGS_DEBUG is -g -O0 -O0 CMAKE_CXX_FLAGS_RELEASE is -O3 -DNDEBUG CMake Warning (dev) at zlib/CMakeLists.txt:59 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /home/huawei/xb/Du_Qing/MIXER/boost_1_69_0 (found version "1.69.0") found components: program_options filesystem system date_time -- Boost_LIBRARIES: /home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_program_options.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_filesystem.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_system.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_date_time.so CMAKE_C_FLAGS is -fPIC -march=native -mfpmath=sse -ggdb -fopenmp CMAKE_C_FLAGS_DEBUG is -g -O0 CMAKE_C_FLAGS_RELEASE is -O3 -DNDEBUG CMAKE_CXX_FLAGS is -std=c++11 -fPIC -march=native -mfpmath=sse -ggdb -fopenmp CMAKE_CXX_FLAGS_DEBUG is -g -O0 CMAKE_CXX_FLAGS_RELEASE is -O3 -DNDEBUG CMake Warning (dev) at CMakeLists.txt:59 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Boost_LIBRARIES: /home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_program_options.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_filesystem.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_system.so;/home/huawei/xb/Du_Qing/MIXER/boost_1_69_0/stage/lib/libboost_date_time.so CMake Error at CMakeLists.txt:100 (add_library): add_library cannot create target "bgmg-static" because another target with the same name already exists. The existing target is a static library created in source directory "/home/huawei/xb/Du_Qing/MIXER/mixer/src/zlib". See documentation for policy CMP0002 for more details.
CMake Error at CMakeLists.txt:109 (add_library): add_library cannot create target "bgmg" because another target with the same name already exists. The existing target is a shared library created in source directory "/home/huawei/xb/Du_Qing/MIXER/mixer/src/zlib". See documentation for policy CMP0002 for more details.
CMake Error at CMakeLists.txt:110 (target_link_libraries): Attempt to add link library "bgmg-static" to target "bgmg" which is not built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
CMake Error at CMakeLists.txt:125 (add_executable): add_executable cannot create target "bgmg-test" because another target with the same name already exists. The existing target is an executable created in source directory "/home/huawei/xb/Du_Qing/MIXER/mixer/src/zlib". See documentation for policy CMP0002 for more details.
CMake Error at CMakeLists.txt:126 (target_link_libraries): Attempt to add link library "bgmg-static" to target "bgmg-test" which is not built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
-- Configuring incomplete, errors occurred!