Skip to content

Compilation error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7391
    Wenyuan
    Participant

    Dear community:

    I’m trying to use Openlb in WSL on Win10 computers. When “make” was used, a compilation error occurred:

    cavity2d.d:1: *** multiple target patterns. Stop.

    The versions of gcc and GUN make are as follows:

    gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
    Copyright (C) 2019 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    GNU Make 4.2.1
    Built for x86_64-pc-linux-gnu
    Copyright (C) 1988-2016 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    How to solve this problems please?

    Regards,
    Wenyuan

    #7392
    Adrian
    Keymaster

    Which version of OpenLB do you use? If you updated to the recently released version 1.6: Did it work on the exact same system using 1.5?

    I just reconfirmed with a colleague using WSL on Windows 10 that both 1.5 and 1.6 work without issues in this configuration so I suspect some specific issue with your environment. Can you walk us through the exact steps between unpacking the clean tarball and producing the error?

    #7393
    Wenyuan
    Participant

    Thanks for your reply!

    After the reinstallation of wsl and dependency, the version 1.6 works well now. It seems that there was something wrong with the environment, which can be settled through reinstallation and reboot.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.