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

PackageName: cmake gui compile error about turning on Teuchos #13812

Open
Yankangzhai opened this issue Feb 14, 2025 · 1 comment
Open

PackageName: cmake gui compile error about turning on Teuchos #13812

Yankangzhai opened this issue Feb 14, 2025 · 1 comment

Comments

@Yankangzhai
Copy link

Yankangzhai commented Feb 14, 2025

Question

Trilinos organization members, please @ mention the correct package team.
If you are not a member, please refer to https://github.com/trilinos/Trilinos/wiki/Trilinos-Package-Owners to mention the correct parties (because non-members cannot mention Github teams).

Image

Processing enabled external package/TPL: ARPREC (enabled by TeuchosCore, disable with -DTPL_ENABLE_ARPREC=OFF)
-- ARPREC_LIBRARY_NAMES='arprec'
-- Must find at least one lib in each of the lib sets "arprec"
-- Searching for libs in ARPREC_LIBRARY_DIRS=''
-- Searching for a lib in the set "arprec":
-- Searching for lib 'arprec' ...
-- ERROR: Did not find a lib in the lib set "arprec" for the TPL 'ARPREC'!
-- ERROR: Could not find the libraries for the TPL 'ARPREC'!
-- TIP: If the TPL 'ARPREC' is on your system then you can set:
-DARPREC_LIBRARY_DIRS=';;...'
to point to the directories where these libraries may be found.
Or, just set:
-DTPL_ARPREC_LIBRARIES=';;...'
to point to the full paths for the libraries which will
bypass any search for libraries and these libraries will be used without
question in the build. (But this will result in a build-time error
if not all of the necessary symbols are found.)
-- ERROR: Failed finding all of the parts of TPL 'ARPREC' (see above), Aborting!

-- NOTE: The find module file for this failed TPL 'ARPREC' is:
D:/projectOpenSource/Trilinos-master/packages/teuchos/cmake/tpls/FindTPLARPREC.cmake
which is pointed to in the file:
D:/projectOpenSource/Trilinos-master/TPLsList.cmake

TIP: One way to get past the configure failure for the
TPL 'ARPREC' is to simply disable it with:
-DTPL_ENABLE_ARPREC=OFF
which will disable it and will recursively disable all of the
downstream packages that have required dependencies on it, including
the package 'TeuchosCore' which triggered its enable.
When you reconfigure, just grep the cmake stdout for 'ARPREC'
and then follow the disables that occur as a result to see what impact
this TPL disable has on the configuration of Trilinos.

CMake Error at cmake/tribits/core/package_arch/TribitsProcessEnabledTpls.cmake:248 (message):
ERROR: TPL_ARPREC_NOT_FOUND=TRUE, aborting!
Call Stack (most recent call first):
cmake/tribits/core/package_arch/TribitsProcessEnabledTpls.cmake:141 (tribits_address_failed_tpl_find)
cmake/tribits/core/package_arch/TribitsProcessEnabledTpls.cmake:75 (tribits_process_enabled_standard_tpl)
cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:169 (tribits_process_enabled_tpls)
cmake/tribits/core/package_arch/TribitsProject.cmake:62 (tribits_project_impl)
CMakeLists.txt:50 (TRIBITS_PROJECT)

Configuring incomplete, errors occurred!

@cgcgcg
Copy link
Contributor

cgcgcg commented Feb 14, 2025

Looks like you enabled a third part library called "ARPREC". Since the library wasn't found on your system, the configuration failed. You most likely do not need that library, so it's safe to turn it off.

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