[Trilinos-Users] [EXTERNAL] Makefile: Can't find .so files
Bradley, Andrew Michael
ambradl at sandia.gov
Sun Sep 4 16:30:09 EDT 2016
I'm taking a wild guess here. I suspect that for some reason (possibly a bug in the build system?), Trilinos_LIBRARY_DIRS and Trilinos_INCLUDE_DIRS are coming out as having relative, rather than absolute, paths, and these relative paths have nothing to do with your app's location.
As a kludge, try modifying the Makefile like this:
# Add these two extra lines ...
# ... before reaching here.
Here I've assumed MYAPP_TRILINOS_DIR is an installation containing lib/ and include/ directories.
Let us know if this fixes your app's build. Whether or not it does, would you send us the full output of the make command so that we can examine the print_info target's output?
From: Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf of Rush, Simon <simon.rush at ttu.edu>
Sent: Sunday, September 4, 2016 2:03 PM
To: trilinos-users at trilinos.org
Subject: [EXTERNAL] [Trilinos-Users] Makefile: Can't find .so files
I'm a grad student working with Trilinos, and I can't get my Makefile to compile a simple program with a few Anasazi header files included. Attached is my Makefile, which I took from https://trilinos.org/oldsite/Export_Makefile_example.txt. Even though I have clearly included Teuchos as a package, and /my_build/lib, I am getting errors about not being able to find .so files that are located at /my_build/lib. Can anyone tell me what I am doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Trilinos-Users