link error
Jed Brown
jed at 59A2.org
Thu Feb 12 02:34:14 CST 2009
On Wed 2009-02-11 22:35, Satish Balay wrote:
> Don't know cmake.
>
> You'll have to make sure 'all' compiler options used to compile the
> PETSc example are also used in your build system. If you miss
> something - you'll have to go back - and add it in.
>
> So:
>
> - look at the make output of compiling a PETSc example
> - look at the make output from compiling your code.
> - look for whats missing - and add it to your cmake stuff..
Yixun, please have a look at my FindPETSc.cmake module at
http://github.com/jedbrown/cmake-modules
It should do the right thing with both shared and static libs. Let me
know if you have any trouble with it.
Jed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090212/855c9c86/attachment.pgp>
More information about the petsc-users
mailing list