[MOAB-dev] MOAB CMake error in Windows 10

Xilu Wang wangxiluwxl at gmail.com
Sat Jan 28 15:34:27 CST 2023


The CMake version I am using is 3.25.1

On Sat, Jan 28, 2023 at 3:08 PM Xilu Wang <wangxiluwxl at gmail.com> wrote:

> Hi Vijay,
>
> Thank you so much for your response. Please find attached the logs and my
> CMake env-variables.
>
> Best,
> Xilu
>
>
>
> On Sat, Jan 28, 2023 at 2:42 PM Vijay S. Mahadevan <vijay.m at gmail.com>
> wrote:
>
>> I do not see any attachments for the logs.
>>
>> > Below is my error message in CMake:
>> >
>> > CMake Error at src/CMakeLists.txt:352 (STRING):
>> STRING sub-command REGEX, mode REPLACE failed to compile regex
>> "^C:/Users/xwang/Dropbox/c++/Divergent3D/build/src/".
>>
>> Can you tell us the CMake version that you are using?
>>
>> Vijay
>>
>> On Sat, Jan 28, 2023, 11:32 Xilu Wang <wangxiluwxl at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I was trying to configure MOAB in Windows 10 via CMake, however, I got
>>> the following error, which is caused by lines 352 and 353 of
>>> src\CMakeLists.txt in the MOAB folder.
>>>
>>> Below is my error message in CMake:
>>>
>>> CMake Error at src/CMakeLists.txt:352 (STRING):
>>> STRING sub-command REGEX, mode REPLACE failed to compile regex
>>> "^C:/Users/xwang/Dropbox/c++/Divergent3D/build/src/".
>>>
>>> CMake Error at src/CMakeLists.txt:353 (string):
>>> string sub-command REGEX, mode MATCH needs at least 5 arguments total to
>>> command.
>>>
>>>
>>> Attached are my CMakeError.log and CMakeOutput.log.
>>>
>>> I downloaded the source code from
>>> https://bitbucket.org/fathomteam/moab/src/master/, which is the latest
>>> version of MOAB.
>>>
>>> Thank you,
>>> Xilu
>>>
>>


More information about the moab-dev mailing list