[Dune] [Dune-fufem] Problem linking parmetis with cmake

Carsten Gräser graeser at mi.fu-berlin.de
Wed Nov 26 15:20:36 CET 2014


Arrr... this should have gone to dune at dune-project.org
instead of dune-fufem-list at ...

@Aleksejs: Please repost your reply to dune at dune-project.org

@dune-fufem-list: Sorry for the noise but thunderbird has
a really annoying bug in its recipient completion for some time.

Am 26.11.2014 um 15:01 schrieb Carsten Gräser:
> The wiki text and example state that you should pass flags and paths
> via CMAKE_FLAGS (in the form form CMAKE_PREFIX_PATH) while you use
> CONFIGURE_FLAGS and --with-foo=foopath. For me this is a major
> difference.
> 
> Carsten
> 
> 
> Am 26.11.2014 um 14:57 schrieb Aleksejs Fomins:
>> Hi Carsten,
>>
>> Thank you for your suggestion. I have tried removing the build-cmake
>> directory and building again, the dependency is still not found, even at
>> configure stage.
>>
>> Please, tell me how to make my opts file to use cmake options directly
>>
>> http://users.dune-project.org/projects/main-wiki/wiki/Using_cmake_to_build_your_DUNE_project#Configuration-and-external-libraries
>>
>> I have read this document, and to the best of my knowledge I have
>> adapted the opts file to what it says. I really don't understand what I
>> need to change about it
>>
>> Regards,
>> Aleksejs
>>
>> On 11/26/2014 02:17 PM, Carsten Gräser wrote:
>>> Hi Aleksejs,
>>> your option file relies on the autotools -> cmake
>>> translation of configure options and you should switch
>>> to passing cmake options directly.
>>>
>>> Besides this your problem may be related to FS#1532.
>>> In order to check this, you can remove your build
>>> directory and try if the dependency is found by
>>> configure afterwards.
>>>
>>> Carsten
>>>
>>> Am 26.11.2014 um 12:11 schrieb Aleksejs Fomins:
>>>> Dear Christoph,
>>>>
>>>> I can not see any major differences between the opts file in my original
>>>> e-mail (af.debian7.lsprag.cmakebuild.minimalistic.opts)
>>>> and the example opts file. Please be more specific
>>>>
>>>> Thanks,
>>>> Aleksejs
>>>>
>>>> On 11/26/2014 11:46 AM, Christoph Grüninger wrote:
>>>>> Aleksejs,
>>>>> you have to adjust your opts file, cf.
>>>>> http://users.dune-project.org/projects/main-wiki/wiki/Using_cmake_to_build_your_DUNE_project#Configuration-and-external-libraries
>>>>>
>>>>> Christoph

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141126/37e8bd19/attachment.sig>


More information about the Dune mailing list