[Trilinos-Users] Error compiling with CMake

Willenbring, James M jmwille at sandia.gov
Mon Nov 15 09:14:41 MST 2010


Mark,

Please outline exactly what you did to arrive at this error.  The Quickstart is appropriate for building and installing Trilinos.

Jim

From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Nunion
Sent: Sunday, November 14, 2010 11:37 AM
To: trilinos-users at software.sandia.gov
Subject: [Trilinos-Users] Error compiling with CMake


Hello,

I am new to the Trilinos package, and am trying to compile and run some of the ML code located in the /examples/BasicExamples/ directory.  In particular, I am trying to compile with cmake.  However, I am not clear as to how I am to proceed using this.  The Quickstart guide on CMake seems to be tailored for installing the Trilinos package.  In particular, I am getting the error:


INCLUDE Could not find include file: PackageAddExecutableAndTest
...
...
Unknown CMake command "PACKAGE_ADD_EXECUTABLE".

These are present in the CMakeLists.txt file.  Is this file to be edited and a specific file name is to be put in its place, i.e. INCLUDE("package name")?

Thanks in advance,

Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20101115/abbdd90f/attachment.html 


More information about the Trilinos-Users mailing list